/*
Theme Name: The Fabrik
Theme URI: https://thefabrik.co.uk
Author: The Fabrik
Author URI: https://thefabrik.co.uk
Description: A professional WordPress theme for The Fabrik - Microsoft Power Platform consultancy serving UK SMEs. Features custom page templates for Services, About, Contact, and Pricing pages with a modern, accessible design.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-fabrik
Tags: business, corporate, custom-colors, custom-logo, custom-menu, featured-images, one-column, portfolio, theme-options, translation-ready

This theme is designed specifically for The Fabrik, a UK-based Microsoft Power Platform consultancy targeting SMEs in Greater Manchester.
*/

/* ==========================================================================
   CSS Custom Properties (Variables)
   ========================================================================== */
:root {
    /* Brand Colours */
    --color-primary: #1E2A5E;
    /* Deep Space Blue */
    --color-secondary: #6B4DE6;
    /* Electric Violet */
    --color-accent: #4ECDC4;
    /* Cosmic Teal */
    --color-accent-2: #A8E063;
    /* Aurora Green */
    --color-dark: #0D1B2A;
    /* Midnight */
    --color-light: #F0F4F8;
    /* Soft Mist */
    --color-white: #FFFFFF;
    --color-text: #2D3748;
    /* Charcoal */
    --color-text-muted: #4A5568;
    /* Darker Slate - improved contrast */
    --color-text-light: #718096;
    /* Lighter text for dark backgrounds */

    /* Gradients - Vibrant, rich colours */
    --gradient-hero: linear-gradient(135deg, #1E2A5E 0%, #4A3ABA 50%, #6B4DE6 100%);
    --gradient-cta: linear-gradient(90deg, #6B4DE6 0%, #4ECDC4 100%);
    --gradient-dark: linear-gradient(180deg, #0D1B2A 0%, #1E2A5E 100%);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-lg: 1.125rem;
    /* 18px */
    --font-size-xl: 1.25rem;
    /* 20px */
    --font-size-2xl: 1.5rem;
    /* 24px */
    --font-size-3xl: 2rem;
    /* 32px */
    --font-size-4xl: 2.5rem;
    /* 40px */
    --font-size-5xl: 3rem;
    /* 48px */
    --font-size-6xl: 3.5rem;
    /* 56px */

    /* Spacing */
    --spacing-xs: 0.25rem;
    /* 4px */
    --spacing-sm: 0.5rem;
    /* 8px */
    --spacing-md: 1rem;
    /* 16px */
    --spacing-lg: 1.5rem;
    /* 24px */
    --spacing-xl: 2rem;
    /* 32px */
    --spacing-2xl: 2.5rem;
    /* 40px */
    --spacing-3xl: 3.75rem;
    /* 60px */
    --spacing-4xl: 5rem;
    /* 80px */
    --spacing-5xl: 6.25rem;
    /* 100px */

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;
    --max-width-wide: 1400px;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 200ms ease;
    --transition-slow: 300ms ease;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    letter-spacing: -0.01em;
}

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

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

a:hover {
    color: var(--color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
    letter-spacing: -0.025em;
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-lg);
}

p+p {
    margin-top: var(--spacing-md);
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-narrow {
    max-width: var(--max-width-narrow);
}

.container-wide {
    max-width: var(--max-width-wide);
}

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

.section-lg {
    padding: calc(var(--spacing-5xl) * 1.25) 0;
}

.section-sm {
    padding: var(--spacing-3xl) 0;
}

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

/* ==========================================================================
   Button Styles
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: #5a3ed4;
    border-color: #5a3ed4;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-ghost:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
}

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

.btn-white:hover {
    background-color: var(--color-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--color-secondary);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: var(--font-size-lg);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: background-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.transparent {
    background-color: transparent;
    box-shadow: none;
}

.site-header.scrolled {
    background-color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    min-height: 116px;
    transition: all var(--transition-slow);
}

.site-header.scrolled .nav-container {
    min-height: 70px;
    padding: var(--spacing-sm) var(--spacing-lg);
}

/* Logo Styles - Core Fix */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img,
.custom-logo-link img,
.custom-logo {
    height: 100px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    transition: all var(--transition-slow);
}

/* WordPress custom logo wrapper */
.custom-logo-link {
    display: flex;
    align-items: center;
}

/* Logo visibility on transparent header - make logo white/visible */
.site-header.transparent .site-logo img,
.site-header.transparent .custom-logo-link img,
.site-header.transparent .custom-logo {
    filter: brightness(0) invert(1);
}

/* When scrolled, shrink logo and show normally */
.site-header.scrolled .site-logo img,
.site-header.scrolled .custom-logo-link img,
.site-header.scrolled .custom-logo {
    filter: none;
    height: 45px;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.site-header.transparent .logo-text {
    color: var(--color-white);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: var(--spacing-sm) 0;
    border: none;
    background: none;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active,
.nav-link.current-menu-item a,
.current-menu-item .nav-link {
    color: var(--color-secondary);
}

.site-header.transparent .nav-link {
    color: var(--color-white);
}

.site-header.transparent .nav-link:hover {
    color: var(--color-accent);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-secondary);
    background-color: var(--color-white);
    border: 2px solid var(--color-secondary);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Transparent header (top of homepage) - white button for visibility */
.site-header.transparent .nav-cta {
    color: var(--color-secondary);
    background-color: var(--color-white);
    border-color: var(--color-white);
}

.site-header.transparent .nav-cta:hover {
    background-color: var(--color-light);
    color: var(--color-secondary);
}

/* Scrolled header (white background) - violet button stands out */
.site-header.scrolled .nav-cta {
    color: var(--color-white);
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.site-header.scrolled .nav-cta:hover {
    background-color: #5a3ed4;
    border-color: #5a3ed4;
    color: var(--color-white);
}

/* WordPress Menu Styles - Enhanced Reset */
.primary-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a,
.primary-menu .nav-link {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    padding: var(--spacing-sm) 0;
    border: none;
    background: none;
    border-radius: 0;
    transition: color var(--transition-fast);
}

.primary-menu a:hover,
.primary-menu .current-menu-item a,
.primary-menu .nav-link:hover {
    color: var(--color-secondary);
    background: none;
}

.site-header.transparent .primary-menu a,
.site-header.transparent .primary-menu .nav-link {
    color: var(--color-white);
}

.site-header.transparent .primary-menu a:hover,
.site-header.transparent .primary-menu .nav-link:hover {
    color: var(--color-accent);
}

/* Override any WordPress block button styles that may leak into nav */
.primary-menu .wp-block-button,
.primary-menu .wp-block-button__link,
.nav-links .wp-block-button,
.nav-links .wp-block-button__link {
    all: unset;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: color var(--transition-fast);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 1001;
}

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

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

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    bottom: -7px;
}

.site-header.transparent .hamburger,
.site-header.transparent .hamburger::before,
.site-header.transparent .hamburger::after {
    background-color: var(--color-white);
}

/* Scrolled state - ensure dark hamburger */
.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background-color: var(--color-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(100px + var(--spacing-5xl)) var(--spacing-lg) var(--spacing-5xl);
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Hero with background image */
.hero.has-background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay for background image - ensures text readability */
.hero.has-background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(30, 42, 94, 0.75) 0%,
            rgba(74, 58, 186, 0.65) 50%,
            rgba(107, 77, 230, 0.6) 100%);
    z-index: 0;
}

/* Geometric overlay for hero - uses the geometric image texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: overlay;
    opacity: 0.15;
    z-index: 1;
}

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

.hero-eyebrow {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-lg);
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--spacing-xl);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto var(--spacing-lg);
}

.hero-explainer {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    max-width: 580px;
    margin: 0 auto var(--spacing-2xl);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-3xl);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-xl);
    opacity: 0.8;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-white);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Subtle geometric texture for problem section */
.problem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.problem-section>.container {
    position: relative;
    z-index: 1;
}

.section-header {
    max-width: 720px;
    margin: 0 auto var(--spacing-3xl);
    text-align: center;
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    max-width: 1000px;
    margin: 0 auto;
}

.problem-card {
    text-align: center;
    padding: var(--spacing-lg);
}

/* Professional Icon Styling - Gradient backgrounds with subtle shadows */
.problem-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    border-radius: var(--radius-xl);
    font-size: 28px;
    color: var(--color-white);
    box-shadow: 0 8px 24px rgba(107, 77, 230, 0.25);
    position: relative;
    overflow: hidden;
}

/* Subtle inner glow effect */
.problem-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.problem-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
    position: relative;
    z-index: 1;
}

.problem-text {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution-section {
    background-color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

/* Geometric overlay for solution section - uses CSS variable */
.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: soft-light;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.solution-section>.container {
    position: relative;
    z-index: 1;
}

.solution-section .section-title {
    color: var(--color-white);
}

.solution-section .section-subtitle {
    color: var(--color-text-light);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.solution-box {
    background-color: var(--color-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
}

.solution-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.2) 0%, rgba(168, 224, 99, 0.15) 100%);
    border-radius: var(--radius-xl);
    font-size: 26px;
    color: var(--color-accent);
    border: 1px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 4px 16px rgba(78, 205, 196, 0.15);
    position: relative;
}

.solution-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.solution-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.solution-text {
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Subtle geometric texture for services section */
.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
}

.services-section>.container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-2xl);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light) 100%);
    border-radius: var(--radius-xl);
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(107, 77, 230, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(107, 77, 230, 0.08);
    position: relative;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    box-shadow: 0 8px 28px rgba(107, 77, 230, 0.2), 0 4px 12px rgba(0, 0, 0, 0.06);
    transform: scale(1.05);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(107, 77, 230, 0.05) 0%, transparent 60%);
    pointer-events: none;
    border-radius: inherit;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--color-secondary);
}

