/* ==========================================================================
   Vita Capital - Luxury Dark Style System (Vanilla CSS)
   Aesthetic: Obsidian Black, Satin Gold, Cormorant Serif, Gold Glow Accents
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette (Obsidian & Satin Gold) */
    --color-bg-dark: #070707;
    --color-bg-charcoal: #0E0E0E;
    --color-bg-card: #141414;
    --color-bg-input: #111111;
    
    /* Ivory Light Alternation (Elegant warm off-white, matches gold tones) */
    --color-bg-light: #FBFBFA;
    --color-bg-light-alt: #F4F4F2;
    
    /* Luxury Satin Gold Tones */
    --color-gold: #D4B26F;
    --color-gold-hover: #E9D29F;
    --color-gold-light: rgba(212, 178, 111, 0.12);
    --color-gold-ultra-light: rgba(212, 178, 111, 0.03);
    
    /* Text Colors */
    --color-text-light: #F5F5F5;
    --color-text-muted: #A0A0A0;
    --color-text-dark: #070707;
    --color-text-muted-dark: #555555;
    
    /* Borders */
    --color-border-gold: rgba(212, 178, 111, 0.15);
    --color-border-gold-light: rgba(212, 178, 111, 0.08);
    --color-border-dark: rgba(255, 255, 255, 0.05);

    /* Fonts */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Document Reset & Base Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-dark);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-text-light);
    overflow-x: hidden;
    background-color: var(--color-bg-dark);
    -webkit-font-smoothing: antialiased;
}

/* --- Luxury Cursor Follower --- */
.cursor-follower {
    width: 24px;
    height: 24px;
    border: 1.5px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
                opacity 0.3s ease;
    opacity: 0;
}

/* Disable cursor follower on touch devices */
@media (max-width: 1024px) {
    .cursor-follower {
        display: none !important;
    }
}

/* --- Scroll Progress Bar --- */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(7, 7, 7, 0.4);
    z-index: 1000;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background-color: var(--color-gold);
    transition: width 0.05s ease-out;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.25;
    color: var(--color-text-light);
}

p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout Utility Classes --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-light { color: var(--color-text-light); }
.text-muted-light { color: var(--color-text-muted); }

.accent-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 24px;
}

.accent-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 14px;
    height: 1px;
    background-color: var(--color-gold);
}

.section-title {
    font-size: 2.85rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-weight: 300;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 1.5rem;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-text-muted);
}

/* Section Dividers that draw themselves on scroll */
.divider-line {
    width: 0%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    margin: 0 auto 3.5rem;
    transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-on-scroll.active .divider-line {
    width: 100px;
}

/* --- Luxury Ambient Glow Lights --- */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 178, 111, 0.04) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(80px);
    z-index: 1;
}

.glow-1 { top: -10%; left: -10%; }
.glow-2 { bottom: 10%; right: -10%; }
.glow-3 { top: 15%; left: 50%; transform: translateX(-50%); }
.glow-4 { bottom: -10%; right: 20%; }

/* --- Decorative Gold Blueprint Grid Overlay --- */
.blueprint-grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(212, 178, 111, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 178, 111, 0.03) 1px, transparent 1px);
    pointer-events: none;
    z-index: 1;
}

.blueprint-grid-overlay-light {
    position: absolute;
    inset: 0;
    background-size: 60px 60px;
    background-image: 
        linear-gradient(to right, rgba(212, 178, 111, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(212, 178, 111, 0.02) 1px, transparent 1px);
    pointer-events: none;
    z-index: 0;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(7, 7, 7, 0.85);
    border-bottom: 1px solid var(--color-border-gold);
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    padding: 0;
    background-color: rgba(7, 7, 7, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.site-header.scrolled .header-container {
    height: 80px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}

.logo a {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.45em;
    color: var(--color-gold);
    padding-left: 2px;
}

/* Nav Menu */
.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2.75rem;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Premium Buttons with sliding background scale fill */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.25rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
    font-family: var(--font-body);
    transition: color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--color-gold);
    background: transparent;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--btn-hover-bg, var(--color-gold));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Luxury Primary Button: Solid Gold -> Dark background */
.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    --btn-hover-bg: #070707;
}

.btn-primary:hover {
    color: var(--color-gold);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

/* Luxury Secondary Button: Transparent Gold -> Gold Background */
.btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border-color: rgba(212, 178, 111, 0.4);
    --btn-hover-bg: var(--color-gold);
    gap: 0.6rem;
}

