/* ==========================================================================
   CSS Variables & "Obsidian & Champagne Gold" Theme
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-obsidian: #0A0A0C;
    /* Deepest Charcoal/Black */
    --bg-charcoal: #121215;
    /* Card/Section Background */
    --bg-glass: rgba(18, 18, 21, 0.7);

    --gold-primary: #D4AF37;
    /* Champagne Gold */
    --gold-light: #F3E5AB;
    /* Light Gold */
    --gold-dark: #AA8C2A;
    /* Deep Gold */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #AA8C2A 100%);
    --gold-shimmer: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);

    --text-main: #F8F8F8;
    /* Off White */
    --text-muted: #A0A0A5;
    /* Soft Gray */

    /* Borders & Shadows */
    --border-gold: 1px solid rgba(212, 175, 55, 0.3);
    --border-light: 1px solid rgba(255, 255, 255, 0.05);

    --shadow-gold: 0 10px 30px -10px rgba(212, 175, 55, 0.2);
    --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.8);

    /* Transitions */
    --ease-luxury: cubic-bezier(0.25, 1, 0.5, 1);
    --trans-fast: 0.3s var(--ease-luxury);
    --trans-slow: 0.7s var(--ease-luxury);

    /* Typography */
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

/* ==========================================================================
   Reset, Base Styles & Custom Scrollbar
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-obsidian);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Gold Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--trans-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================================================
   Typography & Buttons
   ========================================================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--gold-light);
}

.title-xl {
    font-size: clamp(3rem, 6vw, 5rem);
    letter-spacing: -1px;
}

.title-lg {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.title-md {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold-primary);
    margin: 1.5rem auto 0;
}

.subtitle {
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-family: var(--font-body);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.desc-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--trans-fast);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.btn-gold {
    background: var(--gold-gradient);
    color: var(--bg-obsidian);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gold-primary);
    border-color: var(--gold-primary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* ==========================================================================
   Header (Strict Consistency - Deep Dark for White Logo)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: all var(--trans-fast);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: var(--border-gold);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: all var(--trans-fast);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:hover::before {
    width: 100%;
}

.btn-nav {
    background: transparent;
    color: var(--gold-primary) !important;
    border: 1px solid var(--gold-primary);
    padding: 0.6rem 1.5rem;
}

.btn-nav::before {
    display: none;
}

.btn-nav:hover {
    background: var(--gold-primary);
    color: var(--bg-obsidian) !important;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-toggle span {
    width: 30px;
    height: 1px;
    background: var(--gold-primary);
    transition: all var(--trans-fast);
}

/* ==========================================================================
   Hero Section (Luxury Dark + 3D Tilt)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    background: var(--bg-obsidian);
    overflow: hidden;
}

/* Background Glow */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: fadeUp 1s var(--ease-luxury) forwards;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    font-style: italic;
    color: var(--gold-primary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* 3D Tilt Element */
.hero-visual {
    perspective: 1200px;
    animation: fadeIn 1.5s ease forwards;
}

.tilt-card {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    background: var(--bg-charcoal);
    border: var(--border-gold);
    border-radius: 4px;
    padding: 3rem;
    box-shadow: var(--shadow-dark);
    transform-style: preserve-3d;
    position: relative;
}

/* Shimmer Effect */
.tilt-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: var(--gold-shimmer);
    transform: skewX(-20deg);
    animation: shimmer 6s infinite;
}

.tilt-inner {
    transform: translateZ(60px);
    text-align: center;
}

.tilt-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.tilt-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tilt-value {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--gold-light);
    line-height: 1;
}

.tilt-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ==========================================================================
   Trusted By / Marquee
   ========================================================================== */
.marquee-section {
    padding: 3rem 0;
    border-top: var(--border-light);
    border-bottom: var(--border-light);
    background: var(--bg-charcoal);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: scrollLogos 25s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-muted);
    margin: 0 4rem;
    font-style: italic;
    transition: color var(--trans-fast);
}

.marquee-item:hover {
    color: var(--gold-primary);
}

/* ==========================================================================
   Stats (Number Counter)
   ========================================================================== */
.stats-section {
    padding: 8rem 0;
    background: var(--bg-obsidian);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-box {
    padding: 2rem;
    border-right: var(--border-light);
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-size: 4rem;
    font-family: var(--font-heading);
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Elite Capabilities (Services)
   ========================================================================== */
.services-section {
    padding: 8rem 0;
    background: var(--bg-charcoal);
}

.srv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.srv-card {
    background: var(--bg-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.5rem 2.5rem;
    position: relative;
    transition: all var(--trans-slow);
}

.srv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gold-primary);
    transition: height var(--trans-slow);
    z-index: 0;
    opacity: 0.05;
}

.srv-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-10px);
}

