/* =============================================
   SIMBIX — Corporate Financial Services Design
   Light, authoritative, professional
   ============================================= */

:root {
    --navy: #0F172A; /* Ultra-Premium Deep Slate Navy */
    --gold: #2563EB; /* Trust Blue (Replacing Gold for all legacy elements) */
    --gold-bright: #3B82F6; /* Lighter vivid blue */
    --gold-pale: #EFF6FF; /* Pale sky blue for hovers/backgrounds */
    --white: #FFFFFF;
    --off-white: #F8FAFC; /* Slate-50, softer than pure white */
    --border: #E2E8F0;
    --text: #0F172A;
    --body: #334155; /* Darker Slate for better legibility than pure grey */
    --accent: #0EA5E9; /* Vivid Tech Blue for distinct highlights */
    --muted: #64748B;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Inter', sans-serif;
    --navy-mid: #1E293B;
    --navy-pale: #F1F5F9;
    --navy-light: #CBD5E1;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --radius-lg: 8px;
    --red: #DC2626;
    --radius: 0;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--body); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); }
img { max-width: 100%; display: block; }
img[loading="lazy"] { aspect-ratio: auto; }
.hero-slideshow img, .container-wide img { aspect-ratio: 16/7; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
::selection { background: rgba(37,99,235,0.15); color: var(--navy); }

/* ---- Container ---- */
.container      { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 28px; }

/* ---- Typography (Fluid with clamp) ---- */
h1,h2,h3,h4,h5 { font-family: 'Inter', sans-serif; color: var(--text); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
p  { margin-bottom: 1.5rem; line-height: 1.7; font-size: clamp(0.95rem, 1.5vw, 1.05rem); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 26px; border-radius: 4px;
    font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    border: 1.5px solid transparent; cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; letter-spacing: 0.01em;
    position: relative; overflow: hidden;
}
.btn i { transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1); }
.btn:hover i { transform: translateX(3px); }
.btn-primary   { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold      { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(160,120,24,0.3); }
.btn-outline   { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-lg  { padding: 15px 34px; font-size: 0.95rem; }
.btn-sm  { padding: 8px 18px; font-size: 0.82rem; }

/* ---- Sections ---- */
.section-pale   { background: var(--off-white); }


.section-label {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px;
    padding: 6px 14px; background: var(--gold-pale); border-radius: 4px;
}
.section-label-light { color: rgba(255,255,255,0.6); }

.section-header { max-width: 680px; margin-bottom: 56px; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { color: var(--body); font-size: 1.05rem; font-weight: 300; }
.section-header.on-dark h2 { color: var(--white); }
.section-header.on-dark p  { color: rgba(255,255,255,0.65); }

.rule { width: 48px; height: 3px; background: linear-gradient(to right, var(--gold), var(--accent)); margin: 20px 0; border-radius: 2px; }
.rule.centered { margin: 20px auto; }
.rule.light { background: linear-gradient(to right, rgba(255,255,255,0.35), rgba(255,255,255,0.15)); }

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(226,232,240,0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header.scrolled { background: rgba(255,255,255,0.95); box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04); }
.header-inner {
    display: flex; align-items: center;
    height: 80px; gap: 40px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
    width: 40px; height: 40px; border-radius: 0; /* Square/Angular is more corporate */
    background: var(--navy); display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
    position: relative;
}
.logo-mark::after { content: ''; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 10px 10px 0; border-color: transparent var(--gold) transparent transparent; }
.logo-mark i { font-size: 1.2rem; color: var(--white); }
.logo-wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo-name  { font-size: 1.5rem; font-weight: 800; color: var(--navy); letter-spacing: 0.05em; text-transform: uppercase; }
.logo-tagline { font-size: 0.65rem; color: var(--gold); font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; }
.main-nav > ul > li { position: relative; }
.main-nav a {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: var(--radius);
    font-size: 0.9rem; font-weight: 600; color: var(--body);
    transition: var(--transition);
}
.main-nav a:hover  { color: var(--navy); background: rgba(0,0,0,0.03); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
    content: ''; display: block; position: absolute;
    bottom: 0; left: 16px; right: 16px; height: 2px;
    background: var(--gold);
}
.main-nav .fa-chevron-down { font-size: 0.65rem; color: var(--muted); transition: var(--transition); opacity: 0.7; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 4px); left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: 6px; min-width: 260px;
    box-shadow: 0 12px 28px -4px rgba(15,23,42,0.12), 0 4px 8px -2px rgba(15,23,42,0.06);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); z-index: 100; overflow: hidden;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.dropdown.dropdown-scroll { max-height: 70vh; overflow-y: auto; }
.dropdown li a {
    padding: 14px 24px; border-radius: 0; display: flex;
    align-items: center; gap: 12px; color: var(--body);
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem; background: none; font-weight: 500;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover { background: var(--navy-pale); color: var(--navy); padding-left: 28px; }
.dropdown li a i { width: 18px; color: var(--gold); font-size: 0.85rem; opacity: 0.8; transition: transform 0.2s ease; }
.dropdown li a:hover i { transform: scale(1.15); opacity: 1; }
.dropdown li a::after { display: none; }

.header-cta { margin-left: 20px; }

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

/* Theme Toggle */
.theme-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--off-white); border: 1px solid var(--border);
    cursor: pointer; transition: var(--transition); flex-shrink: 0;
}
.theme-toggle:hover { background: var(--gold-pale); }
.theme-toggle .theme-icon-light { display: none; color: #F59E0B; font-size: 1rem; }
.theme-toggle .theme-icon-dark { display: block; color: #64748B; font-size: 0.9rem; }
[data-theme="dark"] .theme-toggle { background: #334155; border-color: #475569; }
[data-theme="dark"] .theme-toggle:hover { background: #475569; }
[data-theme="dark"] .theme-toggle .theme-icon-dark { display: none; }
[data-theme="dark"] .theme-toggle .theme-icon-light { display: block; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-light { background: var(--off-white); }
.section-navy { background: var(--navy); }

/* =============================================
   HERO — Polished Professional Centered
   ============================================= */
.hero-premium {
    position: relative; background: var(--off-white); 
    padding: 130px 0 80px; text-align: center;
    border-bottom: 1px solid var(--border);
}
.hero-content-wide { max-width: 1000px; margin: 0 auto; }

.hero-text-premium h1 {
    color: var(--navy); margin-bottom: 24px; font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: 1.08; letter-spacing: -0.04em;
}
.hero-text-premium h1 em { 
    font-style: normal; color: var(--accent); /* Electric Tech Blue for contrast */
}
.hero-text-premium p {
    font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--body); font-weight: 400;
    margin: 0 auto 40px; line-height: 1.7; max-width: 750px;
}

.hero-visual-centered {
    margin-top: 60px; border-radius: 0; 
    overflow: hidden; height: 500px; width: 100%;
    box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}

.hero-actions-p { display: flex; justify-content: center; gap: 16px; margin-bottom: 60px; }

.hero-eyebrow { margin-bottom: 20px; }
.hero-eyebrow span { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.hero-stats-p { 
    display: flex; justify-content: center; gap: 80px; 
    border-top: 1px solid var(--border); padding-top: 40px;
}
.h-stat-item strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.h-stat-item span { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold); font-weight: 700; margin-top: 8px; }

/* =============================================
   LONDON PRESENCE SECTION
   ============================================= */
.london-presence-section { padding: 80px 0; background: var(--white); }
.align-center { align-items: center; }
.check-list { list-style: none; padding: 0; margin: 24px 0; }
.check-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; font-weight: 500; font-size: 0.95rem; color: var(--navy); padding: 8px 0; border-bottom: 1px solid rgba(226,232,240,0.5); }
.check-list li:last-child { border-bottom: none; }
.check-list li i { color: var(--gold); font-size: 0.75rem; width: 24px; height: 24px; background: var(--gold-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.london-visual { position: relative; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-xl); }
.london-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.15) 0%, transparent 40%); pointer-events: none; transition: opacity 0.3s ease; }
.london-visual:hover::after { opacity: 0; }
.london-img { width: 100%; border-radius: 8px; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.london-visual:hover .london-img { transform: scale(1.04); }

/* Split Layout */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

/* =============================================
   PREMIUM CARDS & GRIDS
   ============================================= */
.cards-grid-p { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.svc-card-premium {
    background: var(--white); border: 1px solid var(--border);
    padding: 48px 40px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 6px; position: relative;
    box-shadow: var(--shadow-sm); height: 100%;
}
.svc-card-premium:hover { transform: translateY(-6px); border-color: var(--navy-light); box-shadow: 0 20px 40px -12px rgba(15,23,42,0.15); }
.svc-card-premium::before { content: ''; position: absolute; top: 0; left: 0; width: 3px; height: 100%; background: linear-gradient(to bottom, var(--gold), var(--accent)); transform: scaleY(0); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: top; }
.svc-card-premium:hover::before { transform: scaleY(1); }
.svc-icon-p { width: 64px; height: 64px; background: var(--navy-pale); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 32px; border-radius: 6px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.svc-card-premium:hover .svc-icon-p { background: var(--navy); color: var(--white); }
.svc-card-premium h3 { margin-bottom: 16px; font-size: 1.4rem; }
.svc-card-premium p { color: var(--muted); font-size: 0.95rem; margin-bottom: 24px; min-height: 80px; }

/* Industry Grid */
.industry-grid-p { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); overflow: hidden; }
.industry-card-p { flex: 1; padding: 60px 48px; background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.08); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.industry-card-p:last-child { border-right: none; }
.industry-card-p:hover { background: rgba(255,255,255,0.06); transform: translateY(-4px); }
.industry-icon-p { font-size: 2.2rem; color: var(--gold); margin-bottom: 24px; }
.industry-card-p h3 { color: var(--white); margin-bottom: 12px; font-size: 1.5rem; }
.industry-card-p p { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin-bottom: 20px; }
.industry-tags-p { display: flex; gap: 8px; margin-bottom: 24px; }
.industry-tags-p span { font-size: 0.65rem; color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 2px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.05em; }

/* =============================================
   PREMIUM CTA
   ============================================= */
.section-cta-premium { padding: 100px 0; background: var(--off-white); }
.cta-banner-premium {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); border-radius: 8px;
    padding: 80px 100px; display: flex; align-items: center; justify-content: space-between;
    gap: 60px; position: relative; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(15,23,42,0.25);
}
.cta-banner-premium::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(37,99,235,0.15) 0%, transparent 60%); }
.cta-banner-premium::after { content: ''; position: absolute; bottom: -80px; right: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,0.02); }
.cta-content-p { position: relative; z-index: 2; max-width: 600px; }
.cta-content-p h2 { color: var(--white); font-size: 2.4rem; margin-bottom: 16px; font-weight: 800; line-height: 1.1; }
.cta-content-p p { color: rgba(255,255,255,0.7); font-size: 1.15rem; font-weight: 300; margin: 0; }
.cta-actions-p { position: relative; z-index: 2; display: flex; gap: 16px; flex-shrink: 0; }


/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--white); padding: 24px 0;
    position: relative;
}
.trust-bar::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.3; }
.trust-bar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.trust-bar-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); flex-shrink: 0; }
.trust-bar-items { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 9px;
    font-size: 0.855rem; font-weight: 600; color: var(--navy);
}
.trust-item i { color: var(--gold); font-size: 0.9rem; }