.btn-secondary:hover {
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
    transform: translateY(-2px);
}

.btn-secondary .arrow-icon {
    transition: transform var(--transition-fast);
}

.btn-secondary:hover .arrow-icon {
    transform: translateX(4px);
}

/* Nav specific button */
.btn-nav {
    padding: 0.7rem 1.5rem;
    font-size: 0.75rem;
    border-color: var(--color-gold);
    color: var(--color-gold);
    --btn-hover-bg: var(--color-gold);
}

.btn-nav:hover {
    color: var(--color-bg-dark);
}

.btn-block {
    width: 100%;
}

/* Mobile Toggle Hamburger */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    position: relative;
    transition: var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-fast);
}

.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* --- Section 1: Hero (DARK BACKGROUND) --- */
.hero-section {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--color-bg-dark);
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* Fine architectural layout lines (satin gold) */
.architectural-line {
    position: absolute;
    background: rgba(212, 178, 111, 0.08);
    pointer-events: none;
}

.line-1 {
    top: 20%;
    left: 0;
    width: 100%;
    height: 1px;
}

.line-2 {
    top: 0;
    left: 45%;
    width: 1px;
    height: 100%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 620px;
}

.category-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--color-border-gold);
    padding-bottom: 0.5rem;
}

.hero-title {
    font-size: 4.25rem;
    font-weight: 300;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero-title span {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.75rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Blueprint Frame & Image */
.hero-visual {
    display: flex;
    justify-content: center;
}

/* Floating animation for architectural sketches */
@keyframes floatAnim {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.blueprint-frame {
    position: relative;
    border: 1px solid var(--color-border-gold);
    padding: 1.75rem;
    background-color: var(--color-bg-charcoal);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    animation: floatAnim 6s ease-in-out infinite;
}

/* Magic CSS Filter: Inverts white paper to dark, turns black lines to gold lines */
.blueprint-img {
    width: 100%;
    height: auto;
    filter: invert(0.93) sepia(0.55) saturate(1.8) hue-rotate(15deg) brightness(0.9) contrast(1.15);
    border: 1px solid rgba(212, 178, 111, 0.1);
    transition: filter 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.9;
}

.blueprint-frame:hover .blueprint-img {
    filter: invert(0.93) sepia(0.65) saturate(2.4) hue-rotate(15deg) brightness(1.05) contrast(1.2);
    opacity: 1;
}

.blueprint-annotation {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--color-gold);
    margin-top: 1.25rem;
    letter-spacing: 0.18em;
}

/* Crop Marks for Frame */
.frame-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 1px solid var(--color-gold);
}
.corner-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.corner-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }


/* ==========================================
   ALTERNATING LIGHT THEME DEVIATIONS
   ========================================== */
.theme-light {
    background-color: var(--color-bg-light) !important;
    color: var(--color-text-dark) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.theme-light h2,
.theme-light h3,
.theme-light h4 {
    color: var(--color-text-dark) !important;
}

.theme-light p {
    color: var(--color-text-muted-dark) !important;
}

/* Section 2: Light Visión Styling */
.theme-light.vision-section::before {
    background: rgba(0, 0, 0, 0.08) !important;
}

.theme-light .lead-text {
    color: var(--color-text-dark) !important;
}

.theme-light .pillar-num {
    color: var(--color-gold) !important;
}

.theme-light .pillar-title {
    color: var(--color-text-dark) !important;
}

.theme-light .pillar-desc {
    color: var(--color-text-muted-dark) !important;
}

/* Light Vision Mission Box layout */
.theme-light .mission-box {
    border-left: 2px solid var(--color-gold) !important;
    background-color: rgba(212, 178, 111, 0.03) !important;
    border-right: 1px solid rgba(212, 178, 111, 0.1) !important;
    border-top: 1px solid rgba(212, 178, 111, 0.1) !important;
    border-bottom: 1px solid rgba(212, 178, 111, 0.1) !important;
}

.theme-light .mission-box::before {
    background: linear-gradient(90deg, rgba(212, 178, 111, 0.05), transparent) !important;
}

.theme-light .mission-text {
    color: var(--color-text-dark) !important;
}

/* Philosophy block inside Vision */
.philosophy-block {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    clear: both;
}

.philosophy-title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-dark);
}

.philosophy-text {
    font-size: 0.95rem;
    color: var(--color-text-muted-dark);
    line-height: 1.75;
}