.srv-card:hover::before {
    height: 100%;
}

.srv-content {
    position: relative;
    z-index: 1;
}

.srv-icon {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
}

.srv-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.srv-text {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.srv-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.srv-link::after {
    content: '→';
    transition: transform var(--trans-fast);
}

.srv-card:hover .srv-link::after {
    transform: translateX(5px);
}

/* ==========================================================================
   Methodology / Process Timeline
   ========================================================================== */
.process-section {
    padding: 8rem 0;
    background: var(--bg-obsidian);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--border-light);
}

.tl-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.tl-item:nth-child(even) {
    flex-direction: row-reverse;
}

.tl-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--bg-obsidian);
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.tl-content {
    width: 45%;
    background: var(--bg-charcoal);
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--trans-fast);
}

.tl-content:hover {
    border-color: var(--gold-primary);
}

.tl-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.tl-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tl-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Industry Focus (Elegant Tabs)
   ========================================================================== */
.industry-section {
    padding: 8rem 0;
    background: var(--bg-charcoal);
    border-top: var(--border-light);
}

.ind-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.ind-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    cursor: pointer;
    padding-bottom: 0.5rem;
    position: relative;
    transition: all var(--trans-fast);
}

.ind-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width var(--trans-fast);
}

.ind-btn.active {
    color: var(--gold-light);
}

.ind-btn.active::after {
    width: 100%;
}

.ind-content {
    display: none;
    animation: fadeIn 0.8s ease;
}

.ind-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ind-text h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.ind-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.ind-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
}

.ind-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
}

.ind-image {
    height: 400px;
    background: var(--bg-obsidian);
    border: var(--border-gold);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ind-image::after {
    content: 'Exclusive Sector Data';
    color: var(--gold-primary);
    font-family: var(--font-body);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ==========================================================================
   Bespoke ROI Calculator
   ========================================================================== */
.calc-section {
    padding: 8rem 0;
    background: var(--bg-obsidian);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    border: var(--border-gold);
    background: var(--bg-charcoal);
}

.calc-inputs {
    padding: 4rem;
}

.calc-outputs {
    padding: 4rem;
    background: rgba(212, 175, 55, 0.03);
    border-left: var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.range-group {
    margin-bottom: 3rem;
}

.range-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

.range-val {
    color: var(--gold-primary);
    font-weight: bold;
    font-size: 1.1rem;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    transition: transform 0.2s;
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.res-item {
    margin-bottom: 3rem;
}

.res-item:last-child {
    margin-bottom: 0;
}

.res-lbl {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.res-num {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-main);
    line-height: 1;
}

.res-highlight {
    color: var(--gold-primary);
}

/* ==========================================================================
   Performance Reports (CSS Bar Chart)
   ========================================================================== */
.reports-section {
    padding: 8rem 0;
    background: var(--bg-charcoal);
    border-top: var(--border-light);
}

.report-frame {
    background: var(--bg-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
}

.report-header-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    border-bottom: var(--border-light);
    padding-bottom: 2rem;
}

.chart-bars {
    height: 350px;
    display: flex;
    align-items: flex-end;
    gap: 2%;
    position: relative;
}

.chart-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
    position: relative;
    transition: height 1.5s var(--ease-luxury);
    height: 0;
    /* JS handles this */
}

.chart-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold-gradient);
    opacity: 0.8;
    transition: opacity var(--trans-fast);
}

.chart-bar:hover .chart-bar-fill {
    opacity: 1;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.chart-bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-val {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.chart-bar:hover .chart-val {
    opacity: 1;
}

/* ==========================================================================
   Testimonials (Minimalist Elegance)
   ========================================================================== */
.test-section {
    padding: 8rem 0;
    background: var(--bg-obsidian);
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.test-card {
    padding: 3rem;
    background: var(--bg-charcoal);
    border-top: 2px solid var(--gold-primary);
}

.test-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-main);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.test-client {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.client-line {
    width: 40px;
    height: 1px;
    background: var(--gold-primary);
}

.client-info h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta-section {
    padding: 10rem 0;
    background: var(--bg-charcoal);
    text-align: center;
    border-top: var(--border-light);
    border-bottom: var(--border-gold);
}

.cta-section h2 {
    margin-bottom: 2rem;
}

/* ==========================================================================
   Luxury Chat Widget
   ========================================================================== */
.chat-widget {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
}

.chat-btn {
    width: 60px;
    height: 60px;
    background: var(--bg-obsidian);
    border: var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
    cursor: pointer;
    box-shadow: var(--shadow-dark);
    transition: all var(--trans-fast);
}

.chat-btn:hover {
    background: var(--gold-primary);
    color: var(--bg-obsidian);
    transform: scale(1.1);
}

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--bg-charcoal);
    border: var(--border-gold);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--trans-fast);
    box-shadow: var(--shadow-dark);
}

.chat-box.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-head {
    padding: 1.5rem;
    background: var(--bg-obsidian);
    border-bottom: var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--gold-primary);
}

