:root {
    /* New Premium Colour System */
    --bg-main: #F4F7FA;
    --bg-section: #FBFCFD;
    --bg-card: #FFFFFF;
    --bg-dark: #27313D;
    
    --color-primary: #59738C;
    --color-primary-hover: #435C73;
    --color-accent: #7E97AA;
    --color-accent-2: #AAB9C7;
    
    --text-heading: #17232E;
    --text-body: #2E3C49;
    --text-muted: #64717D;
    
    --color-success: #60826E;
    --color-warning: #B8924C;
    
    --border-main: #DCE5EB;
    --border-bright: #EEF4F8;
    --border-hover: #C9D7E0;
    --border-grid: #E7EDF2;
    
    --gradient-hero: linear-gradient(135deg, #F8FAFC 0%, #EEF3F7 50%, #E6EDF4 100%);
    
    --shadow-card: 0 18px 45px rgba(30,40,50,.08);
    --shadow-soft: 0 4px 12px rgba(30,40,50,.04);
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-serif: "Georgia", "Times New Roman", serif; /* Used sparingly for editorial feel */
    
    /* Spacing & Layout */
    --container-width: 1320px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-btn: 30px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1.5rem; }
a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-primary-hover); }
.text-muted { color: var(--text-muted); }
.text-lead { font-size: 1.25rem; color: var(--text-muted); }
.text-center { text-align: center; }

/* Layout & Containers */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}
.section { padding: var(--spacing-xl) 0; }
.section-alt { background-color: var(--bg-section); border-top: 1px solid var(--border-grid); border-bottom: 1px solid var(--border-grid); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(251, 252, 253, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-bright);
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    padding: 0.5rem 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.brand {
    display: flex;
    align-items: center;
}
.brand img {
    height: 40px;
    width: auto;
    display: block;
}
.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a { color: var(--text-heading); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--color-primary); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--text-heading); margin: 5px 0; transition: var(--transition); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-btn);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(89, 115, 140, 0.2);
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(89, 115, 140, 0.3);
}
.btn-secondary {
    background-color: var(--bg-card);
    color: var(--text-heading);
    border-color: var(--border-bright);
}
.btn-secondary:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}

/* Hero Section (Split Screen) */
.hero {
    background: var(--gradient-hero);
    padding-top: 140px;
    padding-bottom: var(--spacing-xl);
    min-height: 90vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-main);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content p { margin-bottom: 2.5rem; max-width: 90%; }
.hero-actions { display: flex; gap: 1rem; }
.hero-visual { position: relative; }
.hero-dashboard-mock {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 2rem;
    position: relative;
    z-index: 2;
}
.mock-header { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border-grid); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.mock-kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.mock-kpi { background: var(--bg-main); padding: 1rem; border-radius: var(--radius-md); }
.mock-kpi-val { font-size: 1.5rem; font-weight: 600; color: var(--color-primary); }
.mock-chart { height: 120px; background: repeating-linear-gradient(0deg, transparent, transparent 19px, var(--border-grid) 20px); border-bottom: 1px solid var(--border-main); position: relative; }
.mock-bar { position: absolute; bottom: 0; width: 15%; background: var(--color-accent-2); border-radius: 4px 4px 0 0; }
.mock-bar:nth-child(1) { left: 5%; height: 40%; }
.mock-bar:nth-child(2) { left: 30%; height: 70%; background: var(--color-primary); }
.mock-bar:nth-child(3) { left: 55%; height: 50%; }
.mock-bar:nth-child(4) { left: 80%; height: 90%; background: var(--color-primary); }
.hero-visual-bg {
    position: absolute;
    top: -20px; right: -20px; bottom: -20px; left: 20px;
    background: var(--bg-section);
    border: 1px solid var(--border-grid);
    border-radius: var(--radius-lg);
    z-index: 1;
}