.service-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.service-text {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.service-price {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.service-link {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    transition: gap var(--transition-fast);
}

.service-link:hover {
    color: var(--color-primary);
    gap: var(--spacing-sm);
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section {
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

/* Geometric texture for process section */
.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
}

.process-section>.container {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 40px);
    width: calc(100% - 20px);
    height: 2px;
    border-top: 2px dashed var(--color-secondary);
    opacity: 0.4;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    background-color: var(--color-secondary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-white);
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.step-text {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 250px;
    margin: 0 auto;
}

/* ==========================================================================
   Guidance Section (Not Sure Where to Start)
   ========================================================================== */
.guidance-section {
    background-color: var(--color-light);
    position: relative;
    overflow: hidden;
}

/* Geometric texture for guidance section */
.guidance-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.guidance-section>.container {
    position: relative;
    z-index: 1;
}

.guidance-intro {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.guidance-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guidance-list li {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    padding: var(--spacing-md) var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-secondary);
    font-style: italic;
}

.guidance-cta-text {
    font-size: var(--font-size-lg);
    color: var(--color-text);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background: var(--gradient-cta);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Geometric overlay for CTA section - uses CSS variable */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: overlay;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.cta-section>.container {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: var(--font-size-4xl);
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
}

.cta-text {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto var(--spacing-2xl);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-dark);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

/* Footer logo - invert to white for dark background */
.footer-logo img,
.footer-logo .custom-logo,
.footer-logo .custom-logo-link img,
.footer-brand .custom-logo-link img,
.footer-brand .custom-logo,
.footer-brand img.custom-logo {
    height: 40px;
    max-width: 220px;
    margin-bottom: var(--spacing-md);
    /* Invert logo for dark footer background */
    filter: brightness(0) invert(1) !important;
}

/* Ensure footer logo link within brand column is styled correctly */
.footer-brand .custom-logo-link {
    display: inline-block;
}

.footer-logo .logo-text {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    display: block;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-fast);
}

.footer-social a:hover {
    background-color: var(--color-secondary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    fill: var(--color-white);
}

.footer-heading {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-lg);
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a,
.footer-links li {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
    line-height: 1.6;
}

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

/* WordPress Footer Menu */
.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: var(--spacing-sm);
}

.footer-menu a {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-fast);
    line-height: 1.6;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-xl);
    text-align: center;
}

.footer-copyright,
.footer-compliance {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6);
}

