/* =============================================
   First Over the Line Strategies
   Core Stylesheet
   ============================================= */

/* CSS Variables */
:root {
    /* Core Palette */
    --midnight: #0F1115;
    --racing-red: #C43A31;
    --racing-red-dark: #A32E25;
    --racing-red-glow: rgba(196, 58, 49, 0.3);
    --off-white: #F5F6F7;
    
    /* Supporting Neutrals */
    --steel-gray: #2A2E35;
    --slate: #5F6673;
    --slate-light: #8A919C;
    
    /* Functional */
    --text-primary: var(--off-white);
    --text-secondary: var(--slate-light);
    --text-muted: var(--slate);
    --bg-primary: var(--midnight);
    --bg-secondary: var(--steel-gray);
    --accent: var(--racing-red);
    
    /* Typography */
    --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.875rem 1.75rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--racing-red);
    color: var(--off-white);
}

.btn-primary:hover {
    background: var(--racing-red-dark);
    transform: translateX(4px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--slate);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* =============================================
   Navigation
   ============================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    background: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.logo-text {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--off-white);
}

.logo-accent {
    color: var(--racing-red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--racing-red);
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    background: var(--racing-red);
    border-radius: 4px;
    color: var(--off-white) !important;
}

.nav-cta:hover {
    background: var(--racing-red-dark);
}

.nav-cta.active::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--off-white);
    transition: var(--transition-fast);
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--space-2xl)) var(--space-md) var(--space-xl);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-line {
    position: absolute;
    top: 50%;
    left: -100px;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--racing-red), transparent);
    transform: rotate(-5deg);
    opacity: 0.4;
}

.hero-line-2 {
    top: 55%;
    left: 20%;
    width: 40%;
    transform: rotate(-3deg);
    opacity: 0.2;
}

.hero-glow {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--racing-red-glow) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin-bottom: var(--space-md);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--racing-red);
    border: 1px solid var(--racing-red);
    border-radius: 2px;
}

.hero-title {
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.hero-accent {
    color: var(--racing-red);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 560px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    z-index: 1;
}

.hero-logo-graphic {
    width: 500px;
    height: auto;
}

/* =============================================
   Ticker Section
   ============================================= */
.ticker-section {
    background: var(--steel-gray);
    padding: var(--space-md) 0;
    overflow: hidden;
}

.ticker-container {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.ticker-label {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
    padding-left: var(--space-md);
}

.ticker-dot {
    width: 8px;
    height: 8px;
    background: var(--racing-red);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.ticker-track {
    display: flex;
    gap: var(--space-xl);
    animation: ticker 40s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    white-space: nowrap;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.ticker-tag {
    padding: 0.25rem 0.625rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: var(--racing-red);
    color: var(--off-white);
    border-radius: 2px;
}

/* =============================================
   AI News Ticker Section
   ============================================= */
.ai-ticker-section {
    padding: var(--space-lg) var(--space-md);
    display: flex;
    justify-content: center;
}

.ai-ticker-container {
    width: 100%;
    max-width: 900px;
    background: var(--midnight);
    border: 1px solid var(--steel-gray);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 24px rgba(15, 17, 21, 0.25);
}

.ai-ticker-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--racing-red), transparent);
    opacity: 0.9;
}

.ai-ticker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--steel-gray);
    background: linear-gradient(180deg, var(--steel-gray) 0%, var(--midnight) 100%);
}

.ai-ticker-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-ticker-title svg {
    width: 24px;
    height: 24px;
    color: var(--racing-red);
    filter: drop-shadow(0 0 6px rgba(196, 58, 49, 0.4));
}

.ai-ticker-title h2 {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--off-white);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ai-live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--racing-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ai-live-dot {
    width: 8px;
    height: 8px;
    background: var(--racing-red);
    border-radius: 50%;
    animation: aiPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(196, 58, 49, 0.4), 0 0 40px rgba(196, 58, 49, 0.2);
}

@keyframes aiPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
}

.ai-ticker-viewport {
    position: relative;
    height: 72px;
    overflow: hidden;
    background: var(--midnight);
}

.ai-ticker-viewport::before,
.ai-ticker-viewport::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    pointer-events: none;
}

.ai-ticker-viewport::before {
    left: 0;
    background: linear-gradient(90deg, var(--midnight), transparent);
}

.ai-ticker-viewport::after {
    right: 0;
    background: linear-gradient(-90deg, var(--midnight), transparent);
}

.ai-ticker-track {
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    animation: aiScroll 40s linear infinite;
}

.ai-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes aiScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ai-news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 32px;
    height: 100%;
    border-right: 1px solid var(--steel-gray);
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    min-width: max-content;
}

.ai-news-item:hover {
    background: rgba(196, 58, 49, 0.1);
}

.ai-news-source {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--racing-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    background: rgba(196, 58, 49, 0.1);
    border: 1px solid rgba(196, 58, 49, 0.25);
    border-radius: 4px;
    white-space: nowrap;
}

.ai-news-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-news-headline {
    font-size: 14px;
    font-weight: 500;
    color: var(--off-white);
    white-space: nowrap;
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ai-news-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--slate);
    white-space: nowrap;
}

.ai-ticker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-top: 1px solid var(--steel-gray);
    background: var(--steel-gray);
}

.ai-ticker-controls {
    display: flex;
    gap: 8px;
}

