﻿@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #06180d;
    --bg-mid: #0f2a19;
    --bg-light: #f5f7fb;
    --surface: rgba(255, 255, 255, 0.08);
    --surface-strong: rgba(255, 255, 255, 0.14);
    --primary: #84cc16;
    --primary-dark: #16a34a;
    --accent: #f59e0b;
    --text-dark: #0f172a;
    --text-light: #f8fafc;
    --text-muted: #dcfce7;
    --border-light: rgba(148, 163, 184, 0.25);
    --shadow: 0 20px 45px rgba(15, 23, 42, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
}

.site-preloader {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at 30% 20%, rgba(34, 197, 94, 0.15), transparent 45%),
        radial-gradient(circle at 75% 80%, rgba(21, 128, 61, 0.12), transparent 46%),
        rgba(8, 26, 16, 0.88);
    /* Translucent dark green */

    /* Premium Glassmorphism */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transition: opacity 0.85s ease, visibility 0.85s ease;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    transform: translateY(0) scale(1);
    transition: transform 0.85s ease, opacity 0.85s ease;
}

.site-preloader.is-hidden .preloader-content {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
}

.preloader-orbit {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid rgba(34, 197, 94, 0.1);
    border-top-color: rgba(34, 197, 94, 0.95);
    border-right-color: rgba(134, 239, 172, 0.65);
    animation: preloader-spin 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.05), 0 18px 40px rgba(6, 24, 13, 0.4);
}

.preloader-orbit::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    animation: preloader-spin 4s linear infinite reverse;
}

.preloader-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #dcfce7 42%, rgba(34, 197, 94, 0.6) 100%);
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.5);
    animation: preloader-pulse 2s ease-in-out infinite alternate;
}

/* Premium Ethereal Ripple Effect */
.preloader-dot::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.6);
    animation: preloader-ripple 2.5s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
    z-index: -1;
}

.preloader-brand {
    font-family: "Playfair Display", serif;
    font-size: clamp(30px, 4.8vw, 42px);
    line-height: 1.12;
    letter-spacing: 0.8px;
    margin-bottom: 8px;

    /* Text Shimmer Effect */
    background: linear-gradient(110deg,
            #cbd5e1 0%,
            #ffffff 45%,
            #ffffff 55%,
            #cbd5e1 100%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: text-shimmer 3s linear infinite;

    /* High-End Rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.preloader-tagline {
    margin-top: 10px;
    color: #9bb894;
    font-size: 14px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(24px) scale(0.992);
    filter: blur(2px);
    transition:
        opacity 0.72s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.72s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

@keyframes preloader-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes preloader-spin-reverse {
    to {
        transform: rotate(-360deg);
    }
}

@keyframes preloader-pulse {
    from {
        transform: scale(0.92);
        opacity: 0.82;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes text-shimmer {
    to {
        background-position: 200% center;
    }
}

@keyframes preloader-ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

body.cookie-consent-visible {
    padding-bottom: 82px;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    padding-top: 90px;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    line-height: 1.16;
    letter-spacing: -0.25px;
    margin-bottom: 12px;
}

.section-heading p {
    color: #4b5563;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.72;
}

.section-heading.light {
    color: var(--text-light);
}

.section-heading.light p {
    color: var(--text-muted);
}

/* Ensure paragraph text is readable across all dark sections */
:is(.services, .process, .cta, .page-header, .values-section,
    .cert-section, .service-packages, .portfolio-results,
    .insights-section, .engagement-section, .standards-section,
    .expert-notes, .roi-calculator-section) .section-heading p {
    color: rgba(255, 255, 255, 0.85);
}

/* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 13, 31, 0.85);
    backdrop-filter: blur(16px);
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== PREMIUM NAVBAR LOGO (FINAL) ===== */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.5px;
    white-space: nowrap;
    line-height: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;

    /* High-End Text Rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;

    /* Premium Text Gradient - Sharper Contrast */
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    /* Subtle Glow */
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.15));
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 1;

    /* Stronger Green Glow */
    filter: drop-shadow(0 4px 18px rgba(34, 197, 94, 0.35));

    /* Turn Text Green */
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
    transform: scale(1.05) rotate(-2deg);
}

/* Premium hover effect */
.logo:hover img {
    transform: translateY(-2px) scale(1.07);
    filter: drop-shadow(0 0 8px rgba(109, 214, 36, 0.45));
}

.logo span {
    transition: color 0.3s ease;
}

.logo:hover span {
    color: #7ed957;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

.navbar ul li a {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.navbar ul li a:hover {
    color: var(--accent);
}

.nav-cta {
    margin-top: 0;
    padding: 10px 22px;
    font-size: 15px;
}

/* ===== BUTTONS ===== */

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 34px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(34, 197, 94, 0.45);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--text-light);
    box-shadow: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

/* ===== HERO — ELITE PROFESSIONAL FINAL ===== */

.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background: radial-gradient(circle at top, #1a3a23 0%, #08150d 60%);
    color: var(--text-light);
    padding: 150px 0 90px;
    min-height: calc(100vh - 90px);

    display: flex;
    align-items: center;
}

/* ===============================
   PREMIUM AURORA BACKGROUND SYSTEM
=============================== */

/* MAIN PREMIUM GLOW (Retained and Enhanced) */
.hero::before {
    content: "";
    position: absolute;
    width: 900px;
    height: 900px;
    top: -300px;
    right: -200px;
    z-index: 1;
    pointer-events: none;

    background: radial-gradient(circle,
            rgba(34, 197, 94, 0.18),
            rgba(16, 185, 129, 0.05),
            transparent 70%);

    filter: blur(80px);
    animation: heroGlowFloat 16s ease-in-out infinite alternate;
}

/* DEPTH LIGHT */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        radial-gradient(circle at 70% 30%, rgba(132, 204, 22, 0.08), transparent 60%);
}

/* AURORA MESH CONTAINER */
.hero-cinematic-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    /* Keep above main radial gradient */
    pointer-events: none;
    overflow: hidden;
    opacity: 1;
    /* Made fully opaque */
    mix-blend-mode: color-dodge;
    /* Blend perfectly with dark background */
}

/* Reusable Aurora Section Class */
.dark-aurora-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.dark-aurora-section>* {
    position: relative;
    z-index: 5;
}

/* Ensure the background stays behind the content */
.dark-aurora-section>.hero-cinematic-bg {
    z-index: 1;
}

/* AURORA ORBS */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    /* Creates the soft gradient blend */
    opacity: 0.85;
    /* Highly visible */
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

/* Primary Brand Green Orb */
.orb-1 {
    width: 80vw;
    height: 80vh;
    background: #22c55e;
    top: -20%;
    left: -10%;
    animation-name: auroraFloat1;
    animation-duration: 24s;
}

/* Lime Green Highlight */
.orb-2 {
    width: 60vw;
    height: 60vh;
    background: #84cc16;
    bottom: -10%;
    right: -20%;
    animation-name: auroraFloat2;
    animation-duration: 28s;
}

/* Cool Emerald Depth */
.orb-3 {
    width: 90vw;
    height: 90vh;
    background: #059669;
    top: 30%;
    left: 20%;
    animation-name: auroraFloat3;
    animation-duration: 32s;
}