/* Interactive Service Finder */
.service-finder {
    background: var(--bg-card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}
.finder-tabs { display: flex; gap: 1rem; border-bottom: 1px solid var(--border-grid); margin-bottom: 2rem; padding-bottom: 1rem; }
.finder-tab { background: none; border: none; font-size: 1.1rem; color: var(--text-muted); cursor: pointer; padding: 0.5rem 1rem; font-weight: 500; }
.finder-tab.active { color: var(--text-heading); border-bottom: 2px solid var(--color-primary); margin-bottom: -17px; }
.finder-content { display: none; }
.finder-content.active { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; animation: fadeIn 0.5s ease; }
.finder-card { padding: 1.5rem; border: 1px solid var(--border-bright); border-radius: var(--radius-md); transition: var(--transition); cursor: pointer; }
.finder-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.finder-card h4 { margin-bottom: 0.5rem; color: var(--color-primary); }

/* Consulting Framework (Asymmetrical) */
.framework-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.framework-main { background: var(--bg-dark); color: #fff; padding: 4rem; border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: center; }
.framework-main h2 { color: #fff; }
.framework-main .text-muted { color: #AAB9C7; }
.framework-side { display: flex; flex-direction: column; gap: 2rem; }
.framework-card { background: var(--bg-card); border: 1px solid var(--border-bright); padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: var(--transition); }
.framework-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card); }
.step-num { font-size: 0.875rem; font-weight: 600; color: var(--color-accent); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; display: block; }

/* Data Maturity Timeline */
.timeline-wrap { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline-wrap::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--border-grid); transform: translateX(-50%); }
.timeline-item { display: flex; justify-content: flex-end; padding-right: 50%; position: relative; margin-bottom: 3rem; width: 100%; }
.timeline-item:nth-child(even) { justify-content: flex-start; padding-right: 0; padding-left: 50%; }
.timeline-node { position: absolute; right: calc(50% - 10px); top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-main); border: 4px solid var(--color-primary); z-index: 2; }
.timeline-item:nth-child(even) .timeline-node { left: calc(50% - 10px); }
.timeline-content { background: var(--bg-card); border: 1px solid var(--border-bright); padding: 2rem; border-radius: var(--radius-md); width: 90%; box-shadow: var(--shadow-soft); transition: var(--transition); }
.timeline-item:nth-child(odd) .timeline-content { margin-right: 2rem; }
.timeline-item:nth-child(even) .timeline-content { margin-left: 2rem; }
.timeline-content:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card); }

/* Dashboard Service Grid */
.dashboard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.dash-card { background: var(--bg-card); border: 1px solid var(--border-bright); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); transition: var(--transition); }
.dash-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-card); transform: translateY(-5px); }
.dash-card.span-8 { grid-column: span 8; }
.dash-card.span-4 { grid-column: span 4; }
.dash-card.span-6 { grid-column: span 6; }
.dash-card.span-12 { grid-column: span 12; }
.dash-icon { width: 48px; height: 48px; background: var(--bg-main); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: var(--color-primary); }
.dash-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }

/* Sticky Side Content (AI Readiness) */
.sticky-section { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.sticky-sidebar { position: sticky; top: 120px; }
.scroll-content { display: flex; flex-direction: column; gap: 2rem; }
.checklist-panel { background: var(--bg-card); border: 1px solid var(--border-bright); padding: 2rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); display: flex; gap: 1.5rem; }
.check-icon { color: var(--color-success); flex-shrink: 0; }
.check-icon svg { width: 28px; height: 28px; }

/* Operational Workflow (Process Diagram) */
.workflow-diagram { display: flex; justify-content: space-between; align-items: center; position: relative; padding: 2rem 0; overflow-x: auto; padding-bottom: 4rem; }
.workflow-diagram::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 2px; background: var(--border-grid); z-index: 1; transform: translateY(-50%); }
.workflow-step { background: var(--bg-card); border: 1px solid var(--border-bright); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); width: 22%; position: relative; z-index: 2; text-align: center; }
.workflow-step-icon { width: 60px; height: 60px; background: var(--bg-main); border-radius: 50%; margin: 0 auto 1rem auto; display: flex; align-items: center; justify-content: center; border: 2px solid var(--color-primary); color: var(--color-primary); font-weight: bold; font-size: 1.2rem; }

/* Editorial Content Blocks (Inner Pages) */
.page-header { background: var(--bg-section); padding: 160px 0 80px 0; border-bottom: 1px solid var(--border-main); text-align: center; }
.editorial-layout { display: grid; grid-template-columns: 300px 1fr; gap: 4rem; align-items: start; margin-top: 4rem; }
.editorial-sidebar { position: sticky; top: 120px; border-left: 2px solid var(--border-grid); padding-left: 1.5rem; }
.editorial-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.editorial-sidebar a { color: var(--text-muted); font-weight: 500; }
.editorial-sidebar a.active { color: var(--color-primary); }
.editorial-content h2 { margin-top: 3rem; margin-bottom: 1.5rem; }
.editorial-content h2:first-child { margin-top: 0; }
.notebook-block { background: var(--bg-main); border-left: 4px solid var(--color-primary); padding: 2rem; margin: 2rem 0; font-family: var(--font-serif); font-size: 1.1rem; color: var(--text-heading); }