/* =============================================
   STATS STRIP
   ============================================= */
.stats-strip { background: var(--navy); padding: 48px 0; }
.stats-strip-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-block { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-block:last-child { border-right: none; }
.stat-block .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-block .lbl { font-size: 0.78rem; font-weight: 500; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }

/* =============================================
   SERVICE CARDS
   ============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.svc-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: var(--transition);
    position: relative; overflow: hidden;
}
.svc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--navy-pale); }
.svc-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
    width: 48px; height: 48px; border-radius: var(--radius);
    background: var(--navy-pale); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--navy); margin-bottom: 20px;
}
.svc-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.svc-card p  { font-size: 0.875rem; font-weight: 300; margin-bottom: 18px; }
.svc-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; font-weight: 700; color: var(--navy);
    letter-spacing: 0.04em; text-transform: uppercase;
    transition: var(--transition);
}
.svc-link:hover { gap: 10px; color: var(--gold); }

/* =============================================
   WHY SECTION
   ============================================= */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-feature-list { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.why-feature { display: flex; gap: 18px; }
.why-feature-num {
    flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--border); display: flex; align-items: center;
    justify-content: center; font-size: 0.78rem; font-weight: 800;
    color: var(--navy); font-family: var(--font-display);
}
.why-feature h4 { margin-bottom: 5px; font-size: 1rem; }
.why-feature p  { font-size: 0.875rem; font-weight: 300; margin: 0; }

/* Why — right visual panel */
.why-visual-panel {
    background: var(--navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.why-panel-top { padding: 36px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.why-panel-top h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.why-panel-top p  { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-weight: 300; margin: 0; }
.why-metrics-row { display: flex; gap: 0; }
.why-metric { flex: 1; padding: 24px; border-right: 1px solid rgba(255,255,255,0.08); text-align: center; }
.why-metric:last-child { border-right: none; }
.why-metric strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: var(--white); }
.why-metric span   { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.why-testimonial { padding: 28px 36px; border-top: 1px solid rgba(255,255,255,0.08); }
.why-testimonial blockquote {
    font-size: 0.9rem; color: rgba(255,255,255,0.7); font-style: italic;
    font-weight: 300; line-height: 1.7; margin-bottom: 12px;
}
.why-testimonial cite { font-size: 0.78rem; color: var(--gold); font-style: normal; font-weight: 600; }

/* =============================================
   INDUSTRY CARDS (dark section)
   ============================================= */
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.industry-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 0; padding: 44px 36px;
    transition: var(--transition); position: relative; overflow: hidden;
}
.industry-card:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
.industry-card:last-child  { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.industry-grid-wrapper {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); overflow: hidden; display: flex;
}
.industry-grid-wrapper .industry-card { flex: 1; border-radius: 0; border: none; border-right: 1px solid rgba(255,255,255,0.08); }
.industry-grid-wrapper .industry-card:last-child { border-right: none; }
.industry-card:hover { background: rgba(255,255,255,0.07); }
.industry-icon-lg { font-size: 1.6rem; color: var(--gold); margin-bottom: 20px; }
.industry-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 10px; }
.industry-card p  { color: rgba(255,255,255,0.6); font-size: 0.875rem; font-weight: 300; margin-bottom: 22px; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.industry-tag {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 3px; padding: 3px 10px;
    font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.6);
    letter-spacing: 0.05em; text-transform: uppercase;
}
.industry-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.8rem; font-weight: 700; color: var(--gold);
    letter-spacing: 0.06em; text-transform: uppercase; transition: var(--transition);
}
.industry-link:hover { gap: 10px; }

/* =============================================
   PROCESS STEPS
   ============================================= */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-grid::before {
    content: ''; position: absolute; top: 24px;
    left: calc(12.5% + 12px); right: calc(12.5% + 12px);
    height: 1px; background: var(--border); z-index: 0;
}
.process-step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-dot {
    width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 24px;
    background: var(--white); border: 2px solid var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1rem; font-weight: 900; color: var(--navy);
    position: relative; z-index: 2;
}
.process-step.active .step-dot { background: var(--navy); color: var(--white); }
.process-step h4 { margin-bottom: 8px; font-size: 1rem; }
.process-step p  { font-size: 0.855rem; font-weight: 300; color: var(--body); margin: 0; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-strip {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 56px 60px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.cta-strip::before {
    content: ''; position: absolute; left: -60px; top: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.025);
}
.cta-strip::after {
    content: ''; position: absolute; right: -40px; bottom: -40px;
    width: 240px; height: 240px; border-radius: 50%;
    background: rgba(255,255,255,0.02);
}
.cta-strip-text { position: relative; z-index: 1; }
.cta-strip-text h2 { color: var(--white); margin-bottom: 10px; }
.cta-strip-text p  { color: rgba(255,255,255,0.65); font-weight: 300; margin: 0; max-width: 560px; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; position: relative; z-index: 1; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 128px 0 64px; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(160,120,24,0.5), transparent);
}
.page-hero-bg-text {
    position: absolute; right: -20px; bottom: -40px;
    font-family: var(--font-display); font-size: 18rem; font-weight: 900;
    color: rgba(255,255,255,0.025); line-height: 1; pointer-events: none;
    white-space: nowrap; z-index: 0;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1  { color: var(--white); margin-bottom: 14px; }
.page-hero p   { color: rgba(255,255,255,0.65); font-size: 1.1rem; font-weight: 300; max-width: 580px; margin: 0; }

/* =============================================
   SERVICE DETAIL CARDS
   ============================================= */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.detail-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 36px;
    transition: var(--transition);
}
.detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.detail-card .svc-icon { margin-bottom: 16px; }
.detail-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.detail-card p  { font-size: 0.875rem; font-weight: 300; margin-bottom: 20px; }
.feat-list { display: flex; flex-direction: column; gap: 8px; }
.feat-list li {
    display: flex; align-items: flex-start; gap: 9px;
    font-size: 0.855rem; color: var(--body);
}
.feat-list li i { color: var(--gold); font-size: 0.7rem; margin-top: 5px; flex-shrink: 0; }

/* =============================================
   COMPLIANCE BADGES
   ============================================= */
.compliance-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.compliance-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 26px 24px;
    transition: var(--transition); text-align: left;
}
.compliance-card:hover { border-color: var(--navy-pale); box-shadow: var(--shadow-sm); }
.compliance-card i { font-size: 1.4rem; color: var(--navy); margin-bottom: 14px; display: block; }
.compliance-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.compliance-card p  { font-size: 0.82rem; font-weight: 300; color: var(--muted); margin: 0; }

