/* ==========================================================================
   TIMVEST TAMI INDUSTRIAL PAGE CSS (TAMI.css)
   ========================================================================== */

:root {
    /* Global Brand Palette */
    --brand-red: #c8102e;
    --brand-red-hover: #a00c23;
    --brand-pill: #c8102e;
    --accent-gold: #c8a362;
    --text-white: #ffffff;
    --text-black: #000000;
    --text-muted: rgba(255, 255, 255, 0.78);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    /* Header Navigation Variables */
    --header-bg: transparent;
    --nav-text: #ffffff;
    --nav-hover: #c8a362;
    --pill-text: #ffffff;

    /* Global Typography */
    --font-heading: 'Cinzel', 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* TAMI Theme Sections */
    --dashboard-sec-bg: #0d0d0d;        
    --dashboard-card-bg: #141414;       
    --dashboard-card-border: rgba(255, 255, 255, 0.08);
    --dashboard-card-alt: #1a1a1a;
    --footer-bg: #050505;
    --input-bg: #1a1a1a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--dashboard-sec-bg);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.text-center { text-align: center; }
.margin-bottom-4rem { margin-bottom: 4rem; }
.max-700 { max-width: 700px; margin-left: auto; margin-right: auto; }
.max-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* Structural Layouts */
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.cards-grid-3x2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

/* Typography */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 500;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.body-text { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }

/* Navigation Bar & Hero Wrapper */
.hero-wrapper {
    position: relative;
    min-height: 80vh;
   background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%), 
                        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.75rem 0;
    background: var(--header-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; }
.logo-slot { display: flex; align-items: center; text-decoration: none; }
.logo-slot img { height: 70px; width: auto; object-fit: contain; display: block; }
.nav-list { display: flex; align-items: center; gap: 2.25rem; list-style: none; }
.nav-link { color: var(--nav-text); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.nav-link.active, .nav-link:hover { color: var(--nav-hover); }

.header-actions { display: flex; align-items: center; }
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-pill);
    color: var(--pill-text);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-height: 44px;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200, 16, 46, 0.3); }

.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background-color: var(--nav-text); margin: 5px 0; }

/* Hero Section */
.tami-hero { padding: 11rem 0 6rem 0; }
.hero-headline { font-family: var(--font-heading); font-size: 3.25rem; line-height: 1.15; margin-bottom: 1.5rem; }
.hero-headline .highlight { color: var(--accent-gold); }
.hero-intro { font-size: 1.25rem; color: var(--text-muted); max-width: 880px; margin-bottom: 2.5rem; line-height: 1.7; }

.hero-actions { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.btn-primary { background: var(--brand-pill); color: var(--text-white); padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; display: inline-block; transition: all 0.25s ease; }
.btn-primary:hover { background-color: var(--brand-red-hover); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-white); border: 1px solid rgba(255, 255, 255, 0.3); padding: 0.85rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: all 0.25s ease; }
.btn-secondary:hover { border-color: var(--accent-gold); color: var(--accent-gold); transform: translateY(-2px); }
.btn-secondary.compact { padding: 0.6rem 1.25rem; font-size: 0.85rem; }
.btn-tertiary { color: var(--accent-gold); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.85rem 1rem; transition: color 0.2s ease; }
.btn-tertiary:hover { color: var(--text-white); text-decoration: underline; }

/* Sections & Cards */
.problem-section { padding: 6rem 0; border-bottom: 1px solid var(--border-subtle); }
.highlight-quote { border-left: 3px solid var(--accent-gold); padding-left: 1.5rem; font-size: 1.2rem; font-style: italic; color: var(--accent-gold); margin-top: 1.5rem; }
.problem-list-card { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 2.5rem; border-radius: 6px; }
.problem-list-card h3 { font-family: var(--font-heading); margin-bottom: 1.5rem; color: var(--accent-gold); }
.styled-bullet-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.styled-bullet-list li { border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.75rem; font-size: 0.95rem; }

.what-tami-does { padding: 6rem 0; background: var(--dashboard-card-alt); border-bottom: 1px solid var(--border-subtle); }
.tami-card { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 2.5rem 2rem; border-radius: 6px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.3s ease, border-color 0.3s ease; }
.tami-card:hover { transform: translateY(-4px); border-color: var(--accent-gold); }
.card-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--accent-gold); opacity: 0.6; margin-bottom: 0.5rem; }
.tami-card h3 { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 1rem; }
.tami-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.card-tag { font-size: 0.75rem; color: var(--accent-gold); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.card-quote { font-style: italic; font-size: 0.85rem; color: var(--accent-gold); border-top: 1px solid var(--border-subtle); padding-top: 1rem; }

.operating-model { padding: 6rem 0; border-bottom: 1px solid var(--border-subtle); }
.horizontal-process { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 4rem; overflow-x: auto; padding-bottom: 1rem; }
.process-step { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 1.75rem 1.25rem; border-radius: 6px; text-align: center; min-width: 180px; flex: 1; }
.step-num { font-size: 0.8rem; font-weight: 700; color: var(--brand-red); display: block; margin-bottom: 0.5rem; }
.process-step h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--accent-gold); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.8rem; color: var(--text-muted); }
.process-arrow { font-size: 1.5rem; color: var(--accent-gold); font-weight: bold; }

