/* ============================================
   JIRobinson Group, Corp. - Corporate Website
   Strength Through Synergy - Dark Theme
   ============================================ */

/* ----- CSS Variables ----- */
:root {
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --text-primary: #f5f5f5;
    --text-secondary: #888888;
    --text-muted: #555555;
    --accent: #c8a55c;
    --accent-dim: rgba(200, 165, 92, 0.15);
    --accent-dark: #a88520;
    --border: #222222;
    --border-hover: #333333;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;

    /* Other */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --max-width: 1400px;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background: 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;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

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

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

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

.section {
    padding: var(--space-xl) 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-light {
    background: var(--bg-card);
}

.section-accent {
    background: linear-gradient(135deg, #111111 0%, #1a1a1a 100%);
    border-top: 1px solid var(--border);
}

/* ----- Navigation ----- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.nav-logo-link {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 36px;
}

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

.nav-menu a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--accent) !important;
    color: var(--bg-primary) !important;
    padding: var(--space-xs) var(--space-sm) !important;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--accent-dark) !important;
    color: var(--bg-primary) !important;
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Mobile Nav */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1.25rem;
    }
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-hover);
}

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

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

.btn-full {
    width: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--accent);
}

.link-arrow span {
    transition: var(--transition);
}

.link-arrow:hover span {
    transform: translateX(4px);
}

/* ----- Hero Section (Index) ----- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
}

.hero-logo {
    width: 120px;
    margin-bottom: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(42px, 6vw, 80px);
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 em {
    font-style: italic;
    color: var(--accent);
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 50px;
}

.hero-divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 50px;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-scroll .scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
    background: none;
}

.hero-scroll .scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scroll-bounce 2s infinite;
}

.scroll-indicator-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

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

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ----- Page Hero (Sub-pages) ----- */
.page-hero {
    padding: calc(72px + var(--space-xl)) var(--space-md) var(--space-xl);
    background: var(--bg-primary);
    position: relative;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-dim) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-short {
    padding-bottom: var(--space-lg);
}

.page-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

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

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
}

/* ----- Section Headers ----- */
.section-header {
    margin-bottom: var(--space-lg);
}

.section-header.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

/* Also support the 11px label style from original base site */
.section-label-sm {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: var(--space-sm);
}

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

.section-footer {
    margin-top: var(--space-lg);
    text-align: center;
}

/* ----- Brand Card Grid (Index page with logos) ----- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 48px 32px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.brand-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.brand-card:hover::before { opacity: 1; }

.brand-logo-wrap {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: background 0.4s;
}

.brand-card:hover .brand-logo-wrap {
    background: rgba(255, 255, 255, 0.95);
}

.brand-logo {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    transition: transform 0.4s;
}

.brand-card:hover .brand-logo {
    transform: scale(1.05);
}

.brand-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.brand-industry {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.brand-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: all 0.3s;
}

.brand-card:hover .brand-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* ----- Philosophy Preview (Index) ----- */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.philosophy-content {
    max-width: 550px;
}

.philosophy-content .section-text {
    color: var(--text-secondary);
}

.philosophy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.synergy-diagram {
    width: 320px;
    height: 320px;
    position: relative;
}

.synergy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    overflow: hidden;
}

.synergy-center img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
}

.synergy-orbit {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px dashed var(--border-hover);
    border-radius: 50%;
    animation: rotate 60s linear infinite;
}

.synergy-node {
    position: absolute;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 2px solid var(--border-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    animation: counter-rotate 60s linear infinite;
}

.synergy-node svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent);
    fill: none;
}

.synergy-node:nth-child(1) { top: -24px; left: calc(50% - 24px); }
.synergy-node:nth-child(2) { top: calc(25% - 24px); right: -24px; }
.synergy-node:nth-child(3) { top: calc(75% - 24px); right: -24px; }
.synergy-node:nth-child(4) { bottom: -24px; left: calc(50% - 24px); }
.synergy-node:nth-child(5) { top: calc(75% - 24px); left: -24px; }
.synergy-node:nth-child(6) { top: calc(25% - 24px); left: -24px; }

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

