/* ============================================
   RED FOX GROUP — Cybersecurity Consulting
   Style System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --fox-red: #C73E1D;
    --fox-orange: #E25822;
    --fox-glow: #FF6B35;

    /* Neutrals */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-card: #16161F;
    --bg-card-hover: #1C1C28;
    --bg-elevated: #1E1E2A;
    --border-color: #2A2A3A;
    --border-subtle: #1E1E2E;

    /* Text */
    --text-primary: #F0F0F5;
    --text-secondary: #A0A0B8;
    --text-muted: #6B6B80;

    /* Gradient */
    --gradient-brand: linear-gradient(135deg, var(--fox-red), var(--fox-orange), var(--fox-glow));
    --gradient-subtle: linear-gradient(135deg, var(--fox-red), var(--fox-orange));

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-sans: var(--font-primary);
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

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

ul {
    list-style: none;
}

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--fox-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Button System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-subtle);
    color: white;
    box-shadow: 0 4px 20px rgba(199, 62, 29, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(199, 62, 29, 0.5);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--fox-orange);
    color: var(--fox-orange);
    background: rgba(199, 62, 29, 0.05);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

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

.logo-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

.nav-link.nav-cta {
    background: var(--gradient-subtle);
    color: white;
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(199, 62, 29, 0.3);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(199, 62, 29, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(199, 62, 29, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 100%);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--fox-orange), transparent);
    opacity: 0.15;
    animation: scanLine 8s linear infinite;
}