/* Deep Teal Contrast */
.orb-4 {
    width: 50vw;
    height: 50vh;
    background: #0d9488;
    bottom: 20%;
    left: 40%;
    animation-name: auroraFloat4;
    animation-duration: 20s;
}

/* ===============================
   ANIMATIONS (ULTRA SMOOTH)
=============================== */

@keyframes auroraFloat1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(15%, 10%) scale(1.1) rotate(45deg);
    }

    100% {
        transform: translate(-5%, 20%) scale(0.95) rotate(90deg);
    }
}

@keyframes auroraFloat2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-20%, -15%) scale(1.05) rotate(-30deg);
    }

    100% {
        transform: translate(10%, -25%) scale(1.15) rotate(-60deg);
    }
}

@keyframes auroraFloat3 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-10%, 15%) scale(1.2) rotate(60deg);
    }

    100% {
        transform: translate(15%, -10%) scale(0.9) rotate(120deg);
    }
}

@keyframes auroraFloat4 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(25%, -10%) scale(0.8) rotate(-45deg);
    }

    100% {
        transform: translate(-15%, 15%) scale(1.1) rotate(-90deg);
    }
}

@keyframes heroGlowFloat {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-4%, 3%, 0) scale(1.08);
    }

    100% {
        transform: translate3d(4%, -3%, 0) scale(1.03);
    }
}

/* ===============================
   CONTENT LAYER (ALWAYS TOP)
=============================== */

.hero-content {
    position: relative;
    z-index: 5;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
    gap: 40px;
}

/* ===============================
   TEXT ENTER ANIMATION
=============================== */

.hero-text {
    text-align: left;
    animation: fadeUpElite 0.9s cubic-bezier(.2, .7, .2, 1) forwards;
}

@keyframes fadeUpElite {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-text h1 {
    font-family: "Playfair Display", serif;
    font-size: 54px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

.hero-stats h3 {
    font-size: 24px;
}

.hero-stats p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ===============================
   PREMIUM HERO CARD
=============================== */

.hero-card {
    position: relative;
    z-index: 5;

    background: rgba(255, 255, 255, 0.07);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.28),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(10px);
    align-self: stretch;

    animation: heroFloatElite 6s ease-in-out infinite;
}

@keyframes heroFloatElite {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

/* ===============================
   CARD CONTENT
=============================== */

.hero-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.hero-metric {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.25s ease;
}

.hero-metric:hover {
    transform: translateX(4px);
}

.hero-metric:last-child {
    border-bottom: none;
}

.hero-metric h3 {
    font-size: 26px;
}

.metric-up {
    color: var(--accent);
    font-size: 13px;
}

.hero-card-note {
    margin-top: 16px;
    color: var(--text-muted);
}

/* ===== LOGO STRIP ===== */

.logo-strip {
    padding: 30px 0 50px;
    background: #f0f4ff;
}

.team-strip-head {
    max-width: 980px;
    margin: 0 auto 12px;
    text-align: center;
}

.logo-strip p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 10px;
}

.team-strip-progress {
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.3);
    overflow: hidden;
}

.team-strip-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #84cc16);
    transition: width 0.18s linear;
}

.team-scroll-wrap {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 0 12px;
    scrollbar-width: none;
}

.team-scroll-wrap::-webkit-scrollbar {
    display: none;
}

.team-scroll-wrap::before,
.team-scroll-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 44px;
    z-index: 2;
    pointer-events: none;
}

.team-scroll-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #f0f4ff 10%, rgba(240, 244, 255, 0));
}

.team-scroll-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #f0f4ff 10%, rgba(240, 244, 255, 0));
}

.team-scroll-track {
    display: flex;
    gap: 12px;
    width: max-content;
    padding: 2px 0 4px;
}

.team-scroll-card {
    flex: 0 0 var(--team-card-width, 320px);
    width: var(--team-card-width, 320px);
    min-height: 120px;
    padding: 16px 16px 14px;
    border-radius: 14px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    background:
        radial-gradient(circle at 16% 12%, rgba(96, 165, 250, 0.16), transparent 42%),
        linear-gradient(155deg, #ffffff, #f8fbff 68%);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.team-scroll-card.is-active {
    transform: translateY(-3px);
    border-color: rgba(34, 197, 94, 0.42);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
}

.team-scroll-card h4 {
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: 1.15;
}

.team-scroll-card p {
    margin-top: 8px;
    color: #475569;
    line-height: 1.58;
    font-size: 14px;
}

.social-connect-strip {
    padding: 20px 0 34px;
    background: #f0f4ff;
}

.social-connect-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px 22px;
}

.social-connect-inner p {
    color: #334155;
}

.social-connect-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-connect-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    color: #166534;
    background: white;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-connect-links a:hover {
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.48);
    background: rgba(219, 234, 254, 0.6);
}

/* =====================================================
   ===== SERVICES (ULTRA PREMIUM – CLEAN FINAL) =====
===================================================== */

.services {
    padding: 100px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ----- subtle background depth ----- */
.services::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;

    background:
        radial-gradient(circle at 20% 10%, rgba(122, 219, 70, 0.06), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.05), transparent 60%);
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg,
            transparent 20%,
            rgba(122, 219, 70, 0.08),
            transparent 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::after {
    opacity: 1;
}

/* =====================================================
   GRID
===================================================== */

.service-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* =====================================================
   CARD
===================================================== */

.service-card {
    position: relative;
    isolation: isolate;

    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 26px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);

    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.20),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);

    transition:
        transform 0.35s cubic-bezier(.2, .7, .2, 1),
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

/* premium glow layer */
.service-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;

    background: radial-gradient(circle at top,
            rgba(132, 204, 22, 0.22),
            transparent 65%);

    opacity: 0;
    transition: opacity 0.35s ease;
}

/* =====================================================
   HOVER (ELITE FEEL)
===================================================== */

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(122, 219, 70, 0.45);

    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.28),
        0 0 20px rgba(122, 219, 70, 0.12);
}

.service-card:hover::before {
    opacity: 1;
}

/* =====================================================
   TYPOGRAPHY (FIXED COLOR ISSUE)
===================================================== */

.services .service-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

/* STRONG selector fixes grey text issue */
.services .service-card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.65;
}

/* micro movement */
.service-card h3 {
    transition: transform 0.3s ease;
}

.service-card:hover h3 {
    transform: translateX(3px);
}

/* optional premium text lift */
.service-card:hover p {
    color: rgba(255, 255, 255, 0.92);
}

/* ===== PROCESS ===== */

.process {
    padding: 90px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 24px;
}

.process-card span {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    display: inline-block;
}

/* ===== CASE STUDY ===== */

.case-highlight {
    padding: 90px 0;
    background: #f8fafc;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: center;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
    margin: 24px 0;
}

.case-results h3 {
    font-size: 26px;
}

.case-card {
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.case-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.case-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

/* ===== TESTIMONIALS (ELITE PREMIUM FINAL) ===== */

.testimonials {
    padding: 90px 0;
    background: #f0f4ff;
}

/* ===== GRID ===== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* ===== CARD ===== */

.testimonial-card {
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;

    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);

    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);

    display: flex;
    flex-direction: column;
    height: 100%;

    /* PREMIUM MOTION */
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    /* reveal animation */
    opacity: 0;
    transform: translateY(20px);
    animation: testimonialReveal 0.8s ease forwards;
}