@keyframes counter-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* ----- Companies/Brands Grid (Index preview with emoji) ----- */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.company-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: var(--transition);
}

.company-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.company-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.company-name {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.company-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.company-strength {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

/* ----- Insight Section ----- */
.insight-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.insight-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-style: italic;
    line-height: 1.5;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.insight-attribution {
    font-size: 0.9rem;
    color: var(--accent);
}

/* ----- Industries Preview (Index) ----- */
.industries-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.industry-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
}

.industry-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    white-space: nowrap;
    color: var(--text-primary);
}

.industry-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ----- CTA Section ----- */
.cta-section {
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

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

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

/* ----- Contact Section (Index page) ----- */
.contact-home {
    padding: 120px 60px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.contact-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-label {
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    margin-bottom: 48px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.contact-block {
    text-align: center;
}

.contact-block-label {
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
}

.contact-block p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
}

.contact-block a {
    color: var(--text-secondary);
    transition: color 0.3s;
}

.contact-block a:hover {
    color: var(--accent);
}

/* ----- Footer (Multi-column) ----- */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

.footer-brand .footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    margin-bottom: var(--space-xs);
    align-self: flex-start;
}

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

.footer-location {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

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

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

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
    text-align: center;
}

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

.footer-bottom a {
    color: var(--text-muted);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ----- Philosophy Page ----- */
.content-block {
    max-width: 900px;
    margin: 0 auto;
}

.content-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
}

.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.content-col p {
    color: var(--text-secondary);
}

/* Insight Block (Philosophy page) */
.insight-block {
    max-width: 1000px;
    margin: 0 auto;
}

.insight-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.example-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.example-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.strength-weak {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.9rem;
}

.strength-weak .label {
    font-weight: 600;
    color: var(--text-primary);
}

.strength,
.weakness {
    color: var(--text-secondary);
}

.insight-conclusion {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Synergy Examples */
.synergy-examples {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.synergy-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.synergy-card.synergy-featured {
    background: linear-gradient(135deg, #1a1a2e 0%, #111111 100%);
    border-color: var(--accent-dim);
}

.synergy-header {
    padding: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.synergy-featured .synergy-header {
    border-bottom-color: rgba(200, 165, 92, 0.2);
}

.synergy-companies {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.company-tag {
    background: var(--accent);
    color: var(--bg-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

.synergy-featured .company-tag {
    background: rgba(200, 165, 92, 0.3);
    color: var(--accent);
}

.synergy-arrow {
    font-size: 1.25rem;
    color: var(--accent);
}

.synergy-body {
    padding: var(--space-md);
}

.synergy-body h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.synergy-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.synergy-detail h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.synergy-detail p {
    color: var(--text-secondary);
}

.synergy-featured .synergy-detail p {
    color: rgba(255, 255, 255, 0.75);
}

/* Result Grid */
.result-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.result-item {
    text-align: center;
}

.result-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.result-item h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.result-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Closing Block */
.closing-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

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

.closing-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.closing-cta {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Brands Page ----- */
.brands-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.brand-detail {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.brand-detail-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.brand-detail-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 10px 14px;
}

.brand-detail-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

.brand-detail-name {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.brand-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    padding: var(--space-md);
}

.brand-detail-description p {
    color: var(--text-secondary);
}

.brand-detail-synergy {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.brand-detail-synergy h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.brand-detail-synergy ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.brand-detail-synergy li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.brand-detail-link {
    padding: var(--space-md);
    border-top: 1px solid var(--border);
}

/* Synergy Map */
.synergy-map {
    margin-top: var(--space-lg);
}

.synergy-map-visual {
    position: relative;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
}

.map-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    overflow: hidden;
}

.map-center img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.map-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-150px) rotate(calc(-1 * var(--angle)));
    text-align: center;
}

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

.node-flow {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ----- Industries Page ----- */
.industries-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.industry-detail {
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-lg);
}

.industry-detail:last-child {
    border-bottom: none;
}

.industry-detail-header {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.industry-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--border-hover);
    line-height: 1;
}

.industry-detail-name {
    font-size: 2rem;
    margin-bottom: 0;
}

.industry-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
    padding-left: calc(3rem + var(--space-md));
}

.industry-description p {
    color: var(--text-secondary);
}

.industry-companies h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.company-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.company-pills a {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.company-pills a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Advantage Grid */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.advantage-card h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.advantage-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ----- About Page ----- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-block {
    margin-bottom: var(--space-lg);
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Leadership */
.leadership-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.leader-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.leader-bio p {
    color: var(--text-secondary);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.value-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Location */
.location-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.location-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 600px;
    margin: var(--space-lg) auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    width: 2px;
    height: 100%;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-left: calc(32px + var(--space-md));
    padding-bottom: var(--space-lg);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 8px;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
}

.timeline-content h3 {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.timeline-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ----- Contact Page ----- */
.contact-section {
    padding-top: var(--space-md);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
}

.contact-form-wrapper h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

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

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

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

.form-group .optional {
    font-weight: 400;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-primary);
    transition: var(--transition);
}

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

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

.form-group select {
    cursor: pointer;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-block h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.contact-info-block address {
    font-style: normal;
    color: var(--text-secondary);
}

.contact-info-block a {
    color: var(--accent);
}

.contact-info-block a:hover {
    text-decoration: underline;
}

.contact-info-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.company-contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.company-contact-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.company-contact-list a {
    font-weight: 500;
}

/* Location Visual */
.location-visual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
}

.location-text h2 {
    margin-bottom: var(--space-xs);
}

.location-text p {
    color: var(--text-secondary);
    max-width: 500px;
}

.location-coords {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.coord {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* ----- Legal Pages (Privacy & Terms) ----- */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 140px 24px 80px;
}

.legal-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    margin-bottom: 8px;
}

.legal-content .meta {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--accent);
}

.legal-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--text-secondary);
    font-weight: 300;
}

.legal-content ul {
    margin: 0 0 14px 24px;
    color: var(--text-secondary);
    font-weight: 300;
    list-style: disc;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content strong {
    font-weight: 600;
    color: var(--text-primary);
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0 24px;
    font-size: 14px;
}

.legal-content th,
.legal-content td {
    text-align: left;
    padding: 10px 14px;
    border: 1px solid var(--border);
}

.legal-content th {
    background: var(--bg-secondary);
    color: var(--accent);
    font-weight: 500;
}

.legal-content td {
    color: var(--text-secondary);
}

.legal-content a {
    color: var(--accent);
}

.legal-content a:hover {
    color: var(--text-primary);
}

.legal-content code {
    background: var(--bg-secondary);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 13px;
}

.legal-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 32px 0;
}

/* ----- Utility Classes ----- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .brand-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-home { padding: 80px 24px; }
    .contact-details { gap: 48px; }
}

@media (max-width: 900px) {
    .philosophy-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .example-grid { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-detail-content { grid-template-columns: 1fr; padding-left: 0; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .content-columns { grid-template-columns: 1fr; }
    .synergy-detail { grid-template-columns: 1fr; }
    .brand-detail-content { grid-template-columns: 1fr; }
    .advantage-grid { grid-template-columns: 1fr; }
    .location-visual { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
    .brand-grid { grid-template-columns: 1fr; }
    .contact-details { flex-direction: column; gap: 40px; }
    .legal-content { padding: 100px 16px 60px; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}

/* ----- Animations ----- */
.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ----- Print Styles ----- */
@media print {
    nav, .hero-scroll, .btn {
        display: none !important;
    }

    .hero, .page-hero {
        min-height: auto;
        padding-top: var(--space-md);
    }
}