.footer-compliance {
    margin-top: var(--spacing-sm);
}

/* ==========================================================================
   Blog / Post Styles
   ========================================================================== */
.post-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.post-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-xl);
}

.post-card-tag {
    display: inline-block;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.post-card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.post-card-title a {
    color: var(--color-primary);
}

.post-card-title a:hover {
    color: var(--color-secondary);
}

.post-card-excerpt {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.post-card-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

/* Single Post */
.post-header {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    text-align: center;
    background-color: var(--color-light);
}

.post-title {
    font-size: var(--font-size-5xl);
    max-width: 900px;
    margin: 0 auto var(--spacing-lg);
}

.post-meta {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
}

.post-content {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: var(--spacing-3xl) var(--spacing-lg);
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--color-text);
}

.post-content h2 {
    margin-top: var(--spacing-3xl);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-3xl);
}

.post-content h3 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-2xl);
}

.post-content h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-xl);
}

.post-content p {
    margin-bottom: var(--spacing-lg);
}

.post-content p+p {
    margin-top: 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: var(--spacing-lg);
    padding-left: var(--spacing-xl);
}

.post-content ul {
    list-style: disc;
}

.post-content ol {
    list-style: decimal;
}

.post-content li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.post-content li::marker {
    color: var(--color-secondary);
}

.post-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-2xl) 0;
    font-style: italic;
    color: var(--color-text-muted);
    font-size: var(--font-size-xl);
    line-height: 1.7;
}

.post-content blockquote p {
    margin-bottom: 0;
}

.post-content img {
    border-radius: var(--radius-lg);
    margin: var(--spacing-2xl) 0;
}

.post-content figure {
    margin: var(--spacing-2xl) 0;
}

.post-content figcaption {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--spacing-sm);
}

.post-content code {
    background-color: var(--color-light);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.875em;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
}

.post-content pre {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--spacing-2xl) 0;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.post-content pre code {
    background: none;
    padding: 0;
}

.post-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.post-content a:hover {
    color: var(--color-primary);
    text-decoration-thickness: 2px;
}

.post-content hr {
    border: none;
    border-top: 1px solid var(--color-light);
    margin: var(--spacing-3xl) 0;
}

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

/* ==========================================================================
   Page Styles
   ========================================================================== */
.page-header {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-3xl);
    text-align: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Dark overlay for page headers - increases text contrast */
.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(13, 27, 42, 0.30) 0%,
            rgba(30, 42, 94, 0.25) 50%,
            rgba(107, 77, 230, 0.20) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Geometric overlay for page headers - uses CSS variable */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: overlay;
    opacity: 0.18;
    z-index: 1;
    pointer-events: none;
}

.page-header>.container {
    position: relative;
    z-index: 2;
}

.page-header .page-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.02em;
}

.page-header .page-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: var(--font-size-xl);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto;
}

.page-content {
    padding: var(--spacing-3xl) 0;
}

.page-content-no-header {
    padding-top: calc(80px + var(--spacing-3xl));
}

/* Page content typography */
.page-content p,
.container-narrow p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.container-narrow h2 {
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-lg);
}

.container-narrow h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Service Detail Styles (Services Page)
   ========================================================================== */
.service-detail {
    padding: var(--spacing-3xl) 0;
    border-bottom: 1px solid var(--color-light);
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail-content {
    max-width: 800px;
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(107, 77, 230, 0.1) 0%, rgba(78, 205, 196, 0.08) 100%);
    border-radius: var(--radius-xl);
    color: var(--color-secondary);
    border: 1px solid rgba(107, 77, 230, 0.12);
    box-shadow: 0 6px 18px rgba(107, 77, 230, 0.08);
    position: relative;
}

.service-detail-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
}

.service-detail-icon svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.service-detail-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xs);
}

.service-detail-subtitle {
    font-size: var(--font-size-lg);
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
}

.service-detail-description {
    margin-bottom: var(--spacing-xl);
}

.service-detail-description p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

.service-detail-description h4 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.service-detail-description ul {
    list-style: disc;
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.service-detail-description li {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.service-detail-meta {
    display: flex;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.service-price-large {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-primary);
}

.service-timeline {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Pricing Page Styles
   ========================================================================== */
.lead-text {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.pricing-header {
    margin-bottom: var(--spacing-lg);
}

.pricing-header h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-xs);
}

.pricing-tag {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-subtitle {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
}

.pricing-price {
    margin-bottom: var(--spacing-lg);
}

.price-from {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.price-amount {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
}

.price-period {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    flex-grow: 1;
}

.pricing-features li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.pricing-timeline {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.included-item {
    display: flex;
    gap: var(--spacing-md);
}

.included-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-2) 100%);
    color: var(--color-dark);
    border-radius: var(--radius-full);
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(78, 205, 196, 0.3);
    font-size: 16px;
}

.included-item h4 {
    color: var(--color-white);
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
}

.included-item p {
    color: var(--color-text-light);
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.terms-item h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.terms-item p {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.contact-booking h2,
.contact-info h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

.contact-booking>p {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xl);
}

/* Booking Card Styles */
.booking-cta-box {
    margin-bottom: var(--spacing-xl);
}

.booking-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.booking-card-icon {
    margin-bottom: var(--spacing-md);
    color: var(--color-accent);
}

.booking-card h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
}

.booking-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xl) 0;
    text-align: left;
    display: inline-block;
}

.booking-benefits li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: var(--font-size-base);
}

.booking-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.booking-card .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    font-size: var(--font-size-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-card .btn-primary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-dark);
}

.booking-note {
    font-size: var(--font-size-sm);
    opacity: 0.8;
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.contact-method {
    margin-bottom: var(--spacing-xl);
}

.contact-method h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-xs);
}