/* stagger animation */
.testimonial-card:nth-child(2) {
    animation-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* ===== PREMIUM HOVER ===== */

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

/* soft glow layer */
.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right,
            rgba(34, 197, 94, 0.08),
            transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* ===== QUOTE TEXT ===== */

.testimonial-card p {
    color: #374151;
    margin-bottom: 18px;
    flex-grow: 1;
    line-height: 1.6;
}

/* ===== AUTHOR ===== */

.testimonial-card h4,
.testimonial-card strong {
    margin-bottom: 4px;
    font-weight: 600;
}

.testimonial-card span {
    color: #6b7280;
    font-size: 14px;
}

/* ===== ANIMATION ===== */

@keyframes testimonialReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CTA ===== */

.cta {
    padding: 80px 0 100px;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.cta-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(120deg, rgba(34, 197, 94, 0.2), rgba(245, 158, 11, 0.2));
    border-radius: 20px;
    padding: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ===== PAGE HEADER ===== */

.page-header {
    padding: 110px 20px 70px;
    text-align: center;
    background: linear-gradient(120deg, #102415, #1a3a23);
    color: var(--text-light);
}

.page-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 44px;
    line-height: 1.14;
    letter-spacing: -0.35px;
    margin-bottom: 12px;
}



.page-header p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

/* ===== ABOUT ===== */

.about-section {
    padding: 90px 0;
    background: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.about-card {
    background: white;
    padding: 28px;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.about-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.about-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.mission-vision-section {
    padding: 84px 0;
    background: linear-gradient(120deg, #f0f4ff, #eef6ff);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 980px;
    margin: 0 auto;
}

body.cookie-consent-visible .mission-vision-grid {
    padding-bottom: 26px;
}

.mission-vision-card {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(34, 197, 94, 0.14);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    padding: 30px 30px;
}

.mission-vision-card h3 {
    font-size: clamp(30px, 3.2vw, 40px);
    line-height: 1.24;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
    max-width: 26ch;
}

.mission-vision-card p:last-child {
    color: #475569;
    line-height: 1.78;
    font-size: 17px;
    max-width: 74ch;
}

.values-section {
    padding: 90px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
}

/* ===== HOME ADDITIONS ===== */

.roi-calculator-section {
    padding: 86px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

/* Ensure the grid floats above the aurora background */
.roi-calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    align-items: start;
}

.roi-calculator-copy h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    line-height: 1.14;
    margin-bottom: 12px;
}

.roi-calculator-copy>p {
    color: #c9d6ff;
    line-height: 1.75;
    max-width: 620px;
}

.roi-calculator-points {
    margin-top: 18px;
    list-style: none;
    display: grid;
    gap: 10px;
}

.roi-calculator-points li {
    color: #dbe7ff;
    line-height: 1.6;
}

.roi-calculator-points li::before {
    content: "•";
    color: #d9f99d;
    margin-right: 8px;
}

.roi-calculator-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(191, 219, 254, 0.24);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.3);
    padding: 22px;
}

.roi-calculator-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.roi-calculator-form label {
    display: grid;
    gap: 8px;
    color: #f0fdf4;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25px;
}

.roi-calculator-form input {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15, 23, 42, 0.45);
    color: #f8fafc;
    padding: 10px 12px;
    font-size: 15px;
}

.roi-calculator-form input:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.roi-results-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.roi-result-card {
    background: rgba(15, 23, 42, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 13px 14px;
}

.roi-result-card span {
    color: #bbf7d0;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.roi-result-card h3 {
    margin-top: 8px;
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.1;
}

.roi-result-featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.roi-result-featured span {
    color: rgba(6, 24, 13, 0.8) !important;
    font-weight: 700;
}

.roi-result-featured h3 {
    color: var(--bg-dark);
}

.roi-result-featured p {
    margin-top: 8px;
    color: rgba(6, 24, 13, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.value-band {
    padding: 70px 0;
    background: #f8fafc;
}

.value-band .value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.value-band-heading {
    margin-bottom: 32px;
}

.value-band-heading p {
    color: #5b6472;
}

.value-band .value-card {
    background: white;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.industry-section {
    padding: 90px 0;
    background: #f0f4ff;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    align-items: center;
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.industry-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.industry-card h4 {
    margin-bottom: 8px;
}

.toolkit-section {
    padding: 80px 0;
    background: #f8fafc;
}

.toolkit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    text-align: center;
}

.toolkit-grid span {
    background: white;
    padding: 14px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.team-section {
    padding: 90px 0;
    background: #f0f4ff;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: center;
}

.team-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.team-card ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.team-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

/* ===== ABOUT ADDITIONS ===== */

.timeline-section {
    padding: 90px 0;
    background: #f8fafc;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.timeline-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.timeline-card span {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.cert-section {
    padding: 80px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
}

.cert-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.cert-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    font-weight: 600;
}

/* ===== SERVICES PAGE ===== */

.service-packages {
    padding: 90px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.services-quick-nav {
    background: #153822;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.quick-nav-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.quick-nav-wrap p {
    color: #86efac;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.quick-nav-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.quick-nav-chips a {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #e5ecff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quick-nav-chips a:hover {
    background: rgba(34, 197, 94, 0.22);
    border-color: rgba(34, 197, 94, 0.45);
    transform: translateY(-1px);
}

.quick-nav-chips a:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.8);
    outline-offset: 2px;
}

.quick-nav-chips a.active {
    background: rgba(34, 197, 94, 0.24);
    border-color: rgba(96, 165, 250, 0.55);
    color: #eff4ff;
}

.services-page {
    padding: 72px 0 110px;
}

.services-page .section-heading {
    margin-bottom: 24px;
}

.services-page .section-heading h2 {
    font-size: clamp(34px, 3.6vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.3px;
}

.services-page .section-heading:first-of-type {
    margin-top: 24px;
    margin-bottom: 8px;
}

.services-page .section-heading[id] {
    scroll-margin-top: 124px;
}

.services-page .section-heading:not(:first-of-type) {
    margin-top: 18px;
}

.services-page .service-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin-bottom: 48px;
}

.services-page .service-card {
    min-height: 118px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 14px;
}

.services-page .service-card h3 {
    font-size: 20px;
    line-height: 1.22;
    margin-bottom: 10px;
}

.services-page .service-card p {
    font-size: 16px;
    line-height: 1.62;
    color: #d7ddff;
}

.services-page .service-container:last-of-type {
    margin-bottom: 12px;
}

.services-page .service-card-link {
    text-decoration: none;
    cursor: pointer;
}

.services-page .service-card-link:focus-visible {
    outline: 2px solid rgba(132, 204, 22, 0.9);
    outline-offset: 2px;
}

.service-detail-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 64px;
    background:
        radial-gradient(circle at 85% 20%, rgba(132, 204, 22, 0.22), transparent 42%),
        radial-gradient(circle at 10% 90%, rgba(16, 185, 129, 0.18), transparent 40%),
        linear-gradient(120deg, #102415, #1a3a23);
    color: var(--text-light);
}

.service-detail-hero .container {
    max-width: 960px;
}

.service-detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #dcfce7;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.service-detail-back:hover {
    background: rgba(132, 204, 22, 0.2);
    border-color: rgba(132, 204, 22, 0.45);
    transform: translateY(-1px);
}

.service-detail-kicker {
    display: block;
    margin-top: 18px;
    color: #86efac;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
}

.service-detail-hero h1 {
    margin-top: 10px;
    font-family: "Playfair Display", serif;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.1;
    letter-spacing: -0.3px;
}

.service-detail-hero p {
    margin-top: 12px;
    color: #d1fae5;
    font-size: 18px;
    line-height: 1.7;
    max-width: 58ch;
}

.service-detail-page {
    padding: 0 0 110px;
    background: linear-gradient(180deg, #f3faf6 0%, #edf6f1 100%);
    overflow-x: clip;
}

.service-detail-card {
    max-width: 1120px;
    margin: -18px auto 0;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    background: linear-gradient(160deg, #ffffff 0%, #f8fcfa 100%);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
}

.service-detail-media {
    position: relative;
    background: #0f172a;
}

.service-detail-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 55%, rgba(15, 23, 42, 0.42) 100%);
    pointer-events: none;
}

.service-detail-image {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.service-detail-media {
    display: flex;
    align-items: stretch;
}

.service-detail-media .service-detail-image {
    flex: 1 1 auto;
}

.service-detail-content {
    padding: 36px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-content h2 {
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.2;
    margin-bottom: 14px;
    color: #0f172a;
}

.service-detail-content h3 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 19px;
    color: #14532d;
}

.service-detail-content p {
    color: #334155;
    line-height: 1.8;
    font-size: 17px;
}

.service-detail-content ul {
    list-style: none;
    margin: 0;
    display: grid;
    gap: 12px;
}

.service-detail-content li {
    color: #1e293b;
    line-height: 1.7;
    display: flex;
    align-items: flex-start;
    background: #f3f8f5;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 10px 12px;
}

.service-detail-content li::before {
    content: "•";
    color: #16a34a;
    margin-right: 10px;
    font-size: 20px;
    line-height: 1;
}

.service-detail-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (max-width: 980px) {
    .service-detail-card {
        grid-template-columns: 1fr;
    }

    .service-detail-image {
        min-height: 0;
        max-height: none;
    }
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.package-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.package-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.package-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.package-card.featured {
    border-color: rgba(245, 158, 11, 0.6);
    box-shadow: 0 18px 35px rgba(245, 158, 11, 0.2);
}

.faq-section {
    padding: 90px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.faq-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* ===== PORTFOLIO ===== */

.client-works-section {
    padding: 80px 0;
    background: #f8fafc;
}

.h-scroll-portfolio-section {
    --h-scroll-bottom-safe: 0px;
    position: relative;
    height: 230vh;
    background: linear-gradient(160deg, #f8fafc, #eef4ff);
    overflow: clip;
}

body.cookie-consent-visible .h-scroll-portfolio-section {
    --h-scroll-bottom-safe: 90px;
}

.h-scroll-sticky {
    position: sticky;
    top: 90px;
    height: calc(100vh - 90px - var(--h-scroll-bottom-safe));
    padding-bottom: var(--h-scroll-bottom-safe);
    display: grid;
    grid-template-rows: auto 1fr;
}

.h-scroll-head {
    padding: 22px 0 10px;
}

.h-scroll-head h2 {
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 46px);
    margin-bottom: 10px;
}

.h-scroll-head p:last-child {
    color: #475569;
    line-height: 1.72;
}

.h-scroll-progress {
    margin-top: 14px;
    height: 5px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.28);
    overflow: hidden;
}

.h-scroll-progress span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #65a30d);
    transition: width 0.16s linear;
}

.h-scroll-track-wrap {
    overflow: hidden;
    padding: 10px 0 26px;
    position: relative;
}

.h-scroll-track-wrap::before,
.h-scroll-track-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 56px;
    z-index: 2;
    pointer-events: none;
}

.h-scroll-track-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #eef4ff 10%, rgba(238, 244, 255, 0));
}

.h-scroll-track-wrap::after {
    right: 0;
    background: linear-gradient(270deg, #eef4ff 10%, rgba(238, 244, 255, 0));
}

.h-scroll-track {
    display: flex;
    gap: 18px;
    padding: 4px 7vw 0;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.h-scroll-card {
    width: min(62vw, 460px);
    min-height: 320px;
    border-radius: 18px;
    padding: 24px 22px;
    border: 1px solid rgba(96, 165, 250, 0.26);
    background:
        radial-gradient(circle at 18% 14%, rgba(14, 165, 233, 0.16), transparent 42%),
        linear-gradient(155deg, #1d4a2c, #0f2a19 62%, #13311d);
    color: #e2e8f0;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.h-scroll-card.is-active {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.55);
    box-shadow: 0 26px 42px rgba(2, 6, 23, 0.34);
}

.h-scroll-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(191, 219, 254, 0.14);
    color: #f0fdf4;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    border: 1px solid rgba(191, 219, 254, 0.24);
}

.h-scroll-tag::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d9f99d;
}

.h-scroll-card[data-h-card-type="invoice"] .h-scroll-tag::before {
    background: #84cc16;
}

.h-scroll-card[data-h-card-type="light"] .h-scroll-tag::before {
    background: #f59e0b;
}

.h-scroll-card[data-h-card-type="craft"] .h-scroll-tag::before {
    background: #f472b6;
}

.h-scroll-card[data-h-card-type="cctv"] .h-scroll-tag::before {
    background: #a3e635;
}

.h-scroll-card[data-h-card-type="impact"] .h-scroll-tag::before {
    background: #34d399;
}

.h-scroll-card h3 {
    margin-top: 16px;
    font-size: clamp(30px, 4.2vw, 42px);
    line-height: 1.16;
}

.h-scroll-card p {
    margin-top: 12px;
    color: #cbd5e1;
    line-height: 1.75;
    font-size: 17px;
}

.client-works-section .section-heading {
    margin-bottom: 34px;
}

.client-work-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
    background: #eaf2fb;
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-radius: 22px;
    padding: 14px;
    margin-bottom: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.client-work-card.reverse .client-work-copy {
    order: 2;
}

.client-work-card.reverse .client-work-media {
    order: 1;
}

.client-work-copy {
    padding: 22px 20px;
}

.client-work-copy h3 {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.12;
    margin-bottom: 12px;
}

.client-work-copy p {
    color: #475569;
    line-height: 1.75;
    font-size: 17px;
    max-width: 62ch;
}

.client-work-meta {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f0fdf4;
    color: #166534;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.25px;
}

/* =====================================================
   ===== CLIENT WORK MEDIA (PREMIUM GRADIENT SYSTEM)
===================================================== */

.client-work-media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;

    /* premium depth */
    box-shadow:
        inset 0 0 80px rgba(0, 0, 0, 0.25),
        0 20px 40px rgba(0, 0, 0, 0.12);

    transition: transform 0.45s ease,
        box-shadow 0.45s ease;
}

/* subtle motion */
.client-work-card:hover .client-work-media {
    transform: scale(1.02);
    box-shadow:
        inset 0 0 100px rgba(0, 0, 0, 0.25),
        0 28px 50px rgba(0, 0, 0, 0.16);
}

.client-work-media span {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: white;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 10px 24px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* =====================================================
   ===== EXISTING CLIENT COLORS (KEEP STYLE CONSISTENT)
===================================================== */

.otomation-media {
    background:
        radial-gradient(circle at 20% 20%, #5f6f7a, transparent 60%),
        linear-gradient(135deg, #0d2a2a, #004d40);
}

.skylight-media {
    background:
        radial-gradient(circle at 20% 20%, #9b6a47, transparent 60%),
        linear-gradient(135deg, #5a2d10, #7a3e00);
}

.petal-media {
    background:
        radial-gradient(circle at 20% 20%, #8a4bd6, transparent 60%),
        linear-gradient(135deg, #5b1f89, #b31368);
}

.eyetrack-media {
    background:
        radial-gradient(circle at 20% 20%, #5f6f7a, transparent 60%),
        linear-gradient(135deg, #0b1b2a, #1f6f2a);
}

/* =====================================================
   ===== NEW CLIENTS (ULTRA PREMIUM COLORS)
===================================================== */

.bellwether-media {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 60%),
        linear-gradient(135deg, #1f2937, #334155, #64748b);
}

.nutrihive-media {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 60%),
        linear-gradient(135deg, #0f3d2e, #166534, #22c55e);
}

.royal-media {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 60%),
        linear-gradient(135deg, #3b1f0f, #7c2d12, #ea580c);
}

.portfolio-grid,
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 70px 0;
    background: #f8fafc;
    width: min(1200px, 92%);
    margin: 0 auto;
}

.portfolio-card,
.blog-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.portfolio-results {
    padding: 70px 0 90px;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.results-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
    text-align: center;
}

/* ===== BLOG ===== */

.insights-section {
    padding: 70px 0 90px;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.insights-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 16px;
}

.insights-card .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    margin-top: 16px;
}

/* ===== BLOG ADDITIONS ===== */

.blog-featured {
    padding: 76px 0 82px;
    background: #f0f4ff;
}

.blog-page-header {
    padding: 96px 20px 60px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    align-items: start;
}

.featured-content {
    max-width: 620px;
}

.featured-content h2 {
    line-height: 1.2;
    margin-bottom: 12px;
}

.featured-content p {
    line-height: 1.72;
}

.featured-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
    height: 100%;
    width: 100%;
    max-width: 560px;
    justify-self: end;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.featured-card:hover {
    border-color: rgba(96, 165, 250, 0.42);
}

.featured-card ul {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.featured-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.blog-topics {
    padding: 70px 0 90px;
    background: #f8fafc;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.topic-card {
    background: white;
    padding: 16px;
    border-radius: 14px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

/* ===== HOME EXPANDED ===== */

.capability-section {
    padding: 96px 0;
    background: #f8fafc;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
    align-items: stretch;
}

.capability-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.capability-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12);
}

.capability-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.capability-card p {
    line-height: 1.7;
    color: #4b5563;
}

.engagement-section {
    padding: 96px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 26px;
    align-items: stretch;
}

.engagement-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.engagement-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.28);
}

.engagement-card span {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.engagement-card h3 {
    margin-bottom: 10px;
    font-size: 23px;
}

.engagement-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.governance-section {
    padding: 92px 0;
    background: #f0f4ff;
}

.governance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.governance-grid h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin-bottom: 14px;
}

.governance-grid>div>p:last-child {
    color: #4b5563;
    line-height: 1.8;
    max-width: 620px;
}

.governance-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.governance-card h4 {
    font-size: 21px;
    margin-bottom: 8px;
}

.governance-card ul {
    list-style: none;
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.governance-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.home-faq-section {
    padding: 90px 0 100px;
    background: #f8fafc;
}

.home-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.home-faq-card {
    background: white;
    border-radius: 16px;
    padding: 26px 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.home-faq-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.home-faq-card p {
    color: #4b5563;
    line-height: 1.7;
}

/* ===== ABOUT EXPANDED ===== */

.leadership-principles {
    padding: 96px 0;
    background: #f0f4ff;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.principle-card {
    background: white;
    border-radius: 16px;
    padding: 26px 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.principle-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.principle-card p {
    color: #4b5563;
    line-height: 1.7;
}

.dept-section {
    padding: 96px 0;
    background: #f8fafc;
}

.dept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.dept-grid h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin-bottom: 12px;
}

.dept-grid>div>p:last-child {
    color: #4b5563;
    line-height: 1.8;
    max-width: 640px;
}

.dept-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.dept-card {
    background: white;
    border-radius: 14px;
    padding: 22px 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.dept-card h4 {
    margin-bottom: 9px;
    font-size: 20px;
}

.dept-card p {
    color: #4b5563;
    line-height: 1.65;
}

.standards-section {
    padding: 96px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.standards-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 26px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.standards-card h3 {
    margin-bottom: 10px;
    font-size: 22px;
}

.standards-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.client-fit-section {
    padding: 90px 0 100px;
    background: #f8fafc;
}

.fit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.fit-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.fit-card h3 {
    font-size: 26px;
}

.fit-card ul {
    list-style: none;
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.fit-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.fit-card li {
    line-height: 1.6;
}

/* ===== PORTFOLIO EXPANDED ===== */

.portfolio-filter-bar {
    padding: 26px 0 34px;
    background: #f8fafc;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.portfolio-filter-chip {
    appearance: none;
    cursor: pointer;
    background: white;
    border: 1px solid rgba(34, 197, 94, 0.2);
    color: #1f2937;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.portfolio-filter-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 197, 94, 0.42);
    background: rgba(219, 234, 254, 0.58);
}

.portfolio-filter-chip.active {
    background: #16a34a;
    color: #eff6ff;
    border-color: #16a34a;
}

.portfolio-card.is-filter-hidden,
.deep-dive-card.is-filter-hidden {
    display: none;
}

.portfolio-deep-dive {
    padding: 92px 0;
    background: #f0f4ff;
}

.deep-dive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.deep-dive-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
}

.deep-dive-card h3 {
    font-size: 27px;
    line-height: 1.25;
}

.deep-dive-card p {
    margin: 12px 0 16px;
    color: #4b5563;
    line-height: 1.72;
}

.deep-dive-card ul {
    list-style: none;
    display: grid;
    gap: 11px;
}

.deep-dive-card li::before {
    content: "•";
    color: var(--accent);
    margin-right: 8px;
}

.case-comparison-section {
    padding: 88px 0;
    background: #f8fafc;
}

.case-comparison-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 18px;
}

.case-tab {
    appearance: none;
    border: 1px solid rgba(34, 197, 94, 0.24);
    border-radius: 999px;
    background: white;
    color: #166534;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 14px;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.case-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 197, 94, 0.45);
}

.case-tab.active {
    background: #16a34a;
    color: #eff6ff;
    border-color: #16a34a;
}

.case-panels {
    position: relative;
}

.case-panel {
    display: none;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.case-panel.active {
    display: block;
}

.case-panel h3 {
    font-size: clamp(26px, 3vw, 34px);
    margin-bottom: 10px;
}

.case-panel>p {
    color: #475569;
    line-height: 1.72;
    margin-bottom: 18px;
}

.case-metric-bars {
    display: grid;
    gap: 12px;
}

.case-metric-bar {
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 12px;
    padding: 10px 11px;
}

.case-metric-bar>div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #1e293b;
    font-size: 14px;
    margin-bottom: 8px;
}

.case-metric-bar strong {
    color: #16a34a;
}

.case-metric-bar i {
    display: block;
    width: var(--bar-width, 40%);
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #65a30d);
}

.deliverables-section {
    padding: 90px 0;
    background: #f8fafc;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.deliverables-grid h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin-bottom: 12px;
}

.deliverables-grid>div>p:last-child {
    color: #4b5563;
    line-height: 1.8;
}

.deliverables-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.deliverable-card {
    background: white;
    border-radius: 14px;
    padding: 18px 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.portfolio-cta-section {
    padding: 80px 0 100px;
    background: #f8fafc;
}

.portfolio-social-section {
    padding: 90px 0;
    background: #f0f4ff;
}

.portfolio-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: center;
}

.portfolio-social-grid h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    line-height: 1.16;
    margin-bottom: 12px;
}

.portfolio-social-grid>div>p:last-child {
    color: #4b5563;
    line-height: 1.8;
    max-width: 620px;
}

.portfolio-social-cards {
    display: grid;
    gap: 14px;
}

.portfolio-social-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 14px;
    padding: 18px 16px;
    color: #0f172a;
    cursor: pointer;
}

.portfolio-social-card svg {
    width: 16px;
    height: 16px;
    fill: #16a34a;
    margin-top: 3px;
}

.portfolio-social-card h3 {
    font-size: 19px;
    margin-bottom: 4px;
}

.portfolio-social-card p {
    color: #4b5563;
    line-height: 1.65;
}

.portfolio-social-card:hover {
    border-color: rgba(96, 165, 250, 0.45);
}

.portfolio-social-card:hover svg {
    fill: #22c55e;
}

.portfolio-social-card:hover h3 {
    color: #166534;
}

.portfolio-cta-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 18px;
    background: white;
    padding: 34px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.09);
}

.portfolio-cta-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.2;
}

.portfolio-cta-box p {
    color: #4b5563;
    margin-top: 10px;
    max-width: 700px;
    line-height: 1.72;
}

/* ===== BLOG EXPANDED ===== */

.editorial-series {
    padding: 92px 0;
    background: #f0f4ff;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.series-card {
    background: white;
    border-radius: 16px;
    padding: 26px 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.series-card h3 {
    margin-bottom: 10px;
    font-size: 24px;
}

.series-card p {
    color: #4b5563;
    line-height: 1.7;
}

.resource-vault {
    padding: 90px 0;
    background: #f8fafc;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.resource-card {
    background: white;
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.resource-card h3 {
    font-size: 25px;
}

.resource-card p {
    color: #4b5563;
    margin: 12px 0 18px;
    line-height: 1.7;
}

.resource-card .btn-secondary {
    color: var(--text-dark);
    border-color: rgba(15, 23, 42, 0.25);
    width: 100%;
    justify-content: center;
}

.resource-card .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.06);
}

.expert-notes {
    padding: 92px 0;
    background: linear-gradient(125deg, #12311d 0%, #1b4a2d 45%, #12311d 100%);
    color: var(--text-light);
}

.expert-notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    align-items: start;
}

.expert-notes-grid h2 {
    font-family: "Playfair Display", serif;
    font-size: 40px;
    margin-bottom: 12px;
}

.expert-notes-grid>div>p:last-child {
    color: var(--text-muted);
    line-height: 1.75;
}

.expert-note-card {
    background: var(--surface);
    border-radius: 14px;
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.expert-note-card h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.expert-note-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.blog-cta-section {
    padding: 75px 0 100px;
    background: #f8fafc;
}

.blog-cta-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 18px;
    background: white;
    padding: 34px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.09);
}

.blog-cta-box h2 {
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.2;
}

.blog-cta-box p {
    color: #4b5563;
    margin-top: 10px;
    max-width: 690px;
    line-height: 1.72;
}

/* ===== CARD HOVER SYSTEM ===== */

:is(.service-card,
    .process-card,
    .value-card,
    .industry-card,
    .testimonial-card,
    .about-card,
    .mission-vision-card,
    .timeline-card,
    .team-card,
    .cert-card,
    .package-card,
    .faq-card,
    .portfolio-card,
    .blog-card,
    .featured-card,
    .topic-card,
    .insights-card,
    .capability-card,
    .engagement-card,
    .governance-card,
    .home-faq-card,
    .principle-card,
    .dept-card,
    .standards-card,
    .fit-card,
    .deep-dive-card,
    .deliverable-card,
    .series-card,
    .resource-card,
    .expert-note-card,
    .results-card,
    .portfolio-social-card) {
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

:is(.service-card,
    .process-card,
    .value-card,
    .industry-card,
    .testimonial-card,
    .about-card,
    .mission-vision-card,
    .timeline-card,
    .team-card,
    .cert-card,
    .package-card,
    .faq-card,
    .portfolio-card,
    .blog-card,
    .featured-card,
    .topic-card,
    .insights-card,
    .capability-card,
    .engagement-card,
    .governance-card,
    .home-faq-card,
    .principle-card,
    .dept-card,
    .standards-card,
    .fit-card,
    .deep-dive-card,
    .deliverable-card,
    .series-card,
    .resource-card,
    .expert-note-card,
    .results-card,
    .portfolio-social-card):hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(96, 165, 250, 0.3);
}

:is(.service-card,
    .process-card,
    .value-card,
    .industry-card,
    .testimonial-card,
    .about-card,
    .mission-vision-card,
    .timeline-card,
    .team-card,
    .cert-card,
    .package-card,
    .faq-card,
    .portfolio-card,
    .blog-card,
    .featured-card,
    .topic-card,
    .insights-card,
    .capability-card,
    .engagement-card,
    .governance-card,
    .home-faq-card,
    .principle-card,
    .dept-card,
    .standards-card,
    .fit-card,
    .deep-dive-card,
    .deliverable-card,
    .series-card,
    .resource-card,
    .expert-note-card,
    .results-card,
    .portfolio-social-card):focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.85);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    .preloader-orbit,
    .preloader-orbit::before,
    .preloader-core {
        animation: none;
    }

    .reveal-on-scroll,
    .reveal-on-scroll.is-visible {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    :is(.service-card,
        .process-card,
        .value-card,
        .industry-card,
        .testimonial-card,
        .about-card,
        .mission-vision-card,
        .timeline-card,
        .team-card,
        .cert-card,
        .package-card,
        .faq-card,
        .portfolio-card,
        .blog-card,
        .featured-card,
        .topic-card,
        .insights-card,
        .capability-card,
        .engagement-card,
        .governance-card,
        .home-faq-card,
        .principle-card,
        .dept-card,
        .standards-card,
        .fit-card,
        .deep-dive-card,
        .deliverable-card,
        .series-card,
        .resource-card,
        .expert-note-card,
        .results-card,
        .portfolio-social-card):hover {
        transform: none;
    }
}

/* ===== CONTACT ===== */

.contact-section {
    padding: 80px 0 110px;
    background: #f8fafc;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: start;
}

.contact-info h2,
.contact-form-box h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info p {
    color: #4b5563;
    margin-bottom: 16px;
}

.contact-item {
    background: white;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.contact-item h4 {
    font-size: 14px;
    color: var(--primary-dark);
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, 0.22);
    background: #f8fbff;
    color: #16a34a;
    font-size: 13px;
    font-weight: 600;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.contact-social-links a:hover {
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(219, 234, 254, 0.7);
}

.contact-form-box {
    background: white;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #f9fafb;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(34, 197, 94, 0.7);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.contact-message {
    grid-column: 1 / -1;
    min-height: 140px;
    resize: vertical;
}

.contact-message-wrap {
    grid-column: 1 / -1;
}

.field-error {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #b91c1c;
}

.contact-submit {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 172px;
}

.contact-submit .submit-spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    animation: contact-submit-spin 0.85s linear infinite;
    display: none;
}

.contact-submit.is-loading {
    cursor: wait;
    opacity: 0.95;
}

.contact-submit.is-loading .submit-spinner {
    display: inline-block;
}

.contact-submit:disabled {
    pointer-events: none;
}

@keyframes contact-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.contact-map-shell {
    margin-top: 34px;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.09);
    background:
        radial-gradient(circle at 10% 5%, rgba(132, 204, 22, 0.12), transparent 32%),
        linear-gradient(145deg, #ffffff 0%, #f7fbff 70%);
    box-shadow:
        0 26px 52px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    overflow: hidden;
}

.contact-map-head {
    padding: 26px 28px 20px;
}

.contact-map-kicker {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #15803d;
}

.contact-map-head h2 {
    margin-bottom: 10px;
    font-size: clamp(28px, 4vw, 34px);
    line-height: 1.2;
}

.contact-map-head p {
    max-width: 720px;
    color: #475569;
    line-height: 1.72;
}

.contact-map-link {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(21, 128, 61, 0.25);
    background: rgba(255, 255, 255, 0.8);
    color: #166534;
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-map-link:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 163, 74, 0.5);
    box-shadow: 0 10px 22px rgba(21, 128, 61, 0.18);
}

.contact-map-frame-wrap {
    position: relative;
    margin: 0 18px 18px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    overflow: hidden;
    background: #e2e8f0;
}

.contact-map-frame-wrap iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.form-messages {
    margin-bottom: 16px;
}

.form-message {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

/* ===== LEGAL PAGES ===== */

.legal-header {
    padding: 110px 20px 68px;
}

.legal-section {
    padding: 80px 0 100px;
    background: #f8fafc;
}

.legal-container {
    max-width: 980px;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 20px;
}

.legal-meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.legal-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    padding: 24px 24px 22px;
    margin-bottom: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.legal-card h2 {
    font-size: 25px;
    margin-bottom: 10px;
    line-height: 1.25;
}

.legal-card p,
.legal-card li {
    color: #475569;
    line-height: 1.78;
}

.legal-card ul {
    margin-left: 18px;
}

.legal-card a {
    color: #16a34a;
    font-weight: 600;
}

.legal-card a:hover {
    color: #15803d;
}

/* ===== THANK YOU ===== */

.thank-you-section {
    padding: 80px 0 110px;
    background: #f8fafc;
}

.thank-you-card {
    background: white;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.thank-you-card .hero-actions {
    justify-content: center;
}

.thank-you-card .btn-secondary {
    color: var(--text-dark);
    border-color: rgba(15, 23, 42, 0.2);
}

.thank-you-card .btn-secondary:hover {
    background: rgba(15, 23, 42, 0.06);
}

.thank-you-card p {
    margin: 14px auto 24px;
    color: #4b5563;
    max-width: 620px;
}

/* ===== FOOTER ===== */

.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(96, 165, 250, 0.22);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 28px;
    margin-bottom: 30px;
}

.site-footer h3 {
    font-family: "Playfair Display", serif;
    font-size: 22px;
    margin-bottom: 12px;
}

.site-footer h4 {
    margin-bottom: 16px;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 10px;
}

.site-footer p,
.site-footer li,
.site-footer a {
    line-height: 1.7;
}

.site-footer li a,
.site-footer p a {
    color: rgba(248, 250, 252, 0.88);
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer li a:hover,
.site-footer p a:hover {
    color: #d9f99d;
    transform: translateX(2px);
}

.footer-bottom {
    text-align: center;
    color: rgba(248, 250, 252, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 16px;
}

.footer-legal {
    display: inline-flex;
    gap: 14px;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(248, 250, 252, 0.72);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #d9f99d;
}

.footer-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    padding: 0 0 26px;
}

.footer-meta-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 16px;
}

.footer-meta-item h5 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #86efac;
    margin-bottom: 6px;
}

.footer-meta-item p {
    color: rgba(248, 250, 252, 0.84);
    line-height: 1.6;
    font-size: 14px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(248, 250, 252, 0.86);
    font-size: 13px;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social a:hover {
    color: #ecfccb;
    border-color: rgba(96, 165, 250, 0.46);
    background: rgba(34, 197, 94, 0.14);
}

.social-link svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: currentColor;
}

.quick-nav-chips a,
.social-connect-links a,
.contact-social-links a,
.footer-social a {
    min-height: 36px;
}

.service-card h3,
.portfolio-card h3,
.blog-card h3,
.deep-dive-card h3,
.portfolio-social-card h3 {
    overflow-wrap: anywhere;
}

/* ===== COOKIE CONSENT ===== */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 10px;
    z-index: 1200;
    padding: 10px 0 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie-consent.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.cookie-consent-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px 18px;
    background: rgba(8, 18, 44, 0.95);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.35);
}