@keyframes scanLine {
    0% { top: 0; }
    100% { top: 100%; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: rgba(199, 62, 29, 0.08);
    border: 1px solid rgba(199, 62, 29, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--fox-orange);
    margin-bottom: 32px;
}

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

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

.hero-title {
    font-size: clamp(3rem, 6.5vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: fit-content;
}

.stat {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    color: var(--fox-orange);
    font-size: 0.6rem;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ============================================
   CREDIBILITY SECTION
   ============================================ */
.credibility {
    padding: 92px 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.credibility-head {
    max-width: 860px;
    margin-bottom: 40px;
}

.credibility-head .section-title,
.credibility-head .section-desc {
    text-align: left;
}

.credibility-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 26px;
}

.cred-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.cred-card:hover {
    border-color: rgba(199, 62, 29, 0.2);
    transform: translateY(-3px);
}

.cred-card h3 {
    font-size: 1.02rem;
    margin-bottom: 10px;
}

.cred-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.proof-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.proof-matrix--three {
    grid-template-columns: repeat(3, 1fr);
}

.proof-block {
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.proof-block h4 {
    font-size: 0.82rem;
    font-family: var(--font-mono);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.proof-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.proof-chip {
    padding: 6px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
}

/* ============================================
   CERTIFICATION / FRAMEWORKS STRIP
   ============================================ */
.cert-strip {
    padding: 40px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cert-strip-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 24px;
}

.cert-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 110px;
    transition: all var(--transition-base);
    cursor: default;
}

.cert-badge:hover {
    border-color: rgba(199, 62, 29, 0.3);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.cert-badge-abbr {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fox-orange);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    text-align: center;
}

.cert-badge-full {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.3;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(199, 62, 29, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(199, 62, 29, 0.08);
    border: 1px solid rgba(199, 62, 29, 0.15);
    border-radius: var(--radius-md);
    color: var(--fox-orange);
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--fox-orange);
    font-size: 0.8rem;
}

/* ============================================
   PARTNERSHIPS SECTION
   ============================================ */
.partnerships {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.partner-card {
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.partner-card:hover {
    border-color: rgba(199, 62, 29, 0.2);
}

.partner-logo-area {
    margin-bottom: 28px;
    height: 48px;
    display: flex;
    align-items: center;
}

.partner-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.partner-logo-fallback {
    display: flex;
    align-items: center;
    height: 100%;
}

.partner-logo-fallback span {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--text-primary);
    opacity: 0.7;
}

.partner-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.partner-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.partner-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.partner-capabilities li {
    padding: 6px 14px;
    background: rgba(199, 62, 29, 0.06);
    border: 1px solid rgba(199, 62, 29, 0.12);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   OUTCOMES SECTION
   ============================================ */
.outcomes {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.outcome-card {
    padding: 34px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.outcome-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(199, 62, 29, 0.22);
    transform: translateY(-3px);
}

.outcome-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.outcome-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
}

.outcome-card ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.outcome-card li {
    font-size: 0.86rem;
    color: var(--text-secondary);
    padding-left: 18px;
    position: relative;
}

.outcome-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--fox-orange);
    font-size: 0.8rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 24px;
    align-items: start;
}

.testimonial-card {
    padding: 44px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card--featured {
    border-color: rgba(199, 62, 29, 0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(199, 62, 29, 0.04) 100%);
}

.testimonial-quote-mark {
    font-size: 4rem;
    line-height: 1;
    color: var(--fox-orange);
    opacity: 0.4;
    font-family: Georgia, serif;
    margin-bottom: 16px;
    display: block;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--text-primary);
    line-height: 1.75;
    font-style: italic;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    font-family: var(--font-mono);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author-info strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.testimonial-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.testimonial-stat-card {
    padding: 22px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.testimonial-stat-card:hover {
    border-color: rgba(199, 62, 29, 0.22);
    transform: translateY(-2px);
}

.tstat-value {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--fox-orange);
    line-height: 1.3;
    margin-bottom: 6px;
}

.tstat-label {
    font-size: 0.74rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ============================================
   APPROACH SECTION
   ============================================ */
.approach {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.approach-step {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--transition-base);
}

.approach-step:hover {
    background: var(--bg-card-hover);
    border-color: rgba(199, 62, 29, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.approach-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.approach-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content .section-tag {
    display: block;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.value {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.value-icon {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--fox-orange);
    background: rgba(199, 62, 29, 0.08);
    border: 1px solid rgba(199, 62, 29, 0.15);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    white-space: nowrap;
}

.value h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.value p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

/* Terminal Window */
.terminal-window {
    background: #0D0D14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: #28C840; }

.terminal-title {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 2;
}

.terminal-line {
    display: flex;
    gap: 10px;
}

.t-prompt {
    color: var(--fox-orange);
}

.t-cmd {
    color: var(--text-primary);
}

.t-output {
    color: var(--text-secondary);
}

.t-success {
    color: #28C840;
}

.t-cursor {
    color: var(--fox-orange);
    animation: blink 1s step-end infinite;
}

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

.t-tag {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.t-crwd {
    color: #E8342A;
}

.t-cf {
    color: #F6821F;
}

.t-info {
    color: #58A6FF;
}

.t-warn {
    color: #E3B341;
}

/* ============================================
   WHO WE SERVE SECTION
   ============================================ */
.who-we-serve {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.serve-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.serve-card {
    padding: 40px 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.serve-card:hover {
    border-color: rgba(199, 62, 29, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.serve-card--featured {
    border-color: rgba(199, 62, 29, 0.3);
    background: var(--bg-card-hover);
    position: relative;
}

.serve-card--featured::before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    background: var(--gradient-subtle);
    padding: 4px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.serve-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.serve-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    background: rgba(199, 62, 29, 0.1);
    color: var(--fox-orange);
    border: 1px solid rgba(199, 62, 29, 0.2);
}

.serve-badge--mid {
    background: rgba(88, 166, 255, 0.1);
    color: #58A6FF;
    border-color: rgba(88, 166, 255, 0.2);
}

.serve-badge--ent {
    background: rgba(40, 200, 64, 0.08);
    color: #28C840;
    border-color: rgba(40, 200, 64, 0.18);
}

.serve-range {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.serve-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
}

.serve-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.serve-challenges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}

.serve-challenge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.serve-tagline {
    font-size: 0.92rem !important;
    color: var(--text-secondary) !important;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
    font-style: italic;
}

.serve-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 28px;
}

.serve-list li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.serve-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--fox-orange);
    font-size: 0.8rem;
}

.serve-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

/* Hero audience pills */
.hero-audience {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.audience-pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(199, 62, 29, 0.08);
    border: 1px solid rgba(199, 62, 29, 0.18);
    color: var(--fox-orange);
}

.audience-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
}

.audience-note {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* CTA dual button */
.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 900px) {
    .serve-grid {
        grid-template-columns: 1fr;
    }

    .serve-card--featured::before {
        display: none;
    }
}

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

/* 5-card grid: 3 equal across top, 2 wider across bottom */
.sol-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.sol-card {
    grid-column: span 2;
    background: #0D0D14;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.sol-card:nth-child(4),
.sol-card:nth-child(5) {
    grid-column: span 3;
}

.sol-card:hover {
    border-color: rgba(199, 62, 29, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.sol-card-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sol-card-heading {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    border-top: 1px solid var(--border-subtle);
    padding-top: 14px;
    margin-top: 4px;
}

.sol-card-desc {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.sol-card-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0;
}

.sol-card-list li {
    font-family: var(--font-mono);
    font-size: 0.77rem;
    color: var(--text-muted);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.sol-card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--fox-orange);
    font-size: 0.72rem;
}

.sol-card-prompt {
    margin-top: auto;
    padding-top: 8px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
}

.sol-card-footer {
    padding: 13px 24px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.015);
}

.sol-cta-link {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fox-orange) !important;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color var(--transition-fast);
}

.sol-cta-link:hover {
    color: var(--fox-glow) !important;
    text-decoration: underline;
}

/* Cloud provider chips */
.sol-provider-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sol-provider-chip {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.sol-chip-aws {
    background: rgba(255, 153, 0, 0.1);
    color: #FF9900;
    border: 1px solid rgba(255, 153, 0, 0.22);
}

.sol-chip-azure {
    background: rgba(0, 120, 212, 0.1);
    color: #50B0F8;
    border: 1px solid rgba(0, 120, 212, 0.22);
}

.sol-chip-gcp {
    background: rgba(66, 133, 244, 0.1);
    color: #7CB9FF;
    border: 1px solid rgba(66, 133, 244, 0.2);
}

/* IR mode tags */
.sol-ir-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ir-mode-tag {
    font-family: var(--font-mono);
    font-size: 0.71rem;
    padding: 7px 12px;
    border-radius: 4px;
    color: #28C840;
    background: rgba(40, 200, 64, 0.07);
    border: 1px solid rgba(40, 200, 64, 0.18);
    display: block;
    line-height: 1.4;
}

.ir-mode-adhoc {
    color: #E3B341;
    background: rgba(227, 179, 65, 0.07);
    border-color: rgba(227, 179, 65, 0.18);
}

/* Tabletop scenario rows */
.sol-tt-scenarios {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.sol-tt-row {
    font-family: var(--font-mono);
    font-size: 0.77rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.sol-tt-row:last-child {
    border-bottom: none;
}

.tt-chip {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    color: var(--fox-orange);
    background: rgba(199, 62, 29, 0.1);
    border: 1px solid rgba(199, 62, 29, 0.2);
    padding: 2px 7px;
    border-radius: 3px;
    white-space: nowrap;
}

/* Shared */
.sol-badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.badge-red {
    background: rgba(199, 62, 29, 0.2);
    color: #FF6B6B;
    border: 1px solid rgba(199, 62, 29, 0.3);
}

.badge-blue {
    background: rgba(88, 166, 255, 0.12);
    color: #58A6FF;
    border: 1px solid rgba(88, 166, 255, 0.25);
}

.t-info { color: #58A6FF; }
.sol-dim { color: var(--text-muted) !important; }

.t-muted {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

/* Responsive Solutions */
@media (max-width: 1024px) {
    .sol-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sol-card,
    .sol-card:nth-child(4),
    .sol-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .sol-grid {
        grid-template-columns: 1fr;
    }

    .sol-card,
    .sol-card:nth-child(4),
    .sol-card:nth-child(5) {
        grid-column: span 1;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.cta-box {
    text-align: center;
    padding: 80px 48px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-brand);
}

.cta-box h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(199, 62, 29, 0.08);
    border: 1px solid rgba(199, 62, 29, 0.15);
    border-radius: var(--radius-md);
    color: var(--fox-orange);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item a {
    font-size: 1rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--fox-orange);
}

.contact-quick {
    margin-top: 16px;
}

.contact-quick h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--fox-orange);
    box-shadow: 0 0 0 3px rgba(199, 62, 29, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23A0A0B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
}

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

.footer-logo {
    height: 48px;
    width: auto;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.footer-col a:hover {
    color: var(--fox-orange);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

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

/* ============================================
   THANK YOU PAGE
   ============================================ */
.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   ANIMATIONS — Scroll Reveal
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .credibility-grid {
        grid-template-columns: 1fr;
    }

    .proof-matrix {
        grid-template-columns: 1fr;
    }

    .proof-matrix--three {
        grid-template-columns: 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .testimonial-stat-card {
        flex: 1;
        min-width: 120px;
    }

    .cert-logos {
        gap: 8px;
    }

    .cert-badge {
        min-width: 90px;
        padding: 10px 14px;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
        transition: right var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 16px 32px;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 8px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        padding: 32px;
    }

    .testimonial-card {
        padding: 28px 24px;
    }

    .testimonial-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .testimonial-stat-card {
        flex: 1;
        min-width: 100px;
    }

    .cert-badge {
        min-width: 80px;
        padding: 10px 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-stats {
        width: 100%;
    }
}