.contact-method p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.contact-method a {
    color: var(--color-secondary);
}

.contact-note {
    font-size: var(--font-size-sm) !important;
    color: var(--color-text-muted) !important;
}

.contact-expect {
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.contact-expect h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.contact-expect ul {
    list-style: none;
}

.contact-expect li {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.contact-expect li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-sm);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    background-color: var(--color-white);
    border: 2px solid var(--color-light);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}

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

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

/* Form Messages */
.form-message {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-xl);
    line-height: 1.5;
}

.form-message strong {
    display: block;
    margin-bottom: var(--spacing-xs);
}

.form-message-success {
    background-color: rgba(168, 224, 99, 0.15);
    border: 1px solid var(--color-accent-2);
    color: #2D5016;
}

.form-message-error {
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #DC3545;
    color: #721c24;
}

/* FAQ Styles */
.faq-list {
    margin-top: var(--spacing-xl);
}

.faq-item {
    margin-bottom: var(--spacing-xl);
}

.faq-item h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   About Page Styles
   ========================================================================== */
.page-about h3 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-sm);
}

.page-about p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
}

/* About Page - What We Do Section */
.about-what-we-do {
    background-color: var(--color-light);
}

.about-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1100px;
    margin: 0 auto;
}

.about-process-box {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
}

.about-process-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, rgba(107, 77, 230, 0.1) 0%, rgba(78, 205, 196, 0.08) 100%);
    border-radius: var(--radius-xl);
    font-size: 26px;
    color: var(--color-secondary);
    border: 1px solid rgba(107, 77, 230, 0.1);
    box-shadow: 0 4px 12px rgba(107, 77, 230, 0.06);
    position: relative;
    transition: all var(--transition-base);
}

.about-process-box:hover .about-process-icon {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(107, 77, 230, 0.2);
    transform: scale(1.05);
}

.about-process-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.about-process-box:hover .about-process-icon::before {
    opacity: 1;
}

.about-process-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.about-process-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.about-process-text {
    font-size: var(--font-size-base);
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .about-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-process-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   WordPress Specific Styles
   ========================================================================== */
/* Alignments */
.alignleft {
    float: left;
    margin-right: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    width: calc(100% + var(--spacing-3xl));
    margin-left: calc(var(--spacing-3xl) / -2);
    margin-right: calc(var(--spacing-3xl) / -2);
}

.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* WordPress Captions */
.wp-caption {
    max-width: 100%;
    margin-bottom: var(--spacing-lg);
}

.wp-caption img {
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    text-align: center;
    padding-top: var(--spacing-sm);
}

/* WordPress Galleries */
.gallery {
    display: grid;
    grid-gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

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

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

.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
}

/* WordPress Comments */
.comments-area {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--color-light);
}

.comments-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    padding: var(--spacing-lg) 0;
    border-bottom: 1px solid var(--color-light);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.comment-author img {
    border-radius: var(--radius-full);
}

.comment-author .fn {
    font-weight: 600;
    color: var(--color-primary);
}

.comment-metadata {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
}

.comment-content p {
    margin-bottom: var(--spacing-sm);
}

.reply a {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-secondary);
}

/* Comment Form */
.comment-respond {
    margin-top: var(--spacing-xl);
}

.comment-reply-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
}