/* Light Vehicle Section styling */
.theme-light .vehicle-card {
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.theme-light .vehicle-card:hover {
    background-color: white !important;
    border-top-color: var(--color-gold) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03) !important;
}

.theme-light .vehicle-icon-wrapper {
    color: var(--color-gold) !important;
}

.theme-light .vehicle-title {
    color: var(--color-text-dark) !important;
}

.theme-light .vehicle-text {
    color: var(--color-text-muted-dark) !important;
}


/* --- Shared Sections Padding --- */
.vision-section,
.verticals-section,
.vehicle-section,
.process-section {
    padding: 100px 0;
    position: relative;
}

/* --- Section 2.5: Compromiso Institucional (Dark Strip) --- */
.metrics-section {
    background-color: var(--color-bg-charcoal);
    padding: 55px 0;
    border-top: 1px solid var(--color-border-gold);
    border-bottom: 1px solid var(--color-border-gold);
    position: relative;
    z-index: 10;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0.5rem;
}

.metric-header-title {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 400;
    color: var(--color-gold);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.metric-label {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* --- Section 3: Verticales de Desarrollo (DARK BACKGROUND) --- */
.verticals-section {
    background-color: var(--color-bg-dark);
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
}

.vertical-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-gold);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 178, 111, 0.03);
    border-color: var(--color-gold);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: var(--color-bg-dark);
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--color-border-gold);
}

/* Magic CSS Filter for Card images */
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: invert(0.93) sepia(0.55) saturate(1.8) hue-rotate(15deg) brightness(0.9) contrast(1.15);
    transition: var(--transition-smooth);
}

.vertical-card:hover .card-img {
    filter: invert(0.93) sepia(0.65) saturate(2.4) hue-rotate(15deg) brightness(1.05) contrast(1.2);
    transform: scale(1.04);
}

.card-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 0.35rem 0.85rem;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.card-body {
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.card-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}


/* --- Section 4: El Vehículo --- */
.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 10;
}

.vehicle-card {
    background: transparent;
    padding: 2.5rem 2rem;
    border-top: 1px solid var(--color-border-gold);
    transition: var(--transition-smooth);
}

.vehicle-card:hover {
    background-color: var(--color-bg-card);
    border-top-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.vehicle-icon-wrapper {
    color: var(--color-gold);
    margin-bottom: 1.75rem;
    transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-icon-wrapper {
    transform: scale(1.08) translateY(-2px);
}

.vehicle-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.vehicle-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}


/* --- Section 4.5: Nuestro Proceso (DARK BACKGROUND) --- */
.process-section {
    background-color: var(--color-bg-dark);
}

.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    max-width: 850px;
    margin: 0 auto;
    position: relative;
}

/* Vertical timeline trace line */
.process-timeline::before {
    content: '';
    position: absolute;
    width: 1px;
    height: calc(100% - 60px);
    left: 30px;
    top: 30px;
    background-color: var(--color-border-gold);
    opacity: 0.6;
}

.process-step {
    display: flex;
    gap: 2.5rem;
    position: relative;
    align-items: flex-start;
}

.step-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-bg-charcoal);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    flex-shrink: 0;
    z-index: 10;
    transition: var(--transition-smooth);
}

.process-step:hover .step-badge {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    transform: scale(1.08);
    box-shadow: 0 0 25px rgba(212, 178, 111, 0.35);
}

.step-info {
    flex-grow: 1;
    padding-top: 0.75rem;
}