.chat-close {
    cursor: pointer;
    color: var(--text-muted);
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-msg {
    max-width: 85%;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 2px;
}

.msg-bot {
    background: var(--bg-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.05);
    align-self: flex-start;
}

.msg-usr {
    background: var(--gold-primary);
    color: var(--bg-obsidian);
    align-self: flex-end;
}

.chat-foot {
    padding: 1rem;
    background: var(--bg-obsidian);
    border-top: var(--border-light);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: var(--font-body);
}

.chat-send {
    background: none;
    border: none;
    color: var(--gold-primary);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 0.8rem;
}

/* ==========================================================================
   Footer (Strictly Consistent - Deep Dark for White Logo)
   ========================================================================== */
.site-footer {
    background: var(--bg-obsidian);
    padding: 6rem 0 2rem;
}

.ft-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.ft-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.ft-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 1rem;
}

.soc-icon {
    width: 40px;
    height: 40px;
    border: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--trans-fast);
    border-radius: 2px;
}

.soc-icon:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.ft-title {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--gold-primary);
    margin-bottom: 2rem;
}

.ft-links li {
    margin-bottom: 1rem;
}

.ft-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color var(--trans-fast);
}

.ft-links a:hover {
    color: var(--gold-primary);
}

.ft-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.ft-contact span {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.ft-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Legal & Contact Pages
   ========================================================================== */
.page-hero {
    padding: 180px 0 80px;
    background: var(--bg-obsidian);
    text-align: center;
    border-bottom: var(--border-light);
}

.page-content {
    padding: 6rem 0;
    background: var(--bg-charcoal);
}

.doc-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-obsidian);
    padding: 5rem;
    border: var(--border-gold);
    box-shadow: var(--shadow-dark);
}

.doc-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin: 3rem 0 1.5rem;
}

.doc-wrapper p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.doc-wrapper ul {
    list-style: disc;
    margin-left: 2rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Split Contact Layout */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-block {
    background: var(--bg-obsidian);
    padding: 4rem;
    border: var(--border-light);
}

.contact-info-block h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.contact-info-block p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 2.5rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border: var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.info-text h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-main);
    margin: 0;
    font-size: 1.1rem;
}

.form-wrapper {
    background: var(--bg-obsidian);
    padding: 4rem;
    border: var(--border-gold);
    box-shadow: var(--shadow-dark);
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-grp {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-grp label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.form-ctrl {
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1.1rem;
    outline: none;
    transition: border-color var(--trans-fast);
}

.form-ctrl:focus {
    border-bottom-color: var(--gold-primary);
}

textarea.form-ctrl {
    resize: vertical;
    min-height: 100px;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes shimmer {
    0% {
        transform: skewX(-20deg) translateX(-150%);
    }

    50% {
        transform: skewX(-20deg) translateX(150%);
    }

    100% {
        transform: skewX(-20deg) translateX(150%);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--ease-luxury);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {

    .hero-wrapper,
    .calc-grid,
    .ind-content.active,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual {
        padding: 3rem 0;
    }

    .timeline::before {
        left: 0;
    }

    .tl-item,
    .tl-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 3rem;
    }

    .tl-marker {
        left: 0;
        transform: translateX(-50%);
    }

    .tl-content {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .stat-box {
        border-bottom: var(--border-light);
    }

    .stat-box:nth-child(even) {
        border-right: none;
    }

    .ft-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-obsidian);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: var(--border-gold);
        display: none;
    }

    .nav-list.open {
        display: flex;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .ft-grid {
        grid-template-columns: 1fr;
    }

    .doc-wrapper,
    .contact-info-block,
    .form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        border-right: none;
    }

    .title-xl {
        font-size: 2.5rem;
    }

    .chat-box {
        width: calc(100vw - 40px);
        right: -20px;
    }
}