/* Internal Pages specific styles */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.kpi-box { background: var(--bg-card); border: 1px solid var(--border-bright); padding: 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.kpi-label { font-size: 0.875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.kpi-value { font-size: 2rem; font-weight: 700; color: var(--text-heading); }

.comparison-table { width: 100%; border-collapse: collapse; margin: 2rem 0; background: var(--bg-card); border: 1px solid var(--border-main); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.comparison-table th, .comparison-table td { padding: 1.5rem; text-align: left; border-bottom: 1px solid var(--border-grid); }
.comparison-table th { background: var(--bg-section); font-weight: 600; color: var(--text-heading); }
.comparison-table tr:last-child td { border-bottom: none; }

.kb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.kb-card { display: block; background: var(--bg-card); border: 1px solid var(--border-bright); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); box-shadow: var(--shadow-soft); }
.kb-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); border-color: var(--border-hover); }
.kb-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border-grid); }
.kb-content { padding: 1.5rem; }
.kb-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.search-header { background: var(--bg-dark); padding: 160px 0 80px 0; text-align: center; color: #fff; }
.search-header h1 { color: #fff; }
.search-bar { max-width: 600px; margin: 2rem auto 0; position: relative; }
.search-bar input { width: 100%; padding: 1.25rem 2rem; border-radius: var(--radius-btn); border: none; font-size: 1.1rem; outline: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.search-bar button { position: absolute; right: 10px; top: 10px; bottom: 10px; background: var(--color-primary); color: #fff; border: none; padding: 0 1.5rem; border-radius: var(--radius-btn); cursor: pointer; }

/* Contact Form */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { padding-right: 2rem; }
.contact-item { margin-bottom: 2rem; }
.contact-item h4 { margin-bottom: 0.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: var(--text-heading); }
.form-control { width: 100%; padding: 1rem; border: 1px solid var(--border-main); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; background: var(--bg-card); transition: var(--transition); outline: none; }
.form-control:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(89, 115, 140, 0.1); }
textarea.form-control { resize: vertical; min-height: 150px; }

/* FAQ Accordion */
.accordion { border: 1px solid var(--border-main); border-radius: var(--radius-md); background: var(--bg-card); overflow: hidden; }
.accordion-item { border-bottom: 1px solid var(--border-grid); }
.accordion-item:last-child { border-bottom: none; }
.accordion-header { width: 100%; text-align: left; padding: 1.5rem; background: none; border: none; font-size: 1.1rem; font-weight: 600; color: var(--text-heading); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: var(--transition); }
.accordion-item.active .accordion-header::after { content: '−'; transform: rotate(180deg); }
.accordion-body { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; }
.accordion-item.active .accordion-body { padding-bottom: 1.5rem; max-height: 500px; }

/* Legal Pages */
.legal-layout { max-width: 800px; margin: 0 auto; background: var(--bg-card); padding: 3rem; border: 1px solid var(--border-main); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }

/* Footer */
.footer { background: var(--bg-dark); color: #fff; padding: var(--spacing-xl) 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand img { height: 44px; }
.footer-desc { color: #AAB9C7; max-width: 300px; }
.footer h4 { color: #fff; margin-bottom: 1.5rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.75rem; }
.footer ul a { color: #AAB9C7; }
.footer ul a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; color: #AAB9C7; font-size: 0.9rem; }

/* Utilities & Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-30px); transition: all 0.8s ease; }
.slide-right { opacity: 0; transform: translateX(30px); transition: all 0.8s ease; }
.slide-left.active, .slide-right.active { opacity: 1; transform: translateX(0); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: -100%; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--border-main); padding: 1.5rem; box-shadow: 0 -10px 30px rgba(0,0,0,0.05); z-index: 9999; transition: bottom 0.5s ease; display: flex; justify-content: space-between; align-items: center; }
.cookie-banner.show { bottom: 0; }
.cookie-actions { display: flex; gap: 1rem; }

/* Responsive */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .hero-content p { margin: 0 auto 2.5rem auto; }
    .hero-actions { justify-content: center; }
    .hero-dashboard-mock { max-width: 600px; margin: 0 auto; }
    .editorial-layout { grid-template-columns: 1fr; }
    .editorial-sidebar { position: static; border-left: none; border-bottom: 2px solid var(--border-grid); padding-left: 0; padding-bottom: 1.5rem; margin-bottom: 2rem; }
    .editorial-sidebar ul { flex-direction: row; flex-wrap: wrap; }
    .dashboard-grid { grid-template-columns: repeat(2, 1fr); }
    .dash-card.span-8, .dash-card.span-4, .dash-card.span-6, .dash-card.span-12 { grid-column: span 1; }
}

@media (max-width: 992px) {
    .container { max-width: 720px; }
    .framework-grid, .sticky-section, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
    .sticky-sidebar { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .workflow-diagram { flex-direction: column; gap: 2rem; padding: 0; }
    .workflow-diagram::before { top: 0; bottom: 0; left: 50%; width: 2px; height: auto; transform: translateX(-50%); }
    .workflow-step { width: 100%; max-width: 300px; }
    .kpi-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .container { max-width: 540px; padding: 0 1.5rem; }
    .nav-links { position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px); background: var(--bg-card); flex-direction: column; justify-content: center; transition: var(--transition); border-top: 1px solid var(--border-bright); }
    .nav-links.active { left: 0; }
    .mobile-toggle { display: block; }
    .timeline-wrap::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 50px; padding-right: 0; }
    .timeline-node, .timeline-item:nth-child(even) .timeline-node { left: 10px; }
    .timeline-item:nth-child(odd) .timeline-content, .timeline-item:nth-child(even) .timeline-content { margin: 0; width: 100%; }
    .finder-content.active { grid-template-columns: 1fr; }
    .cookie-banner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 576px) {
    .container { max-width: 100%; }
    .hero { padding-top: 100px; }
    .hero-actions { flex-direction: column; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .kpi-row { grid-template-columns: 1fr; }
    .comparison-table { display: block; overflow-x: auto; }
}