/* =============================================
   TEAM CARDS
   ============================================= */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.team-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card-top { background: var(--navy); padding: 28px 28px 24px; display: flex; align-items: center; gap: 16px; }
.team-avatar {
    width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--white);
}
.team-card-top h3 { color: var(--white); font-size: 1rem; margin-bottom: 3px; }
.team-role { font-size: 0.78rem; color: var(--gold); font-weight: 600; }
.team-card-body { padding: 22px 28px 28px; }
.team-card-body p  { font-size: 0.855rem; font-weight: 300; margin-bottom: 16px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.skill-tag {
    background: var(--off-white); border: 1px solid var(--border);
    border-radius: 3px; padding: 3px 10px;
    font-size: 0.72rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em;
}

/* =============================================
   ABOUT VALUES
   ============================================= */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px; transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-sm); }
.value-icon {
    width: 44px; height: 44px; border-radius: var(--radius); margin-bottom: 16px;
    background: var(--navy-pale); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--navy);
}
.value-card h4 { font-size: 1rem; margin-bottom: 8px; }
.value-card p  { font-size: 0.855rem; font-weight: 300; margin: 0; }

/* Info Panel (About Page) */
.info-panel-premium { background: var(--navy); border-radius: var(--radius); overflow: hidden; }
.info-panel-header-p { display: flex; align-items: center; gap: 14px; padding: 24px 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.info-panel-header-p i { color: var(--gold); font-size: 1.2rem; }
.info-panel-header-p span { color: var(--white); font-size: 1rem; font-weight: 700; }
.info-list-p { list-style: none; padding: 0; margin: 0; }
.info-list-p li { display: flex; justify-content: space-between; padding: 16px 32px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
.info-list-p li:last-child { border-bottom: none; }
.info-list-p li strong { color: rgba(255,255,255,0.5); font-weight: 600; }
.info-list-p li span { color: var(--white); font-weight: 500; }

/* =============================================
   CONTACT — Premium Layout
   ============================================= */
.contact-layout-p { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-card-premium { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }
.contact-item-p { display: flex; gap: 20px; margin-bottom: 32px; align-items: flex-start; transition: var(--transition); }
.contact-item-p:last-child { margin-bottom: 0; }
.contact-item-p i { font-size: 1.25rem; color: var(--gold); margin-top: 4px; }
.contact-item-p strong { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); margin-bottom: 4px; }
.contact-item-p span, .contact-item-p a { font-size: 1rem; color: var(--navy); font-weight: 500; }
.contact-item-p a:hover { color: var(--gold); }

.offices-grid-p { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.office-tag { background: var(--navy-pale); border: 1px solid var(--border); padding: 12px 18px; border-radius: var(--radius); font-size: 0.85rem; font-weight: 600; color: var(--navy); transition: var(--transition); text-align: center; }
.office-tag:hover { border-color: var(--gold); transform: translateY(-2px); }

/* Form Premium */
.form-box-premium { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 60px; box-shadow: var(--shadow-xl); position: relative; }
.form-box-premium h3 { font-size: 1.8rem; margin-bottom: 8px; font-weight: 800; }
.form-box-premium p { color: var(--body); font-size: 1rem; margin-bottom: 40px; font-weight: 300; }
.form-row-p { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group-p { margin-bottom: 24px; position: relative; }
.form-group-p label { display: block; font-size: 0.7rem; font-weight: 800; color: var(--navy); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.form-group-p input, .form-group-p textarea {
    width: 100%; padding: 14px 18px; font-size: 1rem; border: 1.5px solid var(--border); border-radius: 6px;
    background: var(--off-white); transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); font-family: var(--font-body); outline: none;
}
.form-group-p input:focus, .form-group-p textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(37,99,235,0.08); }
.form-group-p textarea { min-height: 140px; resize: none; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: var(--shadow-lg); }

/* Alert Messages */
.alert-success { display: flex; align-items: center; gap: 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: 18px 24px; margin-bottom: 28px; color: #166534; font-size: 0.9rem; }
.alert-success i { font-size: 1.3rem; color: #22c55e; flex-shrink: 0; }
.alert-success strong { font-weight: 700; margin-right: 6px; }
.alert-error { display: flex; align-items: center; gap: 14px; background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius); padding: 18px 24px; margin-bottom: 28px; color: #991b1b; font-size: 0.9rem; }

/* Utility */
.fw-300 { font-weight: 300; }

/* =============================================
   PAGE ELEMENTS
   ============================================= */
.centered-content { text-align: center; }
.centered { margin-left: auto; margin-right: auto; }


/* =============================================
   EMERGENCY BANNER
   ============================================= */
.emergency-bar {
    background: #fff5f5; border: 1px solid #fecaca;
    border-radius: var(--radius-lg); padding: 24px 32px;
    display: flex; align-items: center; gap: 20px; margin-bottom: 44px;
}
.emergency-bar i { font-size: 1.8rem; color: var(--red); flex-shrink: 0; }
.emergency-bar h3 { color: var(--red); font-size: 1rem; margin-bottom: 4px; }
.emergency-bar p  { font-size: 0.855rem; color: #7f1d1d; margin: 0; }
.emergency-bar .btn { flex-shrink: 0; margin-left: auto; background: var(--red); border-color: var(--red); color: var(--white); }
.emergency-bar .btn:hover { background: #a12222; border-color: #a12222; }

/* =============================================
   FOOTER — Premium BIG4 Aesthetic
   ============================================= */
.site-footer { background: linear-gradient(180deg, #0F172A 0%, #0a1120 100%); color: rgba(255,255,255,0.8); padding-top: 100px; border-top: 1px solid rgba(255,255,255,0.08); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(37,99,235,0.4), transparent); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; margin-bottom: 80px; align-items: start; }
.footer-brand { max-width: 400px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.7; color: rgba(255,255,255,0.6); font-weight: 300; }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { color: #FFFFFF; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 32px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 2px; background: var(--gold); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 16px; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 10px; }
.footer-col a:hover { color: var(--gold-bright); transform: translateX(4px); }
.footer-social a { font-size: 1.4rem; color: rgba(255,255,255,0.4); margin-right: 20px; transition: var(--transition); }
.footer-social a:hover { color: var(--gold); }

.footer-accreditations { display: flex; align-items: flex-end; gap: 24px; }
.cert-logo-sm { height: 100px; width: auto; transition: var(--transition); border-radius: 4px; }
.cert-logo-lg { height: 80px; width: auto; transition: var(--transition); border-radius: 4px; }
.cert-logo-sm:hover, .cert-logo-lg:hover { transform: translateY(-2px); opacity: 0.9; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 40px 0; background: rgba(0,0,0,0.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-legal { display: flex; gap: 32px; }
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; transition: var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* =============================================
   HERO SLIDESHOW
   ============================================= */
.hero-slideshow {
    position: relative; width: 100%; height: 520px;
    z-index: 1; overflow: hidden; background-color: var(--navy);
}
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 1.5s ease-in-out;
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 80px;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center 45%;
    transform: scale(1.0); transition: transform 6s linear;
}
.hero-slide.active .hero-slide-bg { transform: scale(1.08); }
.hero-slide-text {
    position: relative; z-index: 3; color: white; font-size: 3.5rem;
    font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase;
    text-shadow: 0px 4px 16px rgba(0,0,0,0.9);
    opacity: 0; transform: translateY(20px); transition: all 1s ease 0.6s;
}
.hero-slide.active .hero-slide-text { opacity: 1; transform: translateY(0); }

/* Mobile adjustments for the slide text */
@media (max-width: 600px) {
    .hero-slide-text { font-size: 2rem; padding-bottom: 0px; }
}

.hero-links a { transition: color 0.3s ease; }
.hero-links a:hover { color: var(--gold) !important; }

/* =============================================
   UTILITIES & ANIMATIONS — Final Refinement
   ============================================= */
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-bright); margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb i { font-size: 0.65rem; opacity: 0.5; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

/* =============================================
   RESPONSIVE DESIGN — Perfect Fit
   ============================================= */

/* Tablet & Smaller Laptops */
@media (max-width: 1100px) {
    .container, .container-wide { padding: 0 40px; }
    .hero-stats-p { gap: 40px; }
    .industry-grid-p { flex-direction: column; }
    .industry-card-p { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }

    /* Tighter nav for 6 items */
    .main-nav a { padding: 8px 10px; font-size: 0.82rem; }
    .header-inner { gap: 20px; }

    /* Branding Overlay Scaling */
    .hero-logo-icon { height: 120px !important; }
    .hero-logo-text { font-size: 5rem !important; }
    .hero-logo-container { gap: 1.5rem !important; }
}

/* Tablets (Portrait) — bumped to 960px for 6 nav items */
@media (max-width: 960px) {
    .header-inner { gap: 20px; }
    .header-cta { display: none; }
    .nav-toggle { display: flex; z-index: 1100; order: 10; margin-left: 0; }
    .theme-toggle { order: 9; margin-left: auto; }
    
    /* Mobile Menu Drawer */
    .main-nav {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--white); z-index: 1050;
        display: flex; align-items: flex-start; justify-content: center;
        transform: translateX(100%); transition: var(--transition);
        visibility: hidden; margin: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
        padding-top: 80px;
    }
    .main-nav.open { transform: translateX(0); visibility: visible; }
    .main-nav > ul { flex-direction: column; text-align: center; gap: 12px; padding: 40px 24px; width: 100%; }
    .main-nav ul li { width: 100%; }
    .main-nav a { font-size: 1.2rem; justify-content: center; padding: 12px; }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; max-height: 0; padding: 0; display: none; overflow: hidden; min-width: 0; }
    .dropdown li a { font-size: 0.85rem; padding: 10px 16px; justify-content: center; }
    .has-dropdown:hover .dropdown,
    .has-dropdown.touch-open .dropdown { display: block; max-height: none; padding-bottom: 8px; }
    
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .cards-grid-p { grid-template-columns: repeat(2, 1fr); }
    .stats-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-block:nth-child(2n) { border-right: none; }
    
    .hero-premium { padding: 100px 0 60px; }
    .split-layout { grid-template-columns: 1fr; gap: 40px; }
    .detail-grid { grid-template-columns: 1fr; }
    .why-layout { grid-template-columns: 1fr; gap: 40px; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-banner-premium { padding: 60px 48px; flex-wrap: wrap; }
    .footer-top { grid-template-columns: 1fr; gap: 60px; }
    .footer-brand { margin: 0 auto; text-align: center; }

    /* Scale down 520px hero banners on tablet */
    .hero-slideshow, .container-wide img[style*="520px"], .container-wide video { height: 400px !important; min-height: 400px !important; }

    /* Fix homepage slideshow negative margin on tablet */
    .hero-premium .container-wide > div[style*="margin-top"] { margin-top: 0px !important; }
}

/* Mobile Phones */
@media (max-width: 600px) {
    .container, .container-wide { padding: 0 24px; }
    
    /* h1/h2 sizes handled by clamp() — no override needed */
    
    /* Fix inline hardcoded heights/margins on subpage hero images */
    .container-wide .fade-up[style*="margin-top: 40px"] { margin-top: 20px !important; margin-bottom: 30px !important; }
    .hero-slideshow, .container-wide img[style*="520px"], .container-wide video { height: 320px !important; min-height: 320px !important; }

    .hero-eyebrow span { font-size: 0.65rem; }

    /* Fix homepage slideshow negative margin on mobile */
    .hero-premium .container-wide > div[style*="margin-top"] { margin-top: 0px !important; margin-bottom: 16px !important; }

    /* Branding Overlay Scaling for Mobile */
    .hero-logo-icon { display: none !important; }
    .hero-logo-text { font-size: 3.2rem !important; padding-top: 5px !important; }
    .hero-logo-container { gap: 1rem !important; }

    /* Slide text sizing for mobile */
    .hero-slide { padding-bottom: 40px !important; }
    .hero-slide-text { font-size: 1.6rem !important; }

    /* Fix tall inline images on mobile */
    .container-wide img[style*="380px"] { height: 220px !important; }
    
    .hero-actions-p { flex-direction: column; width: 100%; align-items: stretch; }
    .hero-actions-p .btn { width: 100%; justify-content: center; }

    .hero-stats-p { flex-wrap: wrap; gap: 24px 40px; justify-content: center; }
    .h-stat-item { min-width: 80px; }
    
    .cards-grid-p { grid-template-columns: 1fr; }
    .stats-strip-grid { grid-template-columns: 1fr; gap: 32px; }
    .stat-block { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 24px; }
    .stat-block:last-child { border-bottom: none; }
    
    .contact-layout-p { grid-template-columns: 1fr; gap: 40px; }
    .form-row-p { grid-template-columns: 1fr; }
    .form-box-premium { padding: 40px 24px; }
    
    .footer-top { grid-template-columns: 1fr; text-align: center; gap: 60px; }
    .footer-brand { margin: 0 auto; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .footer-bottom-inner { flex-direction: column; gap: 20px; text-align: center; }
    
    .cta-banner-premium { padding: 48px 24px; flex-direction: column; text-align: center; }
    .cta-actions-p { width: 100%; flex-direction: column; }
    .cta-actions-p .btn { width: 100%; justify-content: center; }
    .process-grid { grid-template-columns: 1fr; }
    .compliance-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .offices-grid-p { grid-template-columns: 1fr; }
    .footer-accreditations { flex-direction: column; align-items: center; }
    .industry-grid-wrapper { flex-direction: column; }
    .industry-grid-wrapper .industry-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* 📲 User-Agent / Device Specific Refinements */
[data-device="mobile"] .site-header { padding: 10px 0; }
[data-device="tablet"] .hero-text-premium { padding: 0 5%; }

/* User-Agent / Touch Feedback Optimization */
@media (hover: none) {
    .svc-card-premium:hover { transform: none; }
    .industry-card-p:hover { background: rgba(255,255,255,0.03); }
}

/* =============================================
   DARK MODE — Toggleable + auto-detect
   ============================================= */
/* Variables scoped to html[data-theme="dark"] */
[data-theme="dark"] {
    --white: #0F172A;
    --off-white: #1E293B;
    --text: #F1F5F9;
    --body: #CBD5E1;
    --border: #334155;
    --navy: #F1F5F9;
    --navy-mid: #CBD5E1;
    --navy-pale: #1E293B;
    --navy-light: #334155;
    --gold-pale: #1E293B;
    --glass: rgba(15, 23, 42, 0.85);
    --muted: #94A3B8;
    --accent: #38BDF8;
}
[data-theme="dark"] body { background: #0F172A; }
[data-theme="dark"] .site-header { background: rgba(15,23,42,0.8); border-bottom-color: #334155; }
[data-theme="dark"] .site-header.scrolled { background: rgba(15,23,42,0.95); }
[data-theme="dark"] .logo span { color: var(--text) !important; }

/* Cards & Panels */
[data-theme="dark"] .svc-card-premium,
[data-theme="dark"] .detail-card,
[data-theme="dark"] .compliance-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .contact-card-premium,
[data-theme="dark"] .form-box-premium { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .svc-card-premium p,
[data-theme="dark"] .detail-card p { color: #94A3B8; }
[data-theme="dark"] .svc-icon-p { background: #334155; color: #F1F5F9; }

/* Navigation */
[data-theme="dark"] .dropdown { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .dropdown li a { color: #CBD5E1; border-bottom-color: #334155; }
[data-theme="dark"] .dropdown li a:hover { background: #334155; color: #F1F5F9; }
[data-theme="dark"] .main-nav a { color: #CBD5E1; }
[data-theme="dark"] .main-nav a:hover { color: #F1F5F9; background: rgba(255,255,255,0.05); }
[data-theme="dark"] .main-nav a.active { color: #3B82F6; }
[data-theme="dark"] .nav-toggle span { background: #CBD5E1; }

/* Forms */
[data-theme="dark"] .form-group-p input,
[data-theme="dark"] .form-group-p textarea { background: #0F172A; border-color: #334155; color: #F1F5F9; }
[data-theme="dark"] .form-group-p input:focus,
[data-theme="dark"] .form-group-p textarea:focus { border-color: #3B82F6; background: #1E293B; }
[data-theme="dark"] .form-group-p label { color: #CBD5E1; }

/* Sections */
[data-theme="dark"] .trust-bar { background: #1E293B; border-color: #334155; }
[data-theme="dark"] .trust-bar-label { color: #94A3B8; }
[data-theme="dark"] .trust-item { color: #CBD5E1; }
[data-theme="dark"] .hero-premium { background: #1E293B; border-bottom-color: #334155; }
[data-theme="dark"] .section-light { background: #1E293B; }
[data-theme="dark"] .section { background: #0F172A; }
[data-theme="dark"] .section-navy { background: #0B1120; }

/* Typography */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5 { color: #F1F5F9; }
[data-theme="dark"] p { color: #CBD5E1; }
[data-theme="dark"] .section-label { color: #3B82F6; }
[data-theme="dark"] .hero-text-premium p { color: #94A3B8; }
[data-theme="dark"] .hero-eyebrow span { color: #94A3B8; }
[data-theme="dark"] .hero-stats-p .h-stat-item span { color: #94A3B8; }
[data-theme="dark"] .hero-stats-p .h-stat-item strong,
[data-theme="dark"] .h-stat-item strong,
[data-theme="dark"] .stat-block .num { color: #F1F5F9 !important; }
[data-theme="dark"] .h-stat-item span { color: #3B82F6 !important; }
[data-theme="dark"] .check-list li { color: #CBD5E1; border-bottom-color: #334155; }
[data-theme="dark"] .check-list li i { background: rgba(37,99,235,0.2); color: #3B82F6; }
[data-theme="dark"] .rule { background: #334155; }
[data-theme="dark"] blockquote { color: #CBD5E1 !important; }

/* Buttons */
[data-theme="dark"] .btn-primary { background: #2563EB; color: #FFFFFF; border-color: #2563EB; }
[data-theme="dark"] .btn-outline { background: transparent; color: #CBD5E1; border-color: #475569; }
[data-theme="dark"] .btn-outline:hover { background: rgba(255,255,255,0.05); color: #F1F5F9; border-color: #94A3B8; }
[data-theme="dark"] .btn-navy { background: #2563EB; color: #FFFFFF; border-color: #2563EB; }

/* Links */
[data-theme="dark"] a { color: #3B82F6; }
[data-theme="dark"] .svc-link { color: #3B82F6; }
[data-theme="dark"] .industry-link { color: #3B82F6; }

/* Contact & Office */
[data-theme="dark"] .contact-item-p span,
[data-theme="dark"] .contact-item-p a { color: #CBD5E1; }
[data-theme="dark"] .office-tag { background: #334155; border-color: #475569; color: #CBD5E1; }

/* Footer */
[data-theme="dark"] .footer-bottom { background: rgba(0,0,0,0.2); }
[data-theme="dark"] .footer-brand p { color: #94A3B8; }

/* Social Proof */
[data-theme="dark"] .section-sm span[style*="color: var(--navy)"] { color: #CBD5E1 !important; }

/* CTA sections */
[data-theme="dark"] .section-cta-premium { background: #0B1120; }
[data-theme="dark"] .cta-banner-premium { background: #1E293B; border-color: #334155; }

/* Selection & Misc */
[data-theme="dark"] ::selection { background: rgba(37,99,235,0.3); color: #F1F5F9; }
[data-theme="dark"] .alert-success { background: #0F2F1E; border-color: #166534; color: #86EFAC; }
[data-theme="dark"] .alert-error { background: #2F0F0F; border-color: #991B1B; color: #FCA5A5; }

/* Inline style overrides */
[data-theme="dark"] [style*="color: var(--navy)"] { color: #CBD5E1 !important; }
[data-theme="dark"] .london-presence-section { background: #0F172A; }

/* Light-mode fix: hero stat numbers (4+, 150+, 24/7) were white-on-white and unreadable */
.hero-stats-p .stat-block .num { color: var(--navy); }