.cookie-consent-copy p {
    color: #cbd5e1;
    line-height: 1.5;
    max-width: 760px;
    font-size: 14px;
}

.cookie-consent-copy a {
    color: #d9f99d;
    font-weight: 600;
}

.cookie-consent-copy a:hover {
    color: #ecfccb;
}

.cookie-consent-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cookie-btn {
    min-height: 36px;
    min-width: 96px;
    padding: 8px 14px;
    font-size: 14px;
}

.cookie-consent-actions .btn-secondary {
    border-color: rgba(148, 163, 184, 0.64);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
    .navbar {
        padding: 16px 24px;
    }

    .navbar ul {
        gap: 16px;
    }

    .hero-text h1 {
        font-size: clamp(48px, 6vw, 64px);
    }
}

@media (max-width: 900px) {

    /* Navbar Scaling */
    .navbar {
        padding: 14px 20px;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px 16px;
        align-items: center;
        justify-content: flex-end;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 10px 16px;
    }

    .navbar ul li a {
        font-size: 14px;
    }

    .nav-cta {
        padding: 10px 18px;
        font-size: 14px;
        white-space: nowrap;
    }

    /* Grid Stacking for Tablet */
    .footer-grid,
    .contact-form,
    .roi-calculator-form,
    .roi-results-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Padding adjustments for tablet */
    .hero {
        padding: 140px 20px 80px;
    }

    .capability-section,
    .engagement-section,
    .governance-section,
    .home-faq-section,
    .leadership-principles,
    .dept-section,
    .standards-section,
    .client-fit-section,
    .portfolio-deep-dive,
    .deliverables-section,
    .portfolio-social-section,
    .editorial-series,
    .resource-vault,
    .expert-notes {
        padding: 80px 20px;
    }

    /* Typography Scaling */
    .page-header h1 {
        font-size: clamp(38px, 5vw, 44px);
    }

    .section-heading h2 {
        font-size: clamp(34px, 5vw, 42px);
    }
}