.comment-form label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--spacing-md);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    border: 2px solid var(--color-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.comment-form .submit:hover {
    background-color: #5a3ed4;
}

/* WordPress Pagination */
.pagination,
.posts-navigation {
    margin-top: var(--spacing-3xl);
    text-align: center;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 var(--spacing-xs);
    font-weight: 600;
    color: var(--color-text);
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.page-numbers:hover,
.page-numbers.current {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.nav-links a {
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--color-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.nav-links a:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-light);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    clip: auto !important;
    clip-path: none;
    color: var(--color-primary);
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    height: auto;
    left: var(--spacing-sm);
    line-height: normal;
    padding: var(--spacing-md) var(--spacing-lg);
    text-decoration: none;
    top: var(--spacing-sm);
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {

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

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

    .process-steps {
        flex-direction: column;
        gap: var(--spacing-xl);
    }

    .process-step:not(:last-child)::after {
        display: none;
    }

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

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

@media (max-width: 768px) {
    :root {
        --font-size-5xl: 2.25rem;
        --font-size-4xl: 1.875rem;
        --font-size-3xl: 1.5rem;
        --font-size-2xl: 1.375rem;
    }

    body {
        font-size: var(--font-size-base);
        line-height: 1.7;
    }

    /* Mobile Logo - properly sized for horizontal logo */
    .site-logo img,
    .custom-logo-link img,
    .custom-logo {
        height: 36px;
        max-width: 200px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--spacing-5xl) var(--spacing-xl) var(--spacing-xl);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-slow);
        z-index: 1000;
    }

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

    /* Mobile menu overlay backdrop */
    body.nav-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    /* Hamburger animation when menu is open */
    .nav-toggle[aria-expanded="true"] .hamburger {
        background-color: transparent;
    }

    .nav-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links,
    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 0;
    }

    .nav-links li,
    .primary-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-light);
    }

    .nav-links li:last-child,
    .primary-menu li:last-child {
        border-bottom: none;
    }

    .nav-link,
    .primary-menu a,
    .primary-menu .nav-link {
        font-size: var(--font-size-lg);
        padding: var(--spacing-md) 0;
        width: 100%;
        display: block;
        color: var(--color-text);
        background: none;
        border: none;
        border-radius: 0;
    }

    .nav-link:hover,
    .primary-menu a:hover,
    .primary-menu .nav-link:hover {
        color: var(--color-secondary);
        background: none;
    }

    /* Override transparent header white text for mobile menu */
    .site-header.transparent .nav-link,
    .site-header.transparent .primary-menu a,
    .site-header.transparent .primary-menu .nav-link {
        color: var(--color-text);
    }

    .site-header.transparent .nav-link:hover,
    .site-header.transparent .primary-menu a:hover,
    .site-header.transparent .primary-menu .nav-link:hover {
        color: var(--color-secondary);
    }

    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: var(--spacing-lg);
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .hero {
        min-height: auto;
        padding: calc(100px + var(--spacing-2xl)) var(--spacing-lg) var(--spacing-2xl);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--font-size-lg);
        line-height: 1.6;
    }

    .hero-explainer {
        font-size: var(--font-size-sm);
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .trust-badges {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .section-title {
        font-size: var(--font-size-3xl);
        line-height: 1.25;
    }

    .section-subtitle {
        font-size: var(--font-size-base);
    }

    .services-grid,
    .solution-grid,
    .problem-grid,
    .post-feed,
    .pricing-grid,
    .included-grid,
    .terms-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

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

    .post-content {
        font-size: var(--font-size-base);
        line-height: 1.75;
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .post-content h2 {
        font-size: var(--font-size-2xl);
        margin-top: var(--spacing-2xl);
    }

    .post-content h3 {
        font-size: var(--font-size-xl);
    }

    .post-content blockquote {
        font-size: var(--font-size-lg);
        padding-left: var(--spacing-md);
    }

    .cta-title {
        font-size: var(--font-size-3xl);
    }

    .cta-text {
        font-size: var(--font-size-base);
    }

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

    .service-detail-meta {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ==========================================================================
   WordPress Block Editor Overrides
   ========================================================================== */
/* Reset any Gutenberg navigation block styles that may leak into header */
.site-header .wp-block-navigation,
.site-header .wp-block-navigation-item,
.site-header .wp-block-navigation__container,
.site-header .wp-block-navigation-link {
    all: unset;
}

.site-header .wp-block-navigation-item__content,
.site-header .wp-block-navigation-link__content {
    all: unset;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.site-header.transparent .wp-block-navigation-item__content,
.site-header.transparent .wp-block-navigation-link__content {
    color: var(--color-white);
}

/* Ensure buttons in header CTA don't get block button styles */
.site-header .wp-block-button,
.site-header .wp-block-buttons {
    all: unset;
}

/* Override any inherited button styles in the navigation */
.nav-menu a:not(.nav-cta),
.primary-menu a:not(.nav-cta),
.nav-links a:not(.nav-cta) {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: var(--spacing-sm) 0 !important;
    box-shadow: none !important;
}

/* Force proper CTA button styling - base state */
.nav-cta,
a.nav-cta,
.site-header .nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    padding: var(--spacing-sm) var(--spacing-lg) !important;
    font-size: var(--font-size-sm) !important;
    font-weight: 600 !important;
    color: var(--color-secondary) !important;
    background-color: var(--color-white) !important;
    border-radius: var(--radius-md) !important;
    border: 2px solid var(--color-secondary) !important;
    text-decoration: none !important;
    transition: all var(--transition-fast) !important;
    box-shadow: var(--shadow-sm) !important;
}

.nav-cta:hover,
a.nav-cta:hover,
.site-header .nav-cta:hover {
    background-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
}

/* Transparent header CTA - white button visible against dark hero */
.site-header.transparent .nav-cta,
.site-header.transparent a.nav-cta {
    color: var(--color-secondary) !important;
    background-color: var(--color-white) !important;
    border-color: var(--color-white) !important;
}

.site-header.transparent .nav-cta:hover,
.site-header.transparent a.nav-cta:hover {
    background-color: var(--color-light) !important;
    color: var(--color-secondary) !important;
}

/* Scrolled/non-homepage header CTA - solid violet button on white header */
.site-header.scrolled .nav-cta,
.site-header.scrolled a.nav-cta,
.site-header:not(.transparent) .nav-cta,
.site-header:not(.transparent) a.nav-cta {
    color: var(--color-white) !important;
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
}

.site-header.scrolled .nav-cta:hover,
.site-header.scrolled a.nav-cta:hover,
.site-header:not(.transparent) .nav-cta:hover,
.site-header:not(.transparent) a.nav-cta:hover {
    background-color: #5a3ed4 !important;
    border-color: #5a3ed4 !important;
    color: var(--color-white) !important;
}

/* Scrolled header and non-homepage pages - ensure proper text colours */
.site-header.scrolled .nav-link,
.site-header.scrolled .primary-menu a,
.site-header.scrolled .nav-links a:not(.nav-cta),
.site-header:not(.transparent) .nav-link,
.site-header:not(.transparent) .primary-menu a,
.site-header:not(.transparent) .nav-links a:not(.nav-cta) {
    color: var(--color-text) !important;
}

.site-header.scrolled .nav-link:hover,
.site-header.scrolled .primary-menu a:hover,
.site-header.scrolled .nav-links a:not(.nav-cta):hover,
.site-header:not(.transparent) .nav-link:hover,
.site-header:not(.transparent) .primary-menu a:hover,
.site-header:not(.transparent) .nav-links a:not(.nav-cta):hover {
    color: var(--color-secondary) !important;
}

/* ==========================================================================
   Dual Logo System - Logo Swap on Scroll
   ========================================================================== */

/**
 * Logo wrapper contains both circular and horizontal logos.
 * The circular logo is shown at the top (inverted white on transparent header).
 * The horizontal logo fades in when scrolled.
 */
.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 220px;
    min-height: 100px;
}

/* Circular Logo - Default state (at top of page) */
/* Use higher specificity to override .site-logo img rules */
.site-logo .logo-circular,
.logo-circular {
    width: 100px;
    height: 100px;
    object-fit: contain;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Horizontal Logo - Hidden by default */
/* Use higher specificity to override .site-logo img rules */
.site-logo .logo-horizontal,
.logo-horizontal {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: 45px;
    max-width: 200px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* Transparent header - Invert circular logo to white */
.site-header.transparent .logo-circular {
    filter: brightness(0) invert(1);
}

/* When scrolled - Hide circular, show horizontal */
.site-header.scrolled .logo-circular {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.site-header.scrolled .logo-horizontal {
    opacity: 1;
    pointer-events: auto;
}

/* Scrolled logo wrapper adjustments */
.site-header.scrolled .logo-wrapper {
    min-height: 45px;
}

/* Mobile adjustments for dual logo */
@media (max-width: 768px) {
    .logo-wrapper {
        min-width: 160px;
        min-height: 72px;
    }

    /* Higher specificity to override .site-logo img rules */
    .site-logo .logo-circular,
    .logo-circular {
        width: 72px;
        height: 72px;
    }

    .site-logo .logo-horizontal,
    .logo-horizontal {
        height: 32px;
        max-width: 140px;
    }

    .site-header.scrolled .logo-wrapper {
        min-height: 32px;
    }
}

/* ==========================================================================
   Scroll-Triggered Animations
   ========================================================================== */

/**
 * Animation keyframes for scroll-triggered effects.
 * These are subtle, professional animations that enhance
 * the user experience without being distracting.
 */

/* Fade In Up - Primary animation for most elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Subtle Bounce In - For cards and interactive elements */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    60% {
        opacity: 1;
        transform: translateY(-8px) scale(1.01);
    }

    80% {
        transform: translateY(4px) scale(0.99);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Fade In Scale - For icons and badges */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

/* Slide In Right */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* Base classes for scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
}

/* When element becomes visible */
.animate-on-scroll.animated {
    animation-duration: 0.6s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animation type classes */
.animate-fade-up.animated {
    animation-name: fadeInUp;
}

.animate-bounce.animated {
    animation-name: bounceIn;
    animation-duration: 0.8s;
}

.animate-scale.animated {
    animation-name: fadeInScale;
}

.animate-slide-left.animated {
    animation-name: slideInLeft;
}

.animate-slide-right.animated {
    animation-name: slideInRight;
}

/* Stagger delays for grouped elements */
.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

.animate-delay-4 {
    animation-delay: 0.4s;
}

.animate-delay-5 {
    animation-delay: 0.5s;
}

.animate-delay-6 {
    animation-delay: 0.6s;
}

/* Section animations - Apply to section headers */
.section-header.animate-on-scroll.animated {
    animation-name: fadeInUp;
}

/* Card animations - Subtle bounce for interactivity */
.service-card.animate-on-scroll.animated,
.solution-box.animate-on-scroll.animated,
.problem-card.animate-on-scroll.animated,
.pricing-card.animate-on-scroll.animated,
.post-card.animate-on-scroll.animated {
    animation-name: bounceIn;
}

/* Process step animations */
.process-step.animate-on-scroll.animated {
    animation-name: fadeInUp;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll {
        opacity: 1;
        animation: none !important;
        transform: none !important;
    }

    .animate-on-scroll.animated {
        animation: none !important;
    }
}

/* ==========================================================================
   Geometric Pattern Backgrounds (Subtle)
   ========================================================================== */

/**
 * Subtle geometric pattern that can be applied to various sections.
 * Based on the hero pattern but more subtle for content areas.
 */
.has-geometric-bg {
    position: relative;
}

.has-geometric-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231E2A5E' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.has-geometric-bg>* {
    position: relative;
    z-index: 1;
}

/* Light geometric pattern (for dark sections) */
.has-geometric-bg-light::before {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Accent coloured geometric pattern */
.has-geometric-bg-accent::before {
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236B4DE6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Apply subtle pattern to specific sections */
.process-section {
    position: relative;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236B4DE6' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.process-section>.container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Geometric Image Overlay for Coloured Sections
   ========================================================================== */

/**
 * Geometric background image overlay system.
 * Applies the same texture from the hero section to other coloured sections.
 * Uses a customisable background image URL set via CSS custom property.
 *
 * Usage: Add .has-geometric-image-overlay class to any coloured section.
 * The overlay adapts automatically to light or dark backgrounds.
 */

/* Default geometric overlay image URL - can be overridden in Customizer */
:root {
    --geometric-overlay-url: url('https://thefabrik.co.uk/wp-content/uploads/2025/11/1-YD0p7LO6eOuPVe43-scaled.jpg');
}

/* Base geometric image overlay class */
.has-geometric-image-overlay {
    position: relative;
    overflow: hidden;
}

/* Geometric image texture layer */
.has-geometric-image-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* Ensure content appears above overlay */
.has-geometric-image-overlay>.container,
.has-geometric-image-overlay>* {
    position: relative;
    z-index: 2;
}

/* Dark sections (like solution-section) - lighter overlay for contrast */
.has-geometric-image-overlay.section-dark::after,
.solution-section.has-geometric-image-overlay::after {
    opacity: 0.12;
    mix-blend-mode: soft-light;
}

/* Gradient sections (like CTA) - subtle overlay */
.has-geometric-image-overlay.section-gradient::after,
.cta-section.has-geometric-image-overlay::after {
    opacity: 0.1;
    mix-blend-mode: overlay;
}

/* Light coloured sections - very subtle overlay */
.has-geometric-image-overlay.section-light::after,
.process-section.has-geometric-image-overlay::after {
    opacity: 0.05;
    mix-blend-mode: multiply;
}

/* Page header sections - matches hero styling */
.page-header.has-geometric-image-overlay::after {
    opacity: 0.1;
    mix-blend-mode: overlay;
}

/* ==========================================================================
   Apply Geometric Overlay to Additional Sections
   ========================================================================== */

/**
 * Note: .hero, .solution-section, .cta-section, and .page-header
 * have their geometric overlays defined earlier in this file using ::before
 * The following sections use ::after for their overlays.
 */

/**
 * Post Header - Light background for blog posts
 * Subtle geometric texture
 */
.post-header {
    position: relative;
    overflow: hidden;
}

.post-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.post-header>.container {
    position: relative;
    z-index: 1;
}

/**
 * About What We Do Section - Light background
 * Subtle geometric texture
 */
.about-what-we-do {
    position: relative;
    overflow: hidden;
}

.about-what-we-do::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
}

.about-what-we-do>.container {
    position: relative;
    z-index: 1;
}

/**
 * Contact Expect Box - Light background box
 */
.contact-expect {
    position: relative;
    overflow: hidden;
}

.contact-expect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.03;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.contact-expect>* {
    position: relative;
    z-index: 1;
}

/**
 * Sections with inline dark background styles
 * Targets sections that use style="background-color: var(--color-dark);"
 * such as "Why Choose Us" on About page and "What's Always Included" on Pricing
 */
.section[style*="--color-dark"],
section[style*="--color-dark"] {
    position: relative;
    overflow: hidden;
}

.section[style*="--color-dark"]::before,
section[style*="--color-dark"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: soft-light;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.section[style*="--color-dark"]>.container,
section[style*="--color-dark"]>.container {
    position: relative;
    z-index: 1;
}

/**
 * Utility class for manually adding geometric overlay to dark sections
 * Usage: Add class="section-dark-overlay" to any section
 */
.section-dark-overlay {
    position: relative;
    overflow: hidden;
}

.section-dark-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mix-blend-mode: soft-light;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.section-dark-overlay>.container {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   JML Use Case Section
   ========================================================================== */

/**
 * Use Case Section styling for JML (Joiner-Mover-Leaver) automation.
 * Features a two-column layout for problem/solution content
 * and a three-column stats grid with prominent numbers.
 */
.usecase-section {
    background-color: var(--color-light);
    padding: var(--spacing-5xl) 0;
    position: relative;
    overflow: hidden;
}

/* Geometric texture overlay for use case section */
.usecase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.usecase-section>.container {
    position: relative;
    z-index: 1;
}

.section-eyebrow {
    display: inline-block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
}

.usecase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
}

.usecase-problem p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--color-text);
}

.usecase-stat-text {
    font-style: italic;
    color: var(--color-text-muted);
    border-left: 3px solid var(--color-secondary);
    padding-left: var(--spacing-md);
}

.usecase-solution h3 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-2xl);
}

.usecase-solution p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
}

.usecase-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.stat-box {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 6px rgba(13, 27, 42, 0.08);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-xs);
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.stat-detail {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Use Case Section Responsive */
@media (max-width: 1024px) {
    .usecase-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .usecase-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: var(--font-size-4xl);
    }
}

/* ==========================================================================
   Industries Section (Who We Work With)
   ========================================================================== */

/**
 * Industries grid showcasing 8 professional services sectors.
 * Uses a 4-column grid on desktop, 2 columns on tablet, 1 on mobile.
 * SVG icons are coloured using currentColor for flexibility.
 */
.industries-section {
    background-color: var(--color-white);
    padding: var(--spacing-5xl) 0;
    position: relative;
    overflow: hidden;
}

/* Subtle geometric texture for industries section */
.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--geometric-overlay-url);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.025;
    pointer-events: none;
    z-index: 0;
}

.industries-section>.container {
    position: relative;
    z-index: 1;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.industry-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--color-light);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 77, 230, 0.2);
    background: var(--color-white);
}