.flagship-section { padding: 6rem 0; border-bottom: 1px solid var(--border-subtle); }
.flagship-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
.flagship-card { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 3rem 2.5rem; border-radius: 6px; position: relative; }
.flagship-badge { position: absolute; top: 1.5rem; right: 1.5rem; background: rgba(200,163,98,0.15); color: var(--accent-gold); font-size: 0.75rem; padding: 0.35rem 0.85rem; border-radius: 50px; font-weight: 700; text-transform: uppercase; }
.flagship-card h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 0.5rem; color: var(--text-white); }
.flagship-subtitle { font-size: 0.95rem; color: var(--accent-gold); margin-bottom: 1.5rem; }
.position-quote { font-style: italic; color: var(--accent-gold); margin-bottom: 1.5rem; }
.pathway-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0 2rem 0; }
.pathway-tags span { background: rgba(255,255,255,0.05); border: 1px solid var(--border-subtle); font-size: 0.78rem; padding: 0.3rem 0.75rem; border-radius: 4px; color: var(--text-muted); }

.matrix-section { padding: 6rem 0; background: var(--dashboard-card-alt); border-bottom: 1px solid var(--border-subtle); }
.table-responsive { overflow-x: auto; margin-top: 2rem; }
.matrix-table { width: 100%; border-collapse: collapse; text-align: left; }
.matrix-table th, .matrix-table td { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-subtle); }
.matrix-table th { font-family: var(--font-heading); color: var(--accent-gold); font-size: 1.05rem; background: var(--dashboard-card-bg); }
.matrix-table td { font-size: 0.95rem; color: var(--text-muted); }
.matrix-table td strong { color: var(--text-white); }

.propositions-section { padding: 6rem 0; border-bottom: 1px solid var(--border-subtle); }
.prop-card { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 2.5rem; border-radius: 6px; }
.prop-card h3 { font-family: var(--font-heading); font-size: 1.4rem; color: var(--accent-gold); margin: 0.75rem 0 1rem 0; }
.prop-card p { font-size: 0.95rem; color: var(--text-muted); }

.thesis-section { padding: 6rem 0; border-bottom: 1px solid var(--border-subtle); }
.thesis-card { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 2rem; border-radius: 6px; }
.thesis-card h4 { font-family: var(--font-heading); color: var(--accent-gold); font-size: 1.15rem; margin-bottom: 0.75rem; }
.thesis-card p { font-size: 0.9rem; color: var(--text-muted); }
.model-banner { background: var(--dashboard-card-bg); border: 1px solid var(--border-subtle); padding: 3rem; border-radius: 6px; }
.model-banner h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.5rem; }
.thesis-quote { font-style: italic; color: var(--accent-gold); margin-bottom: 2rem; }
.numbered-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding-left: 1.25rem; }
.numbered-steps li { color: var(--text-muted); font-size: 0.95rem; }
.numbered-steps li strong { color: var(--text-white); }

.closing-banner { padding: 8rem 0; }

/* Site Footer */
.site-footer {
    background-color: var(--footer-bg);
    padding: 5rem 0 3rem 0;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-white);
}

.footer-container { max-width: 1320px; margin: 0 auto; padding: 0 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand-col { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-brand-col .logo-slot img { height: 50px; width: auto; object-fit: contain; }
.footer-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.footer-address { font-size: 1.2rem; line-height: 1.4; font-weight: 500; color: var(--text-white); max-width: 440px; margin-top: 0.25rem; }

.newsletter-box { margin-top: 1rem; max-width: 440px; }
.newsletter-label { display: block; font-size: 0.85rem; color: var(--text-white); margin-bottom: 0.75rem; }
.newsletter-input-wrap { background-color: var(--input-bg); border-radius: 100px; padding: 5px 6px 5px 18px; display: flex; align-items: center; justify-content: space-between; border: 1px solid rgba(255, 255, 255, 0.05); }
.newsletter-input-wrap input { background: transparent; border: none; outline: none; color: var(--text-white); font-size: 0.9rem; width: 100%; }
.newsletter-input-wrap input::placeholder { color: var(--text-muted); }

.btn-newsletter { background-color: var(--text-white); color: #111111; border: none; border-radius: 50px; padding: 0.65rem 1.6rem; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: opacity 0.2s ease; white-space: nowrap; }
.btn-newsletter:hover { opacity: 0.9; }

.newsletter-consent { font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; line-height: 1.5; }
.newsletter-consent a { color: var(--text-white); text-decoration: underline; }

.footer-col h4 { font-size: 0.88rem; font-weight: 500; color: var(--text-muted); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 1.1rem; }
.footer-col a { color: var(--text-white); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--brand-pill); }

.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.copyright-text { font-size: 0.85rem; color: var(--text-muted); }
.compliance-disclaimer { font-size: 0.78rem; color: rgba(255, 255, 255, 0.4); line-height: 1.6; }

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .cards-grid-3x2, .flagship-grid, .numbered-steps { grid-template-columns: 1fr; }
    .grid-2col { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .hero-headline { font-size: 2.25rem; }
    .horizontal-process { flex-direction: column; }
    .process-arrow { transform: rotate(90deg); }
    .footer-top { grid-template-columns: 1fr; }
}