.ai-control-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--midnight);
    border: 1px solid var(--slate);
    border-radius: 8px;
    color: var(--slate);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-control-btn:hover {
    border-color: var(--racing-red);
    color: var(--racing-red);
    box-shadow: 0 0 12px rgba(196, 58, 49, 0.2);
}

.ai-control-btn svg {
    width: 16px;
    height: 16px;
}

.ai-powered-by {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--slate);
    letter-spacing: 0.5px;
}

.ai-powered-by span {
    color: var(--racing-red);
}

.ai-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: var(--slate);
    font-size: 13px;
}

.ai-loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--steel-gray);
    border-top-color: var(--racing-red);
    border-radius: 50%;
    animation: aiSpin 1s linear infinite;
    margin-right: 12px;
}

@keyframes aiSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .ai-ticker-section {
        padding: var(--space-md) var(--space-sm);
    }
    
    .ai-ticker-header,
    .ai-ticker-footer {
        padding: 12px 16px;
    }
    
    .ai-news-item {
        padding: 0 20px;
        gap: 12px;
    }
    
    .ai-news-headline {
        max-width: 250px;
    }
}

/* =============================================
   Values Section
   ============================================= */
.values {
    padding: var(--space-2xl) 0;
}

.values-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.values-header .section-subtitle {
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.value-card {
    padding: var(--space-lg);
    background: var(--steel-gray);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: var(--racing-red);
    transform: translateY(-4px);
}

.value-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: var(--midnight);
    border-radius: 8px;
    color: var(--racing-red);
}

.value-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* =============================================
   CTA Section
   ============================================= */
.cta {
    padding: var(--space-2xl) 0;
    background: linear-gradient(180deg, var(--midnight) 0%, var(--steel-gray) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

/* =============================================
   Footer
   ============================================= */
.footer {
    padding: var(--space-xl) 0 var(--space-lg);
    background: var(--steel-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

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

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    gap: var(--space-xl);
}

.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-col a {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--racing-red);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* =============================================
   Page Header (for inner pages)
   ============================================= */
.page-header {
    padding: calc(80px + var(--space-2xl)) var(--space-md) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--steel-gray) 0%, var(--midnight) 100%);
    z-index: -1;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header .lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   Services Grid (What We Do)
   ============================================= */
.services {
    padding: var(--space-2xl) 0;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-block:last-child {
    border-bottom: none;
}

.service-number {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--racing-red);
    margin-bottom: var(--space-xs);
}

.service-block h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.service-tagline {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1rem;
}

.service-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.service-content ul {
    margin-bottom: var(--space-md);
}

.service-content li {
    position: relative;
    padding-left: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.service-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--racing-red);
    border-radius: 1px;
}

.service-meta {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.service-meta-item {
    flex: 1;
}

.service-meta-label {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.service-meta-value {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =============================================
   Bio Section (Who We Are)
   ============================================= */
.bio-section {
    padding: var(--space-2xl) 0;
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: start;
}

.bio-photo {
    position: sticky;
    top: 120px;
}

.bio-photo-placeholder {
    aspect-ratio: 3/4;
    background: var(--steel-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border: 1px dashed var(--slate);
}

.bio-photo img {
    width: 100%;
    border-radius: 8px;
}

.bio-content h2 {
    margin-bottom: var(--space-xs);
}

.bio-title {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--racing-red);
    margin-bottom: var(--space-lg);
}

.bio-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.bio-focus {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bio-focus h3 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.bio-focus ul {
    display: grid;
    gap: var(--space-sm);
}

.bio-focus li {
    position: relative;
    padding-left: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.6;
}

.bio-focus li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background: var(--racing-red);
    border-radius: 1px;
}

.bio-result {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--steel-gray);
    border-left: 3px solid var(--racing-red);
    border-radius: 0 4px 4px 0;
}

.bio-result p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-primary);
}

/* =============================================
   Contact Section
   ============================================= */
.contact-section {
    padding: var(--space-2xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info h2 {
    margin-bottom: var(--space-sm);
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--steel-gray);
    border-radius: 8px;
    transition: all var(--transition-base);
}

.contact-method:hover {
    transform: translateX(8px);
    border-left: 3px solid var(--racing-red);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--midnight);
    border-radius: 8px;
    color: var(--racing-red);
    flex-shrink: 0;
}

.contact-method-content h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-method-content p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.contact-method-content a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-method-content a:hover {
    color: var(--racing-red);
}

.contact-card {
    background: var(--steel-gray);
    border-radius: 8px;
    padding: var(--space-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card h3 {
    margin-bottom: var(--space-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    background: var(--midnight);
    border: 1px solid var(--slate);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--racing-red);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* =============================================
   Responsive Design
   ============================================= */
@media (max-width: 968px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .service-block {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .bio-photo {
        position: static;
        max-width: 300px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--midnight);
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        max-height: 400px;
        opacity: 1;
        padding: var(--space-md);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1000;
    }
    
    .nav-links a.active::after {
        display: none;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links a {
        display: block;
        padding: var(--space-sm);
    }
    
    .nav-cta {
        text-align: center;
    }
    
    .hero {
        min-height: auto;
        padding-top: calc(80px + var(--space-xl));
        padding-bottom: var(--space-xl);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .ticker-label {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .service-meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}