@media (max-width: 768px) {

    /* Mobile Landscape Adjustments */
    .navbar {
        position: static;
        padding: 14px 16px;
        flex-wrap: wrap;
        gap: 12px;
    }

    main {
        padding-top: 0;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .navbar ul {
        justify-content: flex-start;
    }

    .nav-cta {
        margin-left: auto;
    }

    .page-header {
        padding: 88px 16px 56px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .client-work-card,
    .client-work-card.reverse {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .client-work-card.reverse .client-work-copy,
    .client-work-card.reverse .client-work-media {
        order: initial;
    }

    .client-work-copy {
        padding: 24px 20px;
    }

    .client-work-media {
        min-height: 240px;
    }

    .services-grid,
    .value-band-grid,
    .blog-grid,
    .portfolio-deep-dive .deep-dive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-box,
    .portfolio-cta-box,
    .blog-cta-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 32px 24px;
        gap: 24px;
    }

    .contact-map-head {
        padding: 22px 20px 18px;
    }

    .contact-map-frame-wrap {
        margin: 0 12px 12px;
        border-radius: 14px;
    }
}

@media (max-width: 640px) {
    /* Mobile Portrait Enhancements */

    /* Reveal animations drop filter payload to perform smoothly */
    .reveal-on-scroll {
        transform: translateY(16px) scale(0.996);
        filter: none;
    }

    /* Typography */
    .hero-text h1 {
        font-size: clamp(38px, 9vw, 44px);
    }

    .section-heading h2,
    .governance-grid h2,
    .dept-grid h2,
    .deliverables-grid h2,
    .expert-notes-grid h2,
    .portfolio-social-grid h2,
    .portfolio-cta-box h2,
    .blog-cta-box h2,
    .h-scroll-head h2 {
        font-size: clamp(28px, 8vw, 34px);
        line-height: 1.25;
    }

    /* Padding adjustments for breathing room on mobile */
    .hero {
        padding: 120px 16px 60px;
    }

    .capability-section,
    .engagement-section,
    .governance-section,
    .home-faq-section,
    .leadership-principles,
    .dept-section,
    .standards-section,
    .client-fit-section,
    .portfolio-deep-dive,
    .deliverables-section,
    .portfolio-social-section,
    .editorial-series,
    .resource-vault,
    .expert-notes,
    .roi-calculator-section,
    .services-page,
    .service-detail-page,
    .blog-featured {
        padding: 60px 16px;
    }

    /* General Cards */
    .capability-card,
    .engagement-card,
    .governance-card,
    .home-faq-card,
    .principle-card,
    .dept-card,
    .standards-card,
    .fit-card,
    .deep-dive-card,
    .resource-card,
    .expert-note-card,
    .services-page .service-card,
    .roi-calculator-card,
    .mission-vision-card,
    .client-work-copy {
        padding: 24px 20px;
        border-radius: 12px;
    }

    /* Make CTA buttons full width on small mobile devices for easier tapping */
    .btn {
        width: 100%;
        padding: 16px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    /* Preloader scaling */
    .preloader-orbit {
        width: 104px;
        height: 104px;
        margin-bottom: 16px;
    }

    .preloader-orbit::before {
        inset: 10px;
    }

    .preloader-dot {
        width: 32px;
        height: 32px;
    }

    .preloader-brand {
        font-size: clamp(26px, 7vw, 34px);
    }

    /* Horizontal scroll elements */
    .team-strip-progress,
    .team-scroll-wrap::before,
    .team-scroll-wrap::after,
    .h-scroll-track-wrap::before,
    .h-scroll-track-wrap::after,
    .h-scroll-progress {
        display: none;
    }

    .team-scroll-track,
    .h-scroll-track {
        display: flex;
        width: max-content;
        flex-wrap: nowrap;
        padding: 2px 4vw 4px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .team-scroll-track::-webkit-scrollbar,
    .h-scroll-track::-webkit-scrollbar {
        display: none;
    }

    .team-scroll-card {
        width: 80vw;
        min-height: 104px;
        padding: 14px 14px 12px;
    }

    .h-scroll-card {
        width: 88vw;
        min-height: 260px;
        padding: 20px 16px;
    }

    /* Navbar & Nav Links */
    .nav-links {
        width: 100%;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
    }

    .navbar ul li {
        width: 100%;
    }

    .navbar ul li a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-cta {
        width: 100%;
        margin-top: 8px;
    }

    .quick-nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-detail-hero {
        padding: 86px 16px 44px;
    }

    .service-detail-page {
        padding: 0 16px 60px;
    }

    .service-detail-card {
        margin-top: -8px;
        border-radius: 14px;
        grid-template-columns: 1fr;
    }

    .service-detail-content {
        padding: 22px 20px;
    }

    .service-detail-image {
        min-height: 0;
        max-height: none;
    }

    /* Filter Chips and Tabs */
    .portfolio-filter-chip,
    .case-tab,
    .quick-nav-chips a {
        width: 100%;
        justify-content: center;
        text-align: center;
        padding: 12px;
        font-size: 14px;
    }

    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        margin-bottom: 8px;
    }

    body.cookie-consent-visible {
        padding-bottom: 140px;
    }

    /* Footer Stacking */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        text-align: center;
        flex-direction: column;
        gap: 16px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
    z-index: 2000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.floating-whatsapp:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    z-index: -1;
    animation: waPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    opacity: 0.6;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
    }

    .floating-whatsapp svg {
        width: 24px;
        height: 24px;
    }
}

/* =====================================================
   GLOBAL PREMIUM GLOW HOVER FOR DARK CARDS
===================================================== */
:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card) {
    position: relative;
    isolation: isolate;
}

:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card)::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    z-index: -1;
    background: radial-gradient(circle at top, rgba(132, 204, 22, 0.22), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card):hover {
    transform: translateY(-8px);
    border-color: rgba(122, 219, 70, 0.45);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28), 0 0 20px rgba(122, 219, 70, 0.12);
}

:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card):hover::before {
    opacity: 1;
}

/* Typography hover shift */
:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card) h3 {
    transition: transform 0.3s ease;
}

:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card):hover h3 {
    transform: translateX(3px);
}

:is(.process-card, .engagement-card, .value-card, .cert-card, .expert-note-card):hover p {
    color: rgba(255, 255, 255, 0.92);
}

/* ===== FOUNDER & CEO SECTION (PREMIUM) ===== */
.founder-section {
    padding: 120px 0;
    background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.05), transparent 50%), var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.founder-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.04), transparent 60%);
    z-index: 0;
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.founder-copy .eyebrow {
    color: var(--primary);
    margin-bottom: 24px;
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
}

.founder-copy h2 {
    font-family: "Playfair Display", serif;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 28px;
    background: linear-gradient(135deg, #ffffff, #86efac);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-copy p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 24px;
    color: var(--text-muted);
    opacity: 0.9;
}

.founder-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-signature strong {
    font-family: "Playfair Display", serif;
    font-size: 26px;
    color: white;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.founder-signature br {
    display: inline-block;
    content: "";
    margin-top: 8px;
}

.founder-signature {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.founder-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 197, 94, 0.3);
}

.founder-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 28px;
    margin-bottom: 30px;
    color: white;
    background: linear-gradient(135deg, #fff, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-card ul {
    list-style: none;
    display: grid;
    gap: 20px;
}

.founder-card li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-muted);
}

.founder-card li::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}