.industry-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(107, 77, 230, 0.12) 0%, rgba(78, 205, 196, 0.08) 100%);
    border-radius: var(--radius-xl);
    color: var(--color-secondary);
    border: 1px solid rgba(107, 77, 230, 0.1);
    box-shadow: 0 4px 12px rgba(107, 77, 230, 0.08);
    position: relative;
    transition: all var(--transition-base);
}

.industry-card:hover .industry-icon {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(107, 77, 230, 0.25);
    transform: scale(1.08);
}

.industry-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
    pointer-events: none;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.industry-card:hover .industry-icon::before {
    opacity: 1;
}

.industry-icon svg {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-base);
}

.industry-card:hover .industry-icon svg {
    transform: scale(1.05);
}

.industry-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.industry-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

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

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

    .industry-card {
        padding: var(--spacing-lg);
    }
}

/* ==========================================================================
   JML Service Highlight Block (Services Page)
   ========================================================================== */

/**
 * Highlighted service block for JML automation on Services page.
 * Uses a subtle gradient background to distinguish from regular services.
 */
.service-detail.service-highlight {
    background: linear-gradient(135deg, rgba(107, 77, 230, 0.03) 0%, rgba(78, 205, 196, 0.03) 100%);
    border: 2px solid rgba(107, 77, 230, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    margin: var(--spacing-2xl) 0;
}

.service-detail.service-highlight .service-detail-icon {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    display: inline-flex;
}

.service-detail.service-highlight .service-detail-icon svg {
    width: 48px;
    height: 48px;
}

/* ==========================================================================
   Service Card Featured Badge (Homepage)
   ========================================================================== */

/**
 * "Most Popular" badge for the featured service card on homepage.
 * Positions an accent badge at the top of the card.
 */
.service-featured {
    position: relative;
    border: 2px solid var(--color-secondary);
}

.service-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 4px 16px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* ==========================================================================
   Social Proof Section (Homepage)
   ========================================================================== */

/**
 * Placeholder section for testimonials/social proof.
 * Honest acknowledgement for early-stage business.
 */
.social-proof-section {
    background-color: var(--color-light);
    text-align: center;
}

.social-proof-content {
    max-width: 700px;
    margin: 0 auto;
}

.social-proof-text {
    font-size: var(--font-size-lg);
    max-width: 700px;
    margin: 0 auto var(--spacing-xl);
    color: var(--color-text);
    line-height: 1.7;
}

/* ==========================================================================
   Cost of Inaction Callout (Homepage Problem Section)
   ========================================================================== */

/**
 * Urgency callout box highlighting the cost of delay.
 * Uses brand gradient for visual impact.
 */
.cost-callout {
    background: linear-gradient(135deg, #1E2A5E 0%, #4A3ABA 100%);
    color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cost-text {
    font-size: var(--font-size-lg);
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ==========================================================================
   Founder Section (About Page)
   ========================================================================== */

/**
 * "Meet the Founder" section with photo and bio.
 * Two-column layout with responsive stacking.
 */
.founder-section {
    background-color: var(--color-light);
}

.founder-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

@media (max-width: 768px) {
    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-image {
        display: flex;
        justify-content: center;
    }
}

.founder-image img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.founder-placeholder-img {
    width: 200px;
    height: 200px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.founder-placeholder-img svg {
    color: var(--color-white);
    opacity: 0.5;
}

.founder-name {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-md);
}

.founder-bio {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.founder-content .btn {
    margin-top: var(--spacing-md);
}

/* ==========================================================================
   Social Share Buttons (Blog Posts)
   ========================================================================== */

/**
 * Share buttons section displayed after blog post content.
 * Includes LinkedIn, Twitter/X share buttons, and copy link functionality.
 */
.post-share {
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--color-light);
}

.share-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--color-text);
    background-color: var(--color-light);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.share-btn svg {
    flex-shrink: 0;
}

/* LinkedIn button - brand colour on hover */
.share-btn-linkedin:hover {
    background-color: #0A66C2;
    color: var(--color-white);
    border-color: #0A66C2;
}

/* Twitter/X button - dark on hover */
.share-btn-twitter:hover {
    background-color: #000000;
    color: var(--color-white);
    border-color: #000000;
}

/* Copy link button */
.share-btn-copy:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

/* Copy success state */
.share-btn-copy.copied {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.share-btn-copy.copied .copy-text::after {
    content: '!';
}

/* ==========================================================================
   LinkedIn Follow CTA (Blog Posts)
   ========================================================================== */

/**
 * LinkedIn follow call-to-action section at end of blog posts.
 * Encourages readers to follow Darren's personal LinkedIn profile.
 */
.linkedin-follow-cta {
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.linkedin-cta-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.linkedin-cta-content .linkedin-icon {
    flex-shrink: 0;
    color: #0A66C2;
}

.linkedin-cta-text {
    flex: 1;
}

.linkedin-cta-text strong {
    display: block;
    font-size: var(--font-size-lg);
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

.linkedin-cta-text p {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

.linkedin-cta-content .btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .linkedin-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .linkedin-cta-content .btn {
        width: 100%;
    }
}

/* ==========================================================================
   New Components (v1.9.0)
   ========================================================================== */

/* FAQ Section (Pricing) */
.faq-section {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-light);
}

.faq-list {
    display: grid;
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.faq-answer {
    margin-bottom: 0;
    color: var(--color-text-muted);
    font-size: var(--font-size-base);
}

/* Lead Magnet Section (Homepage) */
.lead-magnet-section {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.lead-magnet-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: var(--geometric-overlay-url);
    opacity: 0.1;
    pointer-events: none;
}

.lead-magnet-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
    position: relative;
    z-index: 1;
}

.lead-magnet-text {
    flex: 1;
}

.lead-magnet-eyebrow {
    color: var(--color-accent);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.lead-magnet-title {
    color: var(--color-white);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.lead-magnet-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.lead-magnet-includes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lead-magnet-includes li {
    position: relative;
    padding-left: 24px;
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.8);
}

.lead-magnet-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.lead-magnet-form {
    flex: 0 0 400px;
}

.lead-magnet-form-box {
    background-color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.lead-magnet-form-note {
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.lead-magnet-email-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.lead-magnet-email-form input[type="email"] {
    padding: var(--spacing-md);
    border: 2px solid var(--color-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.lead-magnet-email-form input[type="email"]:focus {
    border-color: var(--color-secondary);
    outline: none;
}

.lead-magnet-privacy {
    margin-top: var(--spacing-md);
    margin-bottom: 0;
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
}

/* Process Steps Horizontal (Services) */
.process-section-services {
    background-color: var(--color-white);
}

.process-steps-horizontal {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-step-h {
    flex: 1;
    text-align: center;
    position: relative;
    padding: var(--spacing-lg);
    background-color: var(--color-light);
    border-radius: var(--radius-lg);
    transition: transform var(--transition-fast);
}

.process-step-h:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    font-weight: 700;
    font-size: var(--font-size-lg);
    border-radius: 50%;
    margin-bottom: var(--spacing-md);
}

.process-step-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

.process-step-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.process-arrow {
    align-self: center;
    color: var(--color-secondary);
    font-size: 2rem;
    font-weight: 300;
    opacity: 0.5;
}

/* Case Study "Coming Soon" */
.case-study-industry-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .lead-magnet-content {
        flex-direction: column;
        text-align: center;
    }

    .lead-magnet-includes {
        display: inline-block;
        text-align: left;
    }

    .lead-magnet-form {
        width: 100%;
        flex: none;
    }

    .process-steps-horizontal {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-xl);
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }
}
/* ==========================================================================
   FAQ Page Styles
   ========================================================================== */
.page-faq .faq-item {
    background-color: var(--color-white);
    border: 1px solid #e2e8f0;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-fast);
}

.page-faq .faq-item:hover {
    box-shadow: var(--shadow-md);
}

.page-faq .faq-item h3.faq-question {
    color: var(--color-primary);
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    margin-top: 0;
    line-height: 1.4;
}

.page-faq .faq-answer {
    color: var(--color-text);
    font-size: var(--font-size-base);
}

.page-faq .faq-answer p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.page-faq .faq-answer p:last-child {
    margin-bottom: 0;
}

.page-faq .faq-answer ul,
.page-faq .faq-answer ol {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-xl);
}

.page-faq .faq-answer li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.page-faq .faq-answer strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* FAQ Categories Navigation */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

.faq-categories a {
    text-decoration: none;
}

/* Button Variants */
.btn-sm {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.btn-outline:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* FAQ Section Specifics */
section:target {
    scroll-margin-top: 100px;
}

.page-faq .section {
    padding: var(--spacing-4xl) 0;
}

.page-faq .section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.page-faq .section-title {
    margin-bottom: var(--spacing-sm);
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background-color: #1E2A5E;
    color: #fff;
    font-weight: 600;
}

tr:hover {
    background-color: #f9fafb;
}

/* Responsive tables */
@media (max-width: 768px) {
    table {
        font-size: 0.875rem;
    }
    th, td {
        padding: 0.75rem 0.5rem;
    }
}