.step-title {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.process-step:hover .step-title {
    color: var(--color-gold);
}

.step-text {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}


/* --- Section 5: Call to Action (DARK BACKGROUND) --- */
.cta-section {
    background-color: var(--color-bg-dark);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}

.cta-content-centered {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-content-centered .accent-subtitle {
    display: inline-block;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.cta-content-centered .accent-subtitle::before {
    display: none;
}

.cta-content-centered .section-title {
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin: 0 auto 1.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.cta-subtext {
    font-size: 0.95rem;
    color: #888;
    margin: 0 auto 3rem;
    max-width: 650px;
    line-height: 1.7;
}

.contact-direct {
    border-top: 1px solid var(--color-border-gold);
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.direct-label {
    display: block;
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
}

.direct-link {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--color-gold);
    font-weight: 400;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.direct-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: var(--transition-fast);
}

.direct-link:hover::after {
    width: 100%;
}

.cta-action-wrap {
    margin-top: 0.5rem;
}

.cta-action-wrap .btn-primary {
    padding: 1.15rem 2.75rem;
    font-size: 0.85rem;
}


/* --- Footer Section --- */
.site-footer {
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--color-border-gold);
    padding: 70px 0 40px;
    color: var(--color-text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    row-gap: 3.5rem;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.footer-address {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 178, 111, 0.12);
}

.address-text {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

.phone-text {
    font-size: 0.85rem;
    color: #999;
}

.phone-link {
    color: var(--color-gold);
    font-weight: 500;
    transition: var(--transition-fast);
}

.phone-link:hover {
    color: var(--color-gold-hover);
    text-decoration: underline;
}

.footer-links {
    display: flex;
    gap: 2.25rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.footer-links a:hover {
    color: var(--color-gold);
}

.footer-legal {
    grid-column: 1 / span 2;
    border-top: 1px solid rgba(212, 178, 111, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-text {
    font-size: 0.75rem;
    color: #555;
}

.legal-text strong {
    color: var(--color-text-muted);
}

.legal-links {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #333;
}

.legal-link:hover {
    color: var(--color-text-muted);
}


/* --- CSS Animations System --- */

/* Slide In animations for Hero columns */
.slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    animation: slideInLeftAnim 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    animation: slideInRightAnim 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes slideInLeftAnim {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRightAnim {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Page Load Animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpAnim 1.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1s cubic-bezier(0.25, 0.8, 0.25, 1), 
                transform 1s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay modifiers for scroll revealing */
.reveal-on-scroll.delay-1 {
    transition-delay: 0.2s;
}

.reveal-on-scroll.delay-2 {
    transition-delay: 0.4s;
}

.reveal-on-scroll.delay-3 {
    transition-delay: 0.6s;
}


/* ==========================================================================
   Responsive Breakpoints & Mobile Spacing
   ========================================================================== */

/* Large screens down to tablets */
@media (max-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3.25rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .blueprint-frame {
        max-width: 460px;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .vision-section::before {
        display: none;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .verticals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .verticals-grid article:last-child {
        grid-column: 1 / span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .vehicle-grid div:last-child {
        grid-column: 1 / span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    .step-badge {
        width: 50px;
        height: 50px;
        font-size: 0.7rem;
    }
    .process-step {
        gap: 1.5rem;
    }
    
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Tablet to mobile devices */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .site-header {
        padding: 0;
    }
    
    .menu-toggle {
        display: block;
        z-index: 102;
    }
    
    /* Hamburger Menu Toggle animation states */
    .menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg);
        top: 0;
    }

    /* Mobile Navigation Drawer */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg-dark);
        z-index: 101;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-left: 1px solid var(--color-border-gold);
    }
    
    .main-navigation.open {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        width: 100%;
        padding: 2rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .btn-nav {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    /* Tightened spacing values for all mobile sections */
    .vision-section,
    .verticals-section,
    .vehicle-section,
    .process-section,
    .cta-section {
        padding: 70px 0 !important; /* Reduced vertical padding to keep scrolls responsive */
    }

    .metrics-section {
        padding: 40px 0 !important; /* Reduced metrics strip height on mobile */
    }

    .divider-line {
        margin: 0 auto 2.5rem !important; /* Tighter spacing below headings on mobile */
    }

    .hero-section {
        padding: 130px 0 60px !important; /* Reduced top/bottom padding to clear header */
        min-height: auto !important; /* Disable screen stretching on mobile viewports */
    }

    .site-footer {
        padding: 50px 0 30px !important; /* Compact footer padding */
    }

    .lead-text {
        font-size: 1.45rem;
    }

    .philosophy-block {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 2rem !important; /* Restructured counters stack */
    }

    .metric-val {
        font-size: 3rem;
    }

    .vision-pillars {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .verticals-grid {
        grid-template-columns: 1fr;
    }
    
    .verticals-grid article:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-grid div:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .process-timeline::before {
        display: none;
    }
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    .step-badge {
        margin: 0 auto;
    }
    .step-info {
        padding-top: 0;
    }
    
    .cta-form-container {
        padding: 3rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }
    
    .footer-links {
        justify-content: flex-start;
        flex-direction: column;
        gap: 1.25rem;
    }
    
    .footer-legal {
        flex-direction: column;
        align-items: flex-start;
    }
}
