/* Footprints Media — main stylesheet.
   Base styles first, then responsive rules, technical fixes, the luxury
   theme and the final polish pass. theme.css loads after this file and
   wins where they overlap. Page sheets (about, blog, contact, courses,
   team) load in between. */

/* --- style.css --- */
/*==========================================================================
   FOOTPRINTS MEDIA — MASTER STYLESHEET (Merged v3.0)
   ==========================================================================
   Combines:
     • Modern design tokens, fluid typography, and responsive system (v2)
     • Rich component library, page templates, and 3D-ready interactions (v1)
   Structure:
     1.  Root Variables & Design Tokens
     2.  Reset & Base
     3.  Typography System
     4.  Utilities & Layout Helpers
     5.  Custom Cursor
     6.  Page Loader
     7.  Header & Navigation (Desktop + Mobile)
     8.  Buttons & Links
     9.  Global Components (Cards, Badges, Chips, Section Titles)
     10. Hero Section (Homepage) + 3D Canvas
     11. Trust Bar & Stats
     12. About / Intro Section
     13. Why Us / Differentiators
     14. Services Preview & Services Grid
     15. Process Timeline & Flow
     16. Team Preview & Team Grid
     17. Featured Work / Portfolio
     18. Testimonials Slider
     19. CTA Section (Dark)
     20. Footer
     21. About Page (Hero, Approach, Story Timeline, Mission, Values)
     22. Services Page (Hero, Problem/Solution, Industries, FAQ)
     23. Team Page (Extended)
     24. Contact Page (Info Panel + Form)
     25. Philosophy / Trust / Certificates / Company Info
     26. Effects (Reveal, Float, Fade, Scale, Ripple, Progress Bar, Back-to-Top)
     27. Accessibility & Motion Preferences
     28. Responsive Breakpoints
     29. End of File
   ========================================================================== */


@font-face {
    font-family: "Brand";
    src: url("../fonts/Uniform/Uniform.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Brand";
    src: url("../fonts/Uniform/Uniform Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Brand";
    src: url("../fonts/Uniform/Uniform Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*==========================================================================
   1. ROOT VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* -------------------------------------------------------------
       Breakpoint scale (desktop-first cascade):
       1920px desktop → default styles
       1440px laptop  → @media (max-width: 1440px)
       1024px tablet L → @media (max-width: 1024px)
       768px  tablet P → @media (max-width: 768px)
       480px  mobile L → @media (max-width: 480px)
       360px  mobile S → @media (max-width: 360px)
       ------------------------------------------------------------- */

    /* ---------- Brand Colors ---------- */
    --clr-primary: #f7860c;
    --clr-primary-rgb: 200, 90, 23;
    --clr-primary-light: #F8860A;
    --clr-primary-dark: #D85D00;
    --clr-primary-darker: #f5870c;

    /* Legacy aliases (kept for backward compatibility with v1 markup) */
    --primary: var(--clr-primary);
    --primary-dark: var(--clr-primary-dark);

    /* ---------- Surface / Neutral ---------- */
    --clr-background: #F8F8F6;
    --clr-surface: #FFFFFF;
    --clr-surface-alt: #FCFCFC;
    --clr-text-main: #1C1C1C;
    --clr-text-muted: #5A5A5A;
    --clr-text-soft: #666666;
    --clr-dark: #121212;
    --clr-dark-surface: #1E1E1E;
    --clr-border: #E6E6E3;
    --clr-border-soft: #EAEAEA;

    /* Legacy aliases */
    --background: var(--clr-background);
    --surface: var(--clr-surface);
    --heading: var(--clr-text-main);
    --text: var(--clr-text-muted);
    --border: var(--clr-border);

    /* ---------- Semantic / Status ---------- */
    --clr-danger: #DC3545;
    --clr-danger-rgb: 220, 53, 69;
    --clr-success: #2E7D32;
    --clr-warning: #FFCC66;
    --clr-tint-primary: #FFF0E7;
    --clr-tint-primary-soft: #FFE0CC;

    /* ---------- On-Dark Tokens ---------- */
    --clr-on-dark: var(--clr-surface);
    --clr-on-dark-80: rgba(255, 255, 255, 0.8);
    --clr-on-dark-70: rgba(255, 255, 255, 0.7);
    --clr-on-dark-60: rgba(255, 255, 255, 0.6);
    --clr-on-dark-50: rgba(255, 255, 255, 0.5);
    --clr-on-dark-10: rgba(255, 255, 255, 0.1);
    --clr-on-dark-05: rgba(255, 255, 255, 0.05);

    /* ---------- Typography ---------- */
    --font-heading: 'Brand', sans-serif;
    --font-body: 'Brand', sans-serif;
    --font-display: 'Brand', sans-serif;


    /* Fluid Type Scale (min, preferred, max) */
    --fs-xs: clamp(0.75rem, 0.70rem + 0.25vw, 0.875rem);
    --fs-sm: clamp(0.875rem, 0.80rem + 0.375vw, 1rem);
    --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --fs-lg: clamp(1.125rem, 1.00rem + 0.625vw, 1.375rem);
    --fs-xl: clamp(1.375rem, 1.20rem + 0.875vw, 1.75rem);
    --fs-2xl: clamp(1.75rem, 1.40rem + 1.75vw, 2.5rem);
    --fs-3xl: clamp(2.25rem, 1.75rem + 2.50vw, 3.5rem);
    --fs-4xl: clamp(2.75rem, 2.00rem + 3.75vw, 4.5rem);
    --fs-hero: clamp(3.5rem, 2.50rem + 5.00vw, 6.5rem);

    /* ---------- Spacing (Fluid) ---------- */
    --space-3xs: clamp(0.25rem, 0.20rem + 0.25vw, 0.375rem);
    --space-2xs: clamp(0.50rem, 0.40rem + 0.50vw, 0.75rem);
    --space-xs: clamp(0.75rem, 0.60rem + 0.75vw, 1.125rem);
    --space-sm: clamp(1.00rem, 0.80rem + 1.00vw, 1.500rem);
    --space-md: clamp(1.50rem, 1.20rem + 1.50vw, 2.250rem);
    --space-lg: clamp(2.00rem, 1.60rem + 2.00vw, 3.000rem);
    --space-xl: clamp(3.00rem, 2.40rem + 3.00vw, 4.500rem);
    --space-2xl: clamp(4.00rem, 3.20rem + 4.00vw, 6.000rem);
    --space-3xl: clamp(6.00rem, 4.80rem + 6.00vw, 9.000rem);

    /* Section rhythm */
    --section-py: clamp(5rem, 10vw, 8rem);
    --section-padding: var(--section-py);
    /* legacy alias */

    /* Fixed-header clearance (adjusted per breakpoint) */
    --header-offset: 100px;

    /* ---------- Layout ---------- */
    --container: 1280px;
    --container-md: 1200px;
    --container-sm: 1140px;

    /* ---------- Radius ---------- */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-pill: 100vw;

    /* ---------- Shadows (Layered) ---------- */
    --shadow-xs: 0 2px 6px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 30px 60px rgba(var(--clr-primary-rgb), 0.15);
    --shadow-3d: 0 30px 60px -15px rgba(var(--clr-primary-rgb), 0.25),
        0 18px 36px -18px rgba(0, 0, 0, 0.30);

    /* ---------- Glassmorphism ---------- */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-soft: rgba(255, 255, 255, 0.55);
    --glass-bg-dark: rgba(28, 28, 28, 0.75);
    --glass-blur: blur(16px);
    --glass-blur-lg: blur(24px);
    --glass-border: 1px solid rgba(255, 255, 255, 0.4);

    /* ---------- Motion ---------- */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --trans-fast: 0.20s var(--ease-out-expo);
    --trans-normal: 0.40s var(--ease-out-expo);
    --trans-slow: 0.80s var(--ease-in-out-circ);
    --transition: var(--trans-normal);
    /* legacy alias */

    /* ---------- 3D Perspective ---------- */
    --perspective-near: 800px;
    --perspective-far: 1600px;
    --tilt-strength: 8deg;

    /* ---------- Z-Index Layer System ---------- */
    --z-negative: -1;
    --z-base: 1;
    --z-canvas: 5;
    --z-content: 10;
    --z-header: 100;
    --z-menu-toggle: 101;
    --z-overlay: 900;
    --z-modal: 1000;
    --z-cursor: 9999;
    --z-loader: 10000;
}


/*==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: initial smooth;
    /* Smooth scroll handled via JS/Lenis */
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--clr-text-main);
    background-color: var(--clr-background);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    cursor: none;
    /* Custom cursor active */
}

/* Blueprint grid background (subtle) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: var(--z-negative);
}

/* Touch/mobile fallback — restore native cursor */
@media (hover: none) and (pointer: coarse) {

    body,
    a,
    button {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}

/* Accessible focus ring */
:focus-visible {
    outline: 2px solid var(--clr-primary);
    outline-offset: 4px;
}

/* Preloader state — lock scroll */
body.loading,
body.nav-open {
    overflow: hidden;
}

img,
picture,
video,
canvas {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
}

img {
    width: 100%;
    transition: transform 0.4s ease;
}

.brand-logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.brand-logo img{
    width:220px;      /* Adjust between 200-240px if needed */
    height:auto;
    display:block;
}


a {
    text-decoration: none;
    color: inherit;
    cursor: none;
}

button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: none;
}

ul,
ol {
    list-style: none;
}

address {
    font-style: normal;
}

input,
textarea,
select {
    font-family: inherit;
    outline: none;
}

section {
    padding: var(--section-py) 0;
}

/* Anchor scroll clearance for fixed header */
[id] {
    scroll-margin-top: var(--header-offset);
}

/* Text selection */
::selection {
    background: var(--clr-primary);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #EFEFEF;
}

::-webkit-scrollbar-thumb {
    background: var(--clr-primary);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-primary-dark);
}


/*==========================================================================
   3. TYPOGRAPHY SYSTEM
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.15;
    font-weight: 600;
    color: var(--clr-text-main);
    letter-spacing: -0.02em;
}

h1,
.h1 {
    font-size: var(--fs-hero);
    font-weight: 300;
    letter-spacing: -0.03em;
}

h2,
.h2 {
    font-size: var(--fs-4xl);
    font-weight: 400;
}

h3,
.h3 {
    font-size: var(--fs-3xl);
    font-weight: 500;
}

h4,
.h4 {
    font-size: var(--fs-2xl);
    font-weight: 500;
}

h5,
.h5 {
    font-size: var(--fs-xl);
    font-weight: 600;
}

h6,
.h6 {
    font-size: var(--fs-lg);
    font-weight: 600;
}

p {
    font-size: var(--fs-base);
    color: var(--clr-text-muted);
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

.text-primary {
    color: var(--clr-primary);
}

.text-white {
    color: var(--clr-surface);
}

.text-muted {
    color: var(--clr-text-muted);
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* Gradient headline text */
.gradient-text {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Section-level tags / labels */
.section-tag,
.section-label {
    display: inline-block;
    padding: 8px 18px;
    background: var(--clr-tint-primary);
    color: var(--clr-primary);
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-title h2 {
    margin: var(--space-sm) 0;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: var(--fs-lg);
}

.section-text {
    font-size: var(--fs-lg);
    max-width: 600px;
    color: var(--clr-text-muted);
}


/*==========================================================================
   4. UTILITIES & LAYOUT HELPERS
   ========================================================================== */
.container {
    width: min(92%, var(--container));
    margin-inline: auto;
    padding: 0 var(--space-md);
}

.container-md {
    width: min(92%, var(--container-md));
    margin-inline: auto;
    padding: 0 var(--space-md);
}

.container-sm {
    width: min(92%, var(--container-sm));
    margin-inline: auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding-top: var(--section-py);
    padding-bottom: var(--section-py);
    contain: layout style;
}

.section-padding-bottom {
    padding-bottom: var(--section-py);
}

.py-large {
    padding: 140px 0;
}

.bg-white {
    background-color: var(--clr-surface);
}

.bg-background,
.bg-light {
    background-color: var(--clr-background);
}

.bg-primary {
    background-color: var(--clr-primary);
}

.bg-dark {
    background-color: var(--clr-dark);
}

.bg-dark-alt {
    background-color: var(--clr-dark-surface);
}

.grid {
    display: grid;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: stretch;
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.grid-5-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-md);
}

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.align-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

/* Margin utilities */
.mt-1 {
    margin-top: 10px;
}

.mt-2 {
    margin-top: 20px;
}

.mt-3 {
    margin-top: 30px;
}

.mt-4 {
    margin-top: 40px;
}

.mt-5 {
    margin-top: 50px;
}

.mt-6 {
    margin-top: var(--space-2xl);
}

.mt-8 {
    margin-top: var(--space-3xl);
}

.mb-1 {
    margin-bottom: 10px;
}

.mb-2 {
    margin-bottom: 20px;
}

.mb-3 {
    margin-bottom: 30px;
}

.mb-4 {
    margin-bottom: 40px;
}

.mb-5 {
    margin-bottom: 50px;
}

.mb-8 {
    margin-bottom: var(--space-3xl);
}

.pt-1 {
    padding-top: var(--space-xs);
}

.pt-2 {
    padding-top: var(--space-sm);
}

.pt-3 {
    padding-top: var(--space-md);
}

.pt-4 {
    padding-top: var(--space-lg);
}

.pt-6 {
    padding-top: var(--space-2xl);
}

.pt-8 {
    padding-top: var(--space-3xl);
}

.margin-top-xs {
    margin-top: 10px;
}

.margin-top-sm {
    margin-top: 20px;
}

.margin-top-md {
    margin-top: 30px;
}

.margin-top-lg {
    margin-top: 50px;
}

.margin-bottom-lg {
    margin-bottom: 50px;
}

.max-w-sm {
    max-width: 600px;
}

.max-w-md {
    max-width: 800px;
}

.max-w-lg {
    max-width: 1000px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.rounded-circle {
    border-radius: 50%;
}

.rounded {
    border-radius: 25px;
}

.overflow-hidden {
    overflow: hidden;
}

.hidden {
    display: none;
}

.center {
    text-align: center;
}

.center-btn {
    text-align: center;
    margin-top: var(--space-xl);
}

.shadow {
    box-shadow: var(--shadow-lg);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-3d {
    box-shadow: var(--shadow-3d);
}

.glass {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Loading state */
.loading {
    pointer-events: none;
    opacity: 0.6;
}


/*==========================================================================
   5. CUSTOM CURSOR
   ========================================================================== */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: var(--z-cursor);
    pointer-events: none;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    will-change: transform;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--clr-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(var(--clr-primary-rgb), 0.5);
}

.cursor-hover .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(var(--clr-primary-rgb), 0.1);
    border-color: transparent;
}


/*==========================================================================
   6. PAGE LOADER
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background-color: var(--clr-background);
    z-index: var(--z-loader);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-content {
    text-align: center;
    width: 100%;
    max-width: 400px;
    padding: var(--space-lg);
}

.loader-brand {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    font-weight: 300;
}

.loader-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(28, 28, 28, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--clr-primary);
    transition: width 0.1s linear;
}

.loader-percentage {
    font-family: var(--font-heading);
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}


/*==========================================================================
   7. HEADER & NAVIGATION
   ========================================================================== */
.header,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-md) 0;
    z-index: var(--z-header);
    transition: all var(--trans-normal);
}

.header.scrolled,
.site-header.scrolled {
    padding: var(--space-sm) 0;
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.navbar,
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo svg,
.brand-logo img svg {

    height: 60px;
    width: auto;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Desktop nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a,
.nav-link {
    position: relative;
    font-weight: 500;
    font-size: var(--fs-sm);
    color: var(--clr-text-main);
    padding: var(--space-3xs) 0;
    transition: color var(--trans-normal);
    overflow: hidden;
    display: inline-block;
}

/* Text-swap hover effect (v2) */
.nav-link::before {
    content: attr(data-hover);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--clr-primary);
    transition: transform var(--trans-normal);
}

.nav-link:hover {
    color: transparent;
}

.nav-link:hover::before {
    transform: translateY(-100%);
}

/* Underline hover (v1 fallback for standard anchors) */
.nav-links a:not(.nav-link)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--clr-primary);
    transition: 0.35s ease;
}

.nav-links a:not(.nav-link):hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover:not(.nav-link) {
    color: var(--clr-primary);
}

.nav-link.active,
.nav-links a.active {
    color: var(--clr-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.nav-btn {
    padding: 14px 28px;
}

/* Mobile menu toggle */
.menu-btn,
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(28, 28, 28, 0.15);
    border-radius: 50%;
    transition: all var(--trans-fast);
    flex-shrink: 0;
    background: transparent;
}

.mobile-menu-toggle:hover {
    border-color: var(--clr-text-main);
    background-color: var(--clr-text-main);
}

.hamburger-line {
    display: block;
    width: 18px;
    height: 2px;
    background-color: var(--clr-text-main);
    transition: transform var(--trans-fast), opacity var(--trans-fast), background-color var(--trans-fast);
}

.mobile-menu-toggle:hover .hamburger-line {
    background-color: var(--clr-surface);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:first-child {
    transform: translateY(4px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--clr-surface);
    z-index: calc(var(--z-header) - 1);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--trans-normal), visibility var(--trans-normal);
}

.mobile-menu-overlay[aria-hidden="false"],
.mobile-menu-overlay.active,
.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    width: 100%;
    max-width: 420px;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
    text-align: center;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 400;
    color: var(--clr-text-main);
    transition: color var(--trans-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--clr-primary);
}

.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xs);
}

.mobile-menu-email,
.mobile-menu-phone {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    transition: color var(--trans-fast);
}

.mobile-menu-email:hover,
.mobile-menu-phone:hover {
    color: var(--clr-primary);
}


/*==========================================================================
   8. BUTTONS & LINKS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--fs-base);
    transition: all var(--trans-normal);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-large,
.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-lg);
}

.btn-full-width {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    margin-top: 10px;
    cursor: pointer;
}

.magnetic-btn {
    will-change: transform;
}

/* Primary CTA */
.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-surface);
    border: 1px solid var(--clr-primary);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--clr-primary-dark);
    color: var(--clr-surface);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* Secondary (bordered) */
.btn-secondary {
    border: 2px solid var(--clr-border);
    background: var(--clr-surface);
    color: var(--clr-text-main);
}

.btn-secondary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--clr-text-main);
}

/* Outline */
.btn-outline {
    background-color: transparent;
    color: var(--clr-text-main);
    border: 2px solid rgba(28, 28, 28, 0.2);
}

.btn-outline:hover {
    border-color: var(--clr-text-main);
    background-color: var(--clr-text-main);
    color: var(--clr-surface);
}

/* On-dark white */
.btn-white {
    background-color: var(--clr-surface);
    color: var(--clr-text-main);
    border: 1px solid var(--clr-surface);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--clr-surface);
}

.btn:active {
    transform: scale(0.96);
}

/* Text link with arrow */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    font-weight: 600;
    color: var(--clr-text-main);
    position: relative;
}

.text-link svg {
    transition: transform var(--trans-fast);
}

.text-link:hover svg {
    transform: translateX(4px);
}

.text-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--clr-primary);
    transition: width var(--trans-normal);
}

.text-link:hover::after {
    width: 100%;
}

/* Ripple effect helper */
.ripple {
    position: absolute;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    to {
        transform: translate(-50%, -50%) scale(18);
        opacity: 0;
    }
}


/*==========================================================================
   9. GLOBAL COMPONENTS
   ========================================================================== */

/* --- Section Header (reusable across pages) --- */
.section-header {
    text-align: center;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.pill-badge,
.badge {
    background-color: var(--clr-tint-primary);
    color: var(--clr-primary);
    padding: 8px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--clr-tint-primary-soft);
}

.main-heading,
.heading-primary {
    font-size: var(--fs-4xl);
    color: var(--clr-text-main);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.heading-secondary {
    font-size: var(--fs-3xl);
    color: var(--clr-text-main);
    font-weight: 800;
    line-height: 1.3;
}

.hero-lead {
    max-width: 780px;
    margin-inline: auto;
    font-size: var(--fs-lg);
    color: var(--clr-text-muted);
    line-height: 1.7;
}

.sub-heading {
    font-size: var(--fs-lg);
    color: var(--clr-text-soft);
    margin-top: 10px;
}

/* --- Glass card --- */
.glass-card {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transform-style: preserve-3d;
    transition: transform var(--trans-normal), box-shadow var(--trans-normal);
}

.glass-card:hover {
    transform: translateY(-6px) translateZ(20px);
    box-shadow: var(--shadow-3d);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--clr-primary-rgb), 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-info h4 {
    font-size: var(--fs-base);
    margin-bottom: 2px;
}

.card-info p {
    font-size: var(--fs-sm);
    margin: 0;
}

/* --- Chip --- */
.chip {
    padding: 14px 24px;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.35s ease;
    cursor: default;
}

.chip:hover {
    background: var(--clr-primary);
    color: var(--clr-surface);
    border-color: var(--clr-primary);
    transform: translateY(-3px);
}

/* --- Highlight row --- */
.highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.highlight svg {
    width: 18px;
    height: 18px;
    color: var(--clr-primary);
}


/*==========================================================================
   10. HERO SECTION (HOMEPAGE) + 3D CANVAS
   ========================================================================== */
.hero,
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-offset);
    overflow: hidden;
    perspective: var(--perspective-far);
}

/* 3D canvas layer (Three.js / WebGL background) */
.canvas-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-canvas);
    pointer-events: auto;
}

.hero-container {
    position: relative;
    z-index: var(--z-content);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
    pointer-events: none;
    width: min(92%, var(--container));
    margin-inline: auto;
}

.hero-content,
.hero-left {
    max-width: 800px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 10px 18px;
    background: var(--clr-tint-primary);
    color: var(--clr-primary);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.1rem;
}

.hero-subtitle {
    display: block;
    font-size: var(--fs-lg);
    font-weight: 500;
    margin-bottom: var(--space-sm);
    opacity: 0;
    /* GSAP animates to 1 */
}

.hero-title,
.hero h1 {
    max-width: 700px;
    margin-bottom: var(--space-md);
}

.hero-description,
.hero p {
    font-size: var(--fs-xl);
    max-width: 600px;
    margin-bottom: var(--space-lg);
    opacity: 0;
}

.hero-cta-group,
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
    opacity: 0;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 15px;
}

/* Floating 3D card cluster */
.hero-floating-cards {
    position: relative;
    width: 300px;
    height: 400px;
    flex-shrink: 0;
    pointer-events: auto;
    transform-style: preserve-3d;
}

.float-card-1 {
    position: absolute;
    top: 10%;
    right: -20px;
    will-change: transform;
    transform: translateZ(40px);
}

.float-card-2 {
    position: absolute;
    bottom: 20%;
    left: -40px;
    will-change: transform;
    transform: translateZ(20px);
}

/* Legacy hero image (v1) with 3D lift */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: var(--perspective-near);
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 520px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.hero-image img {
    border-radius: 28px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.45s var(--ease-out-expo);
}

.hero-image:hover img {
    transform: translateY(-8px) rotateY(-4deg) rotateX(2deg);
}

.hero-image::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(var(--clr-primary-rgb), 0.15);
    filter: blur(70px);
    border-radius: 50%;
    top: -40px;
    left: -40px;
    z-index: -1;
}

.hero-image::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: white;
    border-radius: 22px;
    bottom: -25px;
    right: -25px;
    box-shadow: var(--shadow-md);
    transform: translateZ(30px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    z-index: var(--z-content);
}

.scroll-text {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: rgba(28, 28, 28, 0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--clr-primary);
    animation: scrollLine 2s infinite cubic-bezier(0.85, 0, 0.15, 1);
}

@keyframes scrollLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Float animation shared by hero image + .float utility */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

.float {
    animation: float 6s ease-in-out infinite;
}


/*==========================================================================
   11. TRUST BAR & STATS
   ========================================================================== */
.trust-bar {
    padding: 35px 0;
    background: var(--clr-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px;
    transition: transform var(--trans-normal);
}

.trust-item:hover {
    transform: translateY(-6px);
}

.trust-item svg {
    width: 26px;
    height: 26px;
    color: var(--clr-primary);
}

.trust-item h4 {
    font-size: 1rem;
    font-weight: 600;
}

/* Stats section (dark) */
.stats-section {
    padding: var(--space-2xl) 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    text-align: center;
}

.stat-item {
    padding: var(--space-lg);
    transition: transform var(--trans-normal);
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    color: var(--clr-primary);
    margin-bottom: var(--space-2xs);
    line-height: 1;
    font-weight: 700;
}

.stat-label {
    font-size: var(--fs-lg);
    color: var(--clr-on-dark-70);
    margin: 0;
}


/*==========================================================================
   12. ABOUT / INTRO SECTION
   ========================================================================== */
.about-preview,
.intro-section {
    background: var(--clr-background);
    position: relative;
}

.about-grid,
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-image,
.intro-visual {
    position: relative;
    padding-right: var(--space-lg);
    perspective: var(--perspective-near);
}

.about-image img,
.image-wrapper img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s var(--ease-out-expo);
}

.about-image:hover img {
    transform: scale(1.03) rotateY(-2deg);
}

.about-image::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 4px solid var(--clr-primary);
    border-radius: 25px;
    top: -25px;
    left: -25px;
    z-index: -1;
}

.image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-xl);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    margin: var(--space-sm) 0;
    max-width: 520px;
}

.about-content p {
    margin-bottom: var(--space-sm);
    max-width: 580px;
}

/* Feature list */
.feature-list {
    margin: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-lg);
    font-weight: 500;
}

.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: rgba(var(--clr-primary-rgb), 0.1);
    color: var(--clr-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Experience badge (glass) */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: 0;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    box-shadow: var(--shadow-md);
    text-align: center;
    z-index: 2;
    max-width: 220px;
    transform: translateZ(30px);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: var(--space-3xs);
    font-weight: 700;
}

.badge-text {
    font-size: var(--fs-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Subtle divider under section */
.about-preview::after,
.services-preview::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--clr-primary);
    border-radius: 20px;
    opacity: 0.15;
}


/*==========================================================================
   13. WHY US / DIFFERENTIATORS
   ========================================================================== */
.why-us {
    background: var(--clr-surface);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: var(--space-xl);
}

.why-card {
    background: var(--clr-surface);
    padding: 45px 35px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.why-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 0;
    background: var(--clr-primary);
    transition: height 0.4s ease;
}

.why-card:hover::before {
    height: 100%;
}

.why-card:hover {
    transform: translateY(-10px) translateZ(15px);
    box-shadow: var(--shadow-md);
}

.why-card svg {
    width: 42px;
    height: 42px;
    color: var(--clr-primary);
    margin-bottom: 22px;
    transition: transform 0.35s ease;
}

.why-card:hover svg {
    transform: rotate(-8deg) scale(1.15);
}

.why-card h3 {
    margin-bottom: 15px;
}


/*==========================================================================
   14. SERVICES PREVIEW & SERVICES GRID
   ========================================================================== */
.services-preview {
    background: var(--clr-background);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: var(--space-xl);
}

/* Large services grid (services page) */
.services-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--clr-surface);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border);
    transition: all var(--trans-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    will-change: transform;
    transform-style: preserve-3d;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: rgba(var(--clr-primary-rgb), 0.15);
    transform: translateY(-10px) translateZ(20px);
}

.service-card::after {
    content: "→";
    position: absolute;
    right: 35px;
    bottom: 30px;
    font-size: 2rem;
    color: var(--clr-primary);
    opacity: 0;
    transition: 0.35s ease;
}

.service-card:hover::after {
    opacity: 1;
    transform: translateX(8px);
}

.service-card svg {
    width: 46px;
    height: 46px;
    color: var(--clr-primary);
    margin-bottom: 20px;
    transition: transform 0.35s ease;
}

.service-card:hover svg {
    transform: rotate(-8deg) scale(1.15);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 40px;
}

.service-card p {
    margin-bottom: 30px;
}

.service-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background-color: rgba(var(--clr-primary-rgb), 0.06);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: background-color var(--trans-normal), transform var(--trans-normal);
}

.service-card:hover .service-icon-wrapper {
    background-color: var(--clr-primary);
    transform: scale(1.08) rotate(-5deg);
}

.service-card:hover .service-icon-wrapper svg {
    stroke: var(--clr-surface);
    color: var(--clr-surface);
}

.service-icon-wrapper--danger {
    background-color: rgba(var(--clr-danger-rgb), 0.1);
    color: var(--clr-danger);
}

/* Homepage comparison cards */
.comparison-card--negative {
    background-color: var(--clr-background);
    border: 1px solid rgba(28, 28, 28, 0.08);
}

.comparison-card--positive {
    background-color: var(--clr-surface);
    border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
    box-shadow: var(--shadow-md);
}

.icon-x-mark {
    color: var(--clr-danger);
    font-weight: 700;
    margin-right: 8px;
}

.service-title {
    margin-bottom: var(--space-sm);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3xs);
    font-weight: 600;
    color: var(--clr-primary);
    margin-top: var(--space-md);
}

.service-link svg {
    transition: transform var(--trans-fast);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* Service box (extended card) */
.service-box {
    background: var(--clr-surface);
    padding: 45px;
    border-radius: var(--radius-2xl);
    border: 1px solid var(--clr-border);
    transition: 0.4s;
    position: relative;
    transform-style: preserve-3d;
}

.service-box:hover {
    transform: translateY(-10px) translateZ(20px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--clr-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 25px;
}

.service-icon svg {
    width: 34px;
    height: 34px;
    color: var(--clr-primary);
}

.service-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #F8F1EC;
    color: var(--clr-primary);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.service-box ul {
    margin-top: 25px;
    display: grid;
    gap: 12px;
}

.service-box li {
    list-style: none;
    position: relative;
    padding-left: 18px;
}

.service-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--clr-primary);
}


/*==========================================================================
   15. PROCESS TIMELINE & FLOW
   ========================================================================== */
.process {
    background: var(--clr-surface);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-top: var(--space-xl);
}

.process-card {
    position: relative;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
    transform-style: preserve-3d;
}

.process-card:hover {
    transform: translateY(-12px) translateZ(20px);
    box-shadow: var(--shadow-lg);
}

.process-card svg {
    width: 48px;
    height: 48px;
    color: var(--clr-primary);
    margin: 25px auto;
    transition: transform 0.35s ease;
}

.process-card:hover svg {
    transform: rotate(-8deg) scale(1.15);
}

.process-card h3 {
    margin-bottom: 15px;
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: rgba(var(--clr-primary-rgb), 0.08);
    line-height: 1;
}

/* Timeline (linear) */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
    margin-top: var(--space-xl);
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(var(--clr-primary-rgb), 0.2);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.process-step .step-number {
    position: static;
    width: 80px;
    height: 80px;
    background-color: var(--clr-background);
    border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 300;
    color: var(--clr-primary);
    margin-bottom: var(--space-md);
    transition: all var(--trans-normal);
}

.process-step:hover .step-number {
    background-color: var(--clr-primary);
    color: var(--clr-surface);
    box-shadow: 0 0 0 8px rgba(var(--clr-primary-rgb), 0.1);
    transform: scale(1.05);
}

.step-title {
    font-size: var(--fs-xl);
    margin-bottom: var(--space-xs);
}

/* Flow (horizontal) */
.process-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: var(--space-xl);
    overflow-x: auto;
}

.flow-card {
    min-width: 210px;
    padding: 35px;
    background: var(--clr-surface);
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--clr-border);
    transition: transform 0.35s ease;
}

.flow-card:hover {
    transform: translateY(-6px);
}

.flow-card span {
    display: inline-flex;
    width: 55px;
    height: 55px;
    align-items: center;
    justify-content: center;
    background: var(--clr-primary);
    color: var(--clr-surface);
    border-radius: 50%;
    font-weight: 700;
    margin-bottom: 20px;
}

.flow-line {
    height: 3px;
    background: var(--clr-primary);
    flex: 1;
    opacity: 0.3;
}


/*==========================================================================
   16. TEAM PREVIEW & TEAM GRID
   ========================================================================== */
.team-preview {
    background: var(--clr-background);
}

.team-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.team-content h2 {
    margin: 25px 0;
}

.team-content p {
    max-width: 650px;
    margin: 0 auto 35px;
}

.team-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 40px;
}

.team-card {
    background: var(--clr-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border-soft);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.team-card:hover {
    transform: translateY(-10px) translateZ(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
}

.team-img-wrapper,
.team-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background-color: #f5f5f5;
    overflow: hidden;
    border-bottom: 4px solid var(--clr-primary);
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.placeholder-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e0e0e0, #f8f8f8);
}

.team-social-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease;
}

.team-social-overlay:hover {
    background: var(--clr-primary);
    color: var(--clr-surface);
}

.team-details {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.role-badge,
.team-role {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.member-name,
.team-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--clr-text-main);
    font-weight: 800;
    margin-bottom: 12px;
}

.team-name {
    color: var(--clr-primary);
    font-size: 1.8rem;
    text-transform: capitalize;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--clr-text-soft);
    line-height: 1.6;
    margin-bottom: 20px;
}

.member-skills {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-chip {
    background-color: #f4f4f4;
    color: #444444;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}


/*==========================================================================
   17. FEATURED WORK / PORTFOLIO
   ========================================================================== */
.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.project-card {
    background-color: var(--clr-surface);
    transition: transform var(--trans-normal);
    will-change: transform;
    transform-style: preserve-3d;
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 28, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--trans-normal);
}

.view-project-btn {
    background: var(--glass-bg);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-pill);
    color: var(--clr-text-main);
    font-weight: 600;
    transform: translateY(20px);
    transition: transform var(--trans-normal);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .view-project-btn {
    transform: translateY(0);
}

.project-meta {
    padding: var(--space-lg) 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.tag {
    font-size: var(--fs-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--clr-primary);
}

.project-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-2xs);
}


/*==========================================================================
   18. TESTIMONIALS SLIDER
   ========================================================================== */
.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: var(--space-2xl) 0;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    opacity: 0.08;
}

.testimonial-slide {
    display: none;
    position: relative;
    z-index: 1;
    text-align: center;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.6s ease forwards;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: var(--space-xl);
    color: var(--clr-text-main);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-avatar--initials {
    background-color: var(--clr-primary);
    color: var(--clr-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-size: var(--fs-lg);
    margin-bottom: 0;
}

.author-info p {
    font-size: var(--fs-sm);
    color: var(--clr-primary);
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(28, 28, 28, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--trans-normal);
    background: var(--clr-surface);
}

.slider-btn:hover {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    color: var(--clr-surface);
    transform: translateY(-3px);
}


/*==========================================================================
   19. CTA SECTION (DARK)
   ========================================================================== */
.cta,
.cta-section {
    background:
        radial-gradient(circle at top left,
            rgba(255, 200, 100, .25),
            transparent 45%),
        linear-gradient(135deg,
            #FFB347,
            #F7860C 35%,
            #D85D00 70%,
            #8F3600);
    color: var(--clr-surface);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: var(--clr-primary);
    margin: 0 auto var(--space-xl);
    border-radius: 50px;
    opacity: 0.2;
}

.cta-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-box span {
    display: inline-block;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-pill);
    margin-bottom: 25px;
    font-weight: 600;
}

.cta-box h2,
.cta-title {
    color: var(--clr-surface);
    font-size: var(--fs-4xl);
    margin-bottom: 25px;
}

.cta-box p,
.cta-text {
    color: var(--clr-on-dark-80);
    font-size: var(--fs-xl);
    max-width: 650px;
    margin: 0 auto 45px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Abstract shapes */
.cta-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--clr-on-dark-10) 0%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: var(--glass-blur);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -50px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -100px;
}


/*==========================================================================
   20. FOOTER
   ========================================================================== */
footer,
.site-footer {
    background: #101010;
    color: #bbb;
    padding: 80px 0 30px;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col img,
.footer-logo img {
    width: 170px;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--clr-surface);
}

.footer-col h4,
.footer-heading {
    color: var(--clr-surface);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-col p,
.footer-desc {
    color: var(--clr-on-dark-60);
    margin-bottom: 12px;
    line-height: 1.8;
    font-size: var(--fs-sm);
    max-width: 300px;
}

.footer-col a,
.footer-links a,
.footer-contact-info a {
    display: block;
    margin-bottom: 14px;
    color: var(--clr-on-dark-60);
    transition: color var(--trans-fast), transform var(--trans-fast);
}

.footer-col a:hover,
.footer-links a:hover,
.footer-contact-info a:hover {
    color: var(--clr-primary);
    transform: translateX(6px);
}

.footer-links li,
.footer-contact-info li {
    margin-bottom: var(--space-xs);
}

.footer-contact-info .address {
    color: var(--clr-on-dark-50);
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.social-links a {
    display: flex;
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 50%;
    background: var(--clr-on-dark-05);
    align-items: center;
    justify-content: center;
    color: var(--clr-surface);
    transition: all var(--trans-fast);
}

.social-links a:hover {
    background: var(--clr-primary);
    transform: translateY(-3px);
}

.border-top,
.footer-bottom {
    border-top: 1px solid var(--clr-on-dark-10);
    padding-top: 25px;
    text-align: center;
}

.footer-bottom p,
.copyright {
    color: var(--clr-on-dark-50);
    font-size: 0.95rem;
    margin: 0;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.legal-links a {
    color: var(--clr-on-dark-50);
    font-size: var(--fs-sm);
    transition: color var(--trans-fast);
    display: inline-block;
    margin-bottom: 0;
}

.legal-links a:hover {
    color: var(--clr-surface);
}


/*==========================================================================
   21. ABOUT PAGE
   ========================================================================== */
.about-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-2xl);
}

.about-hero-content h1 {
    margin: 25px 0;
    max-width: 650px;
}

.about-hero-content p {
    max-width: 580px;
    margin-bottom: 35px;
}

.about-hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s var(--ease-out-expo);
}

.about-hero-image:hover img {
    transform: scale(1.02) rotateY(-3deg);
}

/* Our Approach */
.our-approach {
    background: var(--clr-surface);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: var(--space-xl);
}

.approach-card {
    background: var(--clr-surface);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border);
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    transform-style: preserve-3d;
}

.approach-card:hover {
    transform: translateY(-10px) translateZ(15px);
    box-shadow: var(--shadow-md);
    border-color: var(--clr-primary);
}

.approach-card svg {
    width: 45px;
    height: 45px;
    color: var(--clr-primary);
    margin-bottom: 20px;
}

.approach-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--clr-primary);
    margin-bottom: 15px;
}

.approach-card h3 {
    font-size: 1.3rem;
    color: var(--clr-text-main);
    margin-bottom: 10px;
    font-weight: 700;
}

.approach-card p {
    color: var(--clr-text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Story Timeline */
.timeline {
    max-width: 900px;
    margin: auto;
    position: relative;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--clr-primary);
    opacity: 0.2;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline-dot {
    width: 18px;
    height: 18px;
    background: var(--clr-primary);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
    box-shadow: 0 0 0 6px rgba(var(--clr-primary-rgb), 0.15);
}

.timeline-content {
    background: var(--clr-surface);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    width: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform var(--trans-normal);
}

.timeline-content:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

/* Mission & Vision */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.mission-card {
    background: var(--clr-surface);
    padding: 45px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--clr-border);
    transition: 0.35s;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.mission-card svg {
    width: 50px;
    height: 50px;
    color: var(--clr-primary);
    margin-bottom: 25px;
}

/* Core Values (light) */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--clr-surface);
    padding: 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid var(--clr-border);
    transition: 0.35s;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.value-card svg {
    width: 46px;
    height: 46px;
    color: var(--clr-primary);
    margin-bottom: 20px;
}

/* Core Values (dark variant) */
.value-box {
    background: #262626;
    padding: 35px 30px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--clr-primary);
    transition: transform 0.35s ease;
}

.value-box:hover {
    transform: translateY(-6px);
}

.value-tag {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--clr-primary);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.value-box h3 {
    font-size: 1.3rem;
    color: var(--clr-surface);
    margin-bottom: 10px;
    font-weight: 700;
}

.value-box p {
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.avoid-box {
    background: #222222;
    padding: 20px;
    border-radius: var(--radius-pill);
    max-width: 700px;
    margin-inline: auto;
}

.avoid-label {
    color: var(--clr-primary);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.avoid-text {
    color: var(--clr-surface);
    font-size: 1rem;
    margin-top: 5px;
}


/*==========================================================================
   22. SERVICES PAGE
   ========================================================================== */
.services-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.services-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.services-hero-content h1 {
    margin: 25px 0;
}

.services-hero-content p {
    margin-bottom: 35px;
    max-width: 580px;
}

.services-hero-image img {
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
}

/* Problem / Solution */
.problem-solution {
    background: var(--clr-surface);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: var(--space-xl);
}

.problem-card,
.solution-card {
    background: var(--clr-surface);
    padding: 45px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border);
    transition: 0.35s;
}

.problem-card:hover,
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.problem-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.problem-head svg {
    width: 40px;
    height: 40px;
    color: var(--clr-primary);
}

.problem-card ul,
.solution-card ul {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.problem-card li,
.solution-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.problem-card li svg {
    color: var(--clr-danger);
    width: 20px;
    height: 20px;
}

.solution-card li svg {
    color: var(--clr-success);
    width: 20px;
    height: 20px;
}

/* Why choose us (services variant) */
.why-grid-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: var(--space-xl);
}

.why-service-card {
    background: var(--clr-surface);
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border);
    text-align: center;
    transition: 0.35s;
}

.why-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.why-service-card svg {
    width: 46px;
    height: 46px;
    color: var(--clr-primary);
    margin-bottom: 20px;
}

/* Industry chips */
.industry-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: var(--space-lg);
}

/* FAQ */
.faq-container {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    margin-bottom: 20px;
    transition: box-shadow var(--trans-normal), border-color var(--trans-normal);
}

.faq-item[open],
.faq-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(var(--clr-primary-rgb), 0.3);
}

.faq-item summary {
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--clr-primary);
    transition: transform var(--trans-normal);
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    margin-top: 20px;
}


/*==========================================================================
   23. TEAM PAGE (Extended)
   ========================================================================== */
/* Covered in section 16 — additional variants below */

.team-card--flat {
    background: transparent;
    border: none;
    box-shadow: none;
}

.team-card--flat .team-image-wrapper {
    border-bottom: 5px solid var(--clr-warning);
    margin-bottom: 20px;
}


/*==========================================================================
   24. CONTACT PAGE
   ========================================================================== */
.contact-container,
.contact-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.contact-content,
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 0;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border-soft);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.contact-info-wrapper,
.contact-info-panel {
    background-color: var(--clr-surface-alt);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    border-right: 1px solid var(--clr-border-soft);
}

.info-cards-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: transparent;
    padding: 0;
    border: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--clr-tint-primary);
    color: var(--clr-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.info-icon--circle {
    border-radius: 50%;
}

.info-text h4,
.info-content h3 {
    font-size: 1.2rem;
    color: var(--clr-text-main);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-text p,
.info-text a,
.info-content p,
.info-content a {
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 4px;
}

.info-text a:hover,
.info-content a:hover {
    color: var(--clr-primary);
}

.info-note {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 4px;
}

.important-note-card {
    background-color: var(--clr-tint-primary);
    border-left: 4px solid var(--clr-primary);
    padding: 20px;
    border-radius: 8px;
    margin-top: auto;
}

.note-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clr-primary);
    letter-spacing: 1px;
}

.note-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

/* Contact form */
.contact-form-wrapper,
.contact-form-panel {
    padding: 50px;
}

.contact-form,
.strategy-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.input-group,
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label,
.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-text-main);
}

.input-group input,
.input-group textarea,
.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background-color: #fafafa;
    color: var(--clr-text-main);
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-primary);
    background-color: var(--clr-surface);
    box-shadow: 0 0 0 4px rgba(var(--clr-primary-rgb), 0.1);
}

.form-submit {
    margin-top: 10px;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    background-color: var(--clr-primary);
    color: var(--clr-surface);
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: background-color 0.3s ease, transform var(--trans-fast);
}

.form-submit:hover {
    background-color: var(--clr-primary-dark);
    transform: translateY(-3px);
}

/* Challenges grid */
.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.challenge-card {
    background: var(--clr-surface);
    padding: 35px 25px;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border-soft);
    transition: transform 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
}

.challenge-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.challenge-card h3 {
    font-size: 1.2rem;
    color: var(--clr-text-main);
    font-weight: 700;
    margin-bottom: 10px;
}

.challenge-card p {
    font-size: 0.9rem;
    color: var(--clr-text-soft);
    line-height: 1.6;
}

/* Client Fit banner */
.fit-card {
    background: radial-gradient(circle at center, var(--clr-tint-primary) 0%, var(--clr-surface) 100%);
    border: 1px solid var(--clr-tint-primary-soft);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
}

.fit-lead {
    font-size: 1.1rem;
    color: #444;
}

.fit-chips-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.fit-chip {
    background: var(--clr-surface);
    color: var(--clr-primary);
    border: 1px solid #ffd1b3;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(var(--clr-primary-rgb), 0.05);
    transition: transform var(--trans-normal);
}

.fit-chip:hover {
    transform: translateY(-4px);
}


/*==========================================================================
   25. PHILOSOPHY / TRUST / CERTIFICATES / COMPANY INFO
   ========================================================================== */
.philosophy {
    background: var(--clr-text-main);
    color: var(--clr-surface);
}

.philosophy-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.philosophy blockquote {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 30px 0;
    color: var(--clr-surface);
}

.philosophy p {
    color: #ddd;
}

/* Trust cards grid */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.trust-card {
    background: var(--clr-surface);
    padding: 35px;
    text-align: center;
    border-radius: 22px;
    border: 1px solid var(--clr-border);
    transition: 0.35s;
}

.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.trust-card svg {
    width: 45px;
    height: 45px;
    color: var(--clr-primary);
    margin-bottom: 18px;
}

/* Company info */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-grid .info-card {
    background: var(--clr-surface);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--clr-border);
    display: block;
}

.info-grid .info-card h4 {
    margin-bottom: 12px;
    color: var(--clr-primary);
}

/* Certificates */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.certificate-card {
    overflow: hidden;
    border-radius: 22px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: 0.35s;
}

.certificate-card img {
    transition: 0.5s;
}

.certificate-card:hover {
    transform: translateY(-10px);
}

.certificate-card:hover img {
    transform: scale(1.08);
}


/*==========================================================================
   26. EFFECTS (Reveal, Fade, Scale, Progress Bar, Back-to-Top)
   ========================================================================== */

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in */
.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Scale in */
.scale {
    animation: scaleIn 0.7s ease forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Progress bar (scroll indicator) */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--clr-primary);
    width: 0;
    z-index: 99999;
    transition: 0.1s;
}

/* Back to top button */
.back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: var(--clr-primary);
    color: var(--clr-surface);
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: 0.35s;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    transform: translateY(-6px);
    background: var(--clr-primary-dark);
}

/* Universal SVG rotation on hover */
svg {
    transition: transform 0.35s ease;
}

/* Card image effects */
.service-card img,
.about-image img,
.hero-image img,
.about-hero-image img {
    transition: 0.45s ease;
}


/*==========================================================================
   27. ACCESSIBILITY & MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .hero-image,
    .float {
        animation: none !important;
    }
}

/* Print styles */
@media print {

    .header,
    .site-header,
    .mobile-menu-overlay,
    .cursor-dot,
    .cursor-outline,
    .back-top,
    .progress-bar,
    .loader-wrapper,
    .canvas-container {
        display: none !important;
    }

    body {
        cursor: auto;
        color: #000;
        background: #fff;
    }
}


/*==========================================================================
   28. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ---- 1440px — laptop ---- */
@media (max-width: 1440px) {
    .container {
        max-width: 1140px;
    }

    .container-md {
        max-width: 1080px;
    }
}

/* ---- 1200px — small laptop ---- */
@media (max-width: 1200px) {

    .services-grid-large,
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- 1024px — tablet landscape ---- */
@media (max-width: 1024px) {
    :root {
        --header-offset: 90px;
    }

    .grid-2-cols,
    .about-grid,
    .about-hero-grid,
    .services-hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .grid-3-cols,
    .why-grid,
    .why-grid-services,
    .values-grid,
    .info-grid,
    .team-grid,
    .challenges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4-cols,
    .approach-grid,
    .trust-items,
    .trust-grid,
    .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }

    .process-timeline::before {
        display: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-floating-cards {
        width: 100%;
        height: 220px;
        margin-top: var(--space-lg);
    }

    .intro-visual,
    .about-image {
        padding-right: 0;
        margin-bottom: var(--space-2xl);
    }

    .contact-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper,
    .contact-info-panel {
        border-right: none;
        border-bottom: 1px solid var(--clr-border-soft);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .hero h1,
    .hero-title {
        font-size: var(--fs-4xl);
    }
}

/* ---- 768px — tablet portrait ---- */
@media (max-width: 768px) {
    :root {
        --header-offset: 84px;
    }

    /* Mobile navigation */
    .nav-links {
        display: none;
    }

    .menu-btn,
    .mobile-menu-toggle {
        display: flex;
    }

    .grid-3-cols,
    .why-grid,
    .why-grid-services,
    .values-grid,
    .info-grid,
    .team-grid,
    .challenges-grid,
    .approach-grid,
    .trust-items,
    .trust-grid,
    .certificate-grid,
    .services-grid,
    .services-grid-large,
    .process-grid,
    .mission-grid,
    .problem-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Hide decorative floating cards on mobile */
    .hero-floating-cards,
    .float-card-1,
    .float-card-2 {
        display: none;
    }

    .testimonial-text {
        font-size: var(--fs-2xl);
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-info {
        text-align: center;
    }

    .stat-number {
        font-size: var(--fs-3xl);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .navbar,
    .header-container {
        height: 70px;
    }

    .about-hero,
    .services-hero {
        min-height: 70vh;
        padding-top: 100px;
    }

    .contact-form-wrapper,
    .contact-form-panel,
    .contact-info-wrapper,
    .contact-info-panel {
        padding: 30px 25px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 25px;
    }

    .service-card,
    .service-box,
    .why-card,
    .approach-card,
    .mission-card,
    .value-card,
    .problem-card,
    .solution-card {
        padding: 30px 25px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* ---- 480px — large mobile ---- */
@media (max-width: 480px) {
    :root {
        --header-offset: 76px;
    }

    html {
        font-size: 15px;
    }

    .container,
    .container-md,
    .container-sm {
        padding: 0 var(--space-sm);
        width: 94%;
    }

    .hero-cta-group,
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-group .btn,
    .hero-buttons .btn {
        width: 100%;
    }

    .btn-large,
    .btn-lg {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--fs-base);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .badge-number {
        font-size: var(--fs-3xl);
    }

    .experience-badge {
        padding: var(--space-sm) var(--space-md);
        max-width: 180px;
    }

    .testimonial-text {
        font-size: var(--fs-xl);
    }

    .service-card {
        padding: var(--space-lg) var(--space-md);
    }

    .philosophy blockquote {
        font-size: 1.5rem;
    }

    .cta-box h2,
    .cta-title {
        font-size: var(--fs-3xl);
    }

    .back-top {
        right: 18px;
        bottom: 18px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .footer-grid {
        gap: 30px;
    }

    .section-header {
        padding: 60px 15px 30px;
    }
}

/* ---- 360px — small mobile ---- */
@media (max-width: 360px) {
    .badge-number {
        font-size: var(--fs-2xl);
    }

    .experience-badge {
        bottom: -20px;
        max-width: 150px;
    }

    .hero-floating-cards {
        display: none;
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }

    .hero h1,
    .hero-title {
        font-size: var(--fs-3xl);
    }
}

/* ==========================================================================
   BLOG PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   BLOG HERO
   -------------------------------------------------------------------------- */

.blog-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
    background: var(--clr-background);
}

.blog-hero::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(var(--clr-primary-rgb), 0.06);
    filter: blur(10px);
    top: 15%;
    right: -120px;
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.blog-hero .section-eyebrow {
    display: inline-block;
    margin-bottom: var(--space-md);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-primary);
}

.blog-hero h1 {
    margin: 0 0 var(--space-lg);
    max-width: 850px;
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.055em;
    color: var(--clr-text-main);
}

.blog-hero h1 span {
    color: var(--clr-primary);
}

.blog-hero p {
    max-width: 650px;
    margin: 0;
    font-size: var(--fs-lg);
    line-height: 1.7;
    color: var(--clr-text-muted);
}


/* --------------------------------------------------------------------------
   BLOG SECTION
   -------------------------------------------------------------------------- */

.blog-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--clr-surface);
}

.blog-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.blog-section-header .section-eyebrow {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-primary);
}

.blog-section-header h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--clr-text-main);
}


/* --------------------------------------------------------------------------
   BLOG GRID
   -------------------------------------------------------------------------- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-xl);
}


/* --------------------------------------------------------------------------
   BLOG CARD
   -------------------------------------------------------------------------- */

.blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--clr-background);
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition:
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--clr-primary-rgb), 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}


/* --------------------------------------------------------------------------
   BLOG IMAGE
   -------------------------------------------------------------------------- */

.blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eeeeee;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.06);
}


/* --------------------------------------------------------------------------
   BLOG CATEGORY
   -------------------------------------------------------------------------- */

.blog-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.92);
    color: var(--clr-primary);

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}


/* --------------------------------------------------------------------------
   BLOG CARD CONTENT
   -------------------------------------------------------------------------- */

.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-lg);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: var(--space-sm);

    font-size: 0.78rem;
    color: var(--clr-text-muted);
}

.blog-card-meta span {
    display: inline-flex;
    align-items: center;
}

.blog-card-meta span + span::before {
    content: "•";
    margin-right: 8px;
    color: rgba(28, 28, 28, 0.35);
}

.blog-card h3 {
    margin: 0 0 var(--space-sm);

    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;

    color: var(--clr-text-main);
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-card h3 a:hover {
    color: var(--clr-primary);
}

.blog-card-excerpt {
    margin: 0 0 var(--space-lg);

    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--clr-text-muted);

    display: -webkit-box;
    -webkit-box-orient: vertical;
    
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}


/* --------------------------------------------------------------------------
   BLOG READ LINK
   -------------------------------------------------------------------------- */

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    width: fit-content;
    margin-top: auto;

    color: var(--clr-primary);

    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;

    transition: gap 0.3s ease;
}

.blog-card-link::after {
    content: "→";
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
}

.blog-card-link:hover::after {
    transform: translateX(3px);
}


/* --------------------------------------------------------------------------
   BLOG LOADING
   -------------------------------------------------------------------------- */

.blog-loading {
    grid-column: 1 / -1;

    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--clr-text-muted);
    font-size: var(--fs-base);
}


/* --------------------------------------------------------------------------
   BLOG EMPTY STATE
   -------------------------------------------------------------------------- */

.blog-empty {
    max-width: 600px;
    margin: 0 auto;
    padding: 80px 20px;

    text-align: center;
}

.blog-empty h3 {
    margin: 0 0 var(--space-sm);

    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    color: var(--clr-text-main);
}

.blog-empty p {
    margin: 0;
    color: var(--clr-text-muted);
    font-size: var(--fs-base);
}


/* --------------------------------------------------------------------------
   BLOG FEATURED CARD
   -------------------------------------------------------------------------- */

.blog-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
}

.blog-card.featured .blog-card-image {
    height: 100%;
    aspect-ratio: auto;
}

.blog-card.featured .blog-card-content {
    justify-content: center;
    padding: clamp(25px, 4vw, 50px);
}

.blog-card.featured h3 {
    font-size: var(--fs-2xl);
}


/* --------------------------------------------------------------------------
   BLOG RESPONSIVE
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog-card.featured {
        grid-column: span 2;
    }

    .blog-hero h1 {
        font-size: clamp(3.2rem, 7vw, 5.5rem);
    }
}


@media (max-width: 768px) {

    .blog-hero {
        min-height: 60vh;
        padding-top: 120px;
        padding-bottom: 80px;
    }

    .blog-hero h1 {
        font-size: clamp(3rem, 12vw, 4.5rem);
        line-height: 0.98;
    }

    .blog-hero p {
        font-size: var(--fs-base);
    }

    .blog-section {
        padding: var(--space-3xl) 0;
    }

    .blog-section-header {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: var(--space-xl);
    }

    .blog-section-header h2 {
        font-size: var(--fs-3xl);
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .blog-card.featured {
        grid-column: span 1;
        display: flex;
    }

    .blog-card.featured .blog-card-image {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .blog-card.featured .blog-card-content {
        padding: var(--space-lg);
    }

    .blog-card.featured h3 {
        font-size: var(--fs-xl);
    }
}


@media (max-width: 480px) {

    .blog-hero {
        min-height: 55vh;
        padding-top: 105px;
        padding-bottom: 65px;
    }

    .blog-hero h1 {
        font-size: clamp(2.7rem, 14vw, 3.7rem);
        letter-spacing: -0.045em;
    }

    .blog-hero p {
        line-height: 1.6;
    }

    .blog-section {
        padding: var(--space-2xl) 0;
    }

    .blog-card-content {
        padding: var(--space-md);
    }

    .blog-card h3 {
        font-size: var(--fs-lg);
    }

    .blog-card-excerpt {
        font-size: 0.95rem;
    }

    .blog-card-category {
        top: 12px;
        left: 12px;
        padding: 6px 10px;
        font-size: 0.65rem;
    }
}


/*==========================================================================
   29. END OF FILE
   ==========================================================================
   Total sections: 29 | Merged v3.0
   Legacy aliases preserved: --primary, --primary-dark, --background, --surface,
   --heading, --text, --border, --transition, --section-padding, .menu-btn,
   .bg-light, .text-center
   ========================================================================== */

/* --- responsive.css --- */
/* ========================================================================== 
   FOOTPRINTS MEDIA — RESPONSIVE STYLESHEET
   Loaded after style.css. This file only controls responsive layout and does
   not change the existing brand theme, 3D hero, glass navigation or styling.
   ========================================================================== */

/* Large desktop / smaller laptop ------------------------------------------------ */
@media (max-width: 1199px) {
    .container {
        width: min(94%, 1140px);
    }

    .hero-content {
        max-width: 650px;
    }

    .hero-floating-cards {
        width: 260px;
    }

    .float-card-1 {
        right: 0;
    }

    .float-card-2 {
        left: -18px;
    }

    .grid-4-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-top.grid-4-cols {
        gap: var(--space-xl);
    }
}

/* Tablet landscape -------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --header-offset: 90px;
    }

    .container,
    .container-md,
    .container-sm {
        width: min(94%, var(--container));
    }

    .grid-2-cols,
    .about-grid,
    .about-hero-grid,
    .services-hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .grid-3-cols,
    .why-grid,
    .why-grid-services,
    .values-grid,
    .info-grid,
    .team-grid,
    .challenges-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4-cols,
    .approach-grid,
    .trust-items,
    .trust-grid,
    .certificate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-grid,
    .services-grid-large {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-xl);
    }

    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-xl);
    }

    .process-timeline::before {
        display: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .work-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-floating-cards {
        width: 100%;
        height: 220px;
        margin-top: var(--space-lg);
    }

    .intro-visual,
    .about-image {
        padding-right: 0;
        margin-bottom: var(--space-2xl);
    }

    .contact-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info-wrapper,
    .contact-info-panel {
        border-right: 0;
        border-bottom: 1px solid var(--clr-border-soft);
    }

    .hero h1,
    .hero-title {
        font-size: var(--fs-4xl);
    }
}


/* Compact desktop / tablet navigation -----------------------------------------
   The full navigation no longer fits comfortably below ~900px. Switch to the
   mobile menu before the links and CTA start colliding or getting clipped.
*/
@media (max-width: 900px) and (min-width: 769px) {
    :root {
        --header-offset: 84px;
    }

    .site-header {
        padding: var(--space-xs) 0;
    }

    .navbar,
    .header-container {
        height: 70px;
    }

    .desktop-nav,
    .nav-links,
    .header-actions > .btn {
        display: none;
    }

    .menu-btn,
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Tablet portrait / mobile navigation ------------------------------------------ */
@media (max-width: 768px) {
    :root {
        --header-offset: 84px;
    }

    .site-header {
        padding: var(--space-xs) 0;
    }

    .navbar,
    .header-container {
        height: 70px;
    }

    .desktop-nav,
    .nav-links,
    .header-actions>.btn {
        display: none;
    }

    .menu-btn,
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-overlay {
        z-index: calc(var(--z-header) - 1);
    }

    .mobile-menu-overlay.active,
    .mobile-menu-overlay[aria-hidden="false"] {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu-inner {
        max-width: none;
        height: 100%;
        justify-content: center;
        padding: calc(var(--header-offset) + var(--space-lg)) var(--space-md) var(--space-2xl);
    }

    .mobile-nav-links {
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .mobile-nav-link {
        font-size: var(--fs-3xl);
        font-weight: 500;
    }

    .mobile-menu-footer {
        margin-top: auto;
    }

    .mobile-menu-email,
    .mobile-menu-phone {
        font-size: var(--fs-base);
    }

    .mobile-menu-toggle.active .hamburger-line:first-child {
        transform: translateY(4px) rotate(45deg);
    }

    .mobile-menu-toggle.active .hamburger-line:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .grid-3-cols,
    .grid-4-cols,
    .grid-5-cols,
    .why-grid,
    .why-grid-services,
    .values-grid,
    .info-grid,
    .team-grid,
    .challenges-grid,
    .approach-grid,
    .trust-items,
    .trust-grid,
    .certificate-grid,
    .services-grid,
    .services-grid-large,
    .process-grid,
    .mission-grid,
    .problem-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-container {
        align-items: center;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-floating-cards,
    .float-card-1,
    .float-card-2 {
        display: none;
    }

    .hero-cta-group,
    .hero-buttons {
        justify-content: center;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding-left: calc(80px + var(--space-md));
    }

    .process-timeline::before {
        display: block;
        top: 0;
        bottom: 0;
        left: 39px;
        width: 2px;
        height: auto;
    }

    .process-step {
        min-height: 104px;
    }

    .process-step .step-number {
        position: absolute;
        top: 0;
        left: calc(-80px - var(--space-md));
        margin: 0;
        box-shadow: 0 0 0 8px var(--clr-surface);
    }

    .testimonial-slider-container {
        padding: var(--space-xl) 0;
    }

    .testimonial-text {
        font-size: var(--fs-2xl);
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-info {
        text-align: center;
    }

    .author-avatar {
        width: 52px;
        height: 52px;
    }

    .cta-shapes {
        display: none;
    }

    .footer-top {
        grid-template-columns: 1fr !important;
        gap: var(--space-xl);
    }

    .footer-col.brand-col {
        grid-column: auto;
        margin-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        align-items: center;
    }

    .legal-links {
        justify-content: center;
    }

    .about-hero,
    .services-hero {
        min-height: 70vh;
        padding-top: 100px;
    }

    .contact-form-wrapper,
    .contact-form-panel,
    .contact-info-wrapper,
    .contact-info-panel {
        padding: 30px 25px;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        gap: 25px;
    }

    .service-card,
    .service-box,
    .why-card,
    .approach-card,
    .mission-card,
    .value-card,
    .problem-card,
    .solution-card {
        padding: 30px 25px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Large mobile ------------------------------------------------------------------ */
@media (max-width: 560px) {
    :root {
        --header-offset: 76px;
        --section-py: clamp(4.25rem, 14vw, 5.5rem);
    }

    html {
        font-size: 15px;
    }

    .container,
    .container-md,
    .container-sm {
        width: 94%;
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .brand-logo svg {
        width: 34px;
        height: 34px;
    }

    .brand-text {
        font-size: var(--fs-base);
    }

    .hero-section {
        min-height: 100svh;
    }

    .hero h1,
    .hero-title {
        font-size: var(--fs-3xl);
    }

    .hero-subtitle {
        font-size: var(--fs-base);
    }

    .hero-description,
    .hero p {
        font-size: var(--fs-lg);
    }

    .hero-cta-group,
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
    }

    .hero-cta-group .btn,
    .hero-buttons .btn {
        width: 100%;
    }

    .btn-large,
    .btn-lg {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--fs-base);
    }

    .section-header {
        padding: 42px 0 25px;
    }

    .section-title {
        margin-bottom: var(--space-md);
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .stat-item {
        padding: var(--space-md);
    }

    .stat-number {
        font-size: var(--fs-3xl);
    }

    .process-timeline {
        padding-left: calc(60px + var(--space-md));
    }

    .process-timeline::before {
        left: 29px;
    }

    .process-step .step-number {
        left: calc(-60px - var(--space-md));
        width: 60px;
        height: 60px;
        font-size: var(--fs-xl);
    }

    .flex-between {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .testimonial-text {
        font-size: var(--fs-xl);
    }

    .testimonial-author {
        gap: var(--space-sm);
    }

    .service-card {
        padding: var(--space-lg) var(--space-md);
    }

    .service-card::after {
        display: none;
    }

    .feature-item {
        align-items: flex-start;
        font-size: var(--fs-base);
    }

    .feature-check {
        width: 28px;
        height: 28px;
    }

    .cta-title,
    .cta-box h2 {
        font-size: var(--fs-3xl);
    }

    .cta-text,
    .cta-box p {
        font-size: var(--fs-lg);
        margin-bottom: var(--space-lg);
    }

    .footer-bottom {
        align-items: center;
    }

    .scroll-indicator {
        display: none;
    }

    .back-top {
        right: 18px;
        bottom: 18px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Small mobile ------------------------------------------------------------------ */
@media (max-width: 360px) {

    .hero h1,
    .hero-title {
        font-size: 2.55rem;
    }

    .mobile-nav-link {
        font-size: var(--fs-2xl);
    }

    .card-icon {
        width: 40px;
        height: 40px;
    }

    .section-label {
        padding: 7px 13px;
        letter-spacing: .1em;
    }
}

/* Short viewports --------------------------------------------------------------- */
@media (max-height: 700px) and (min-width: 769px) {
    .hero-section {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 105px;
    }
}

@media (max-height: 700px) and (max-width: 768px) {
    .mobile-nav-links {
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }

    .mobile-nav-link {
        font-size: var(--fs-2xl);
    }
}

/* Touch and accessibility ------------------------------------------------------- */
@media (hover: none),
(pointer: coarse) {

    body,
    a,
    button {
        cursor: auto !important;
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }

    .service-card:hover,
    .glass-card:hover,
    .project-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero-floating-cards,
    .scroll-line::after {
        animation: none !important;
    }
}

/* --- technical-fixes.css --- */
/* Technical repair layer — preserves the existing Footprints visual design. */
*, *::before, *::after { box-sizing: border-box; }
.mobile-menu-overlay.is-open { opacity: 1; visibility: visible; }
.back-top.show { opacity: 1; visibility: visible; }
.skip-link:focus { top: 0 !important; }
/* Prevent WebGL canvas from blocking the hero buttons and navigation. */
.canvas-container canvas { display:block; width:100%; height:100%; }
.hero-container { pointer-events:none; }
.hero-content, .hero-floating-cards, .hero-cta-group, .hero-cta-group a { pointer-events:auto; }
/* CTA must remain orange when bg-primary is intentionally used in markup. */
.cta-section.bg-primary { background-color:var(--clr-primary); }
.cta-section.bg-primary .cta-title { color:var(--clr-surface); }


/* ==========================================================================
   HOMEPAGE REPAIR PATCH
   - Keep the hero tall enough for the content and scroll cue.
   - Prevent the scroll cue from sitting on top of the CTA on short desktops.
   - Speed up the legacy CSS reveal transitions.
   ========================================================================== */
.hero-section {
    min-height: 100svh;
}

.scroll-indicator {
    bottom: clamp(18px, 3vh, 34px);
    pointer-events: none;
}

.reveal {
    transition-duration: 0.55s;
    transform: translateY(34px);
}

@media (max-height: 760px) and (min-width: 769px) {
    .hero-section {
        min-height: 100svh;
        padding-top: 118px;
        padding-bottom: 90px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none !important;
        transform: none !important;
    }
}

/* ===========================================================================
   ABOUT / TEAM ALIGNMENT PATCH
   =========================================================================== */

/* The approach section contains one content column, so don't leave an empty
   second grid column. Keep the text block visually centered and balanced. */
#approach .grid-2-cols {
    grid-template-columns: 1fr;
}

#approach .story-content {
    width: min(100%, 860px);
    margin-inline: auto;
    text-align: center;
}

#approach .story-content .section-text {
    margin-inline: auto;
}

/* Keep the three expert cards equal in height and align their content. */
#team-preview .card-link {
    display: block;
    height: 100%;
}

#team-preview .service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#team-preview .service-description {
    margin-top: auto;
}

/* Full team page: make every card's image and text area line up cleanly. */
.team-grid-section .project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-grid-section .project-image {
    flex: 0 0 auto;
}

.team-grid-section .project-meta {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.team-grid-section .project-desc {
    margin-top: auto;
}


/* =========================================================
   CUSTOM CURSOR FIX
   Hide the native pointer wherever the custom cursor is active.
   ========================================================= */
@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-active,
  html.custom-cursor-active body,
  html.custom-cursor-active body * {
    cursor: none !important;
  }
  .cursor-dot,
  .cursor-outline { pointer-events:none !important; }
}

/* Team profile cards remain fully clickable. */
.team-member-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.team-member-link:hover,
.team-member-link:focus-visible {
    color: inherit;
    text-decoration: none;
}
.team-member-link:focus-visible {
    outline: 2px solid var(--clr-primary, #c85a17);
    outline-offset: 5px;
    border-radius: 1.25rem;
}

/* --- luxury-redesign.css --- */
/* ======================================================================
   FOOTPRINTS MEDIA · LUXURY ORGANIZATION REDESIGN
   Visual layer only. Existing HTML/JS functionality remains intact.
   ====================================================================== */
:root {
  --lux-ink: #10100f;
  --lux-ink-2: #181715;
  --lux-paper: #f4f1eb;
  --lux-paper-2: #ebe6dc;
  --lux-white: #fffdf9;
  --lux-orange: #f58a0b;
  --lux-orange-deep: #cf6100;
  --lux-muted: #76736d;
  --lux-line: rgba(16,16,15,.12);
  --lux-line-dark: rgba(255,255,255,.14);
  --lux-radius: 28px;
  --lux-radius-sm: 18px;
  --lux-shadow: 0 24px 70px rgba(16,16,15,.09);
  --lux-shadow-hover: 0 34px 90px rgba(16,16,15,.14);
}

html { background: var(--lux-paper); }
body {
  background: var(--lux-paper);
  color: var(--lux-ink);
  font-family: 'Brand', Inter, sans-serif;
  cursor: auto;
}
body::before { opacity: .35; }
::selection { background: var(--lux-orange); color: #111; }

.container { width: min(1320px, calc(100% - 56px)); max-width: 1320px; }
.section-padding { padding-block: clamp(90px, 10vw, 150px); }
.bg-background { background: var(--lux-paper) !important; }
.bg-white { background: var(--lux-white) !important; }
.bg-dark { background: var(--lux-ink) !important; }
.text-primary { color: var(--lux-orange) !important; }

/* Header -------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  width: min(1320px, calc(100% - 40px));
  transform: translateX(-50%);
  background: rgba(255,253,249,.91);
  border: 1px solid rgba(16,16,15,.10);
  border-radius: 20px;
  box-shadow: 0 14px 45px rgba(16,16,15,.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  transition: .35s cubic-bezier(.16,1,.3,1);
}
.site-header.scrolled { top: 10px; box-shadow: 0 18px 55px rgba(16,16,15,.12); }
.header-container { min-height: 76px; }
.brand-logo { width: 158px; display:flex; align-items:center; }
.brand-logo img { width: 100%; height:auto; display:block; }
.nav-links { gap: 30px; }
.nav-link {
  position: relative;
  font-size: .83rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #242320;
  font-weight: 700;
}
.nav-link::after {
  content:''; position:absolute; left:0; bottom:-8px; width:100%; height:1px;
  background: var(--lux-orange); transform:scaleX(0); transform-origin:right;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); transform-origin:left; }
.header-actions { gap: 12px; }
.btn {
  border-radius: 999px;
  min-height: 48px;
  padding-inline: 24px;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s ease, background .25s ease;
}
.btn-primary { background: var(--lux-orange) !important; color: #111 !important; box-shadow: 0 10px 26px rgba(245,138,11,.20); }
.btn-primary:hover { box-shadow: 0 16px 38px rgba(245,138,11,.30); }
.btn-outline { border-color: rgba(16,16,15,.25); color: var(--lux-ink) !important; background: transparent; }
.btn-outline:hover { background: var(--lux-ink); color:#fff !important; border-color:var(--lux-ink); }
.mobile-menu-toggle { border:1px solid var(--lux-line); background:var(--lux-white); border-radius:50%; width:48px; height:48px; }
.hamburger-line { background:var(--lux-ink); }

/* Loader -------------------------------------------------------------- */
.loader-wrapper { background: var(--lux-ink); }
.loader-brand { color: var(--lux-white) !important; letter-spacing:.12em; }
.loader-bar { background:rgba(255,255,255,.12); }
.loader-progress { background:var(--lux-orange) !important; }
.loader-percentage { color:rgba(255,255,255,.6); }

/* Hero ---------------------------------------------------------------- */
.hero-section,
.about-hero-section,
.services-hero-section,
.team-hero-section,
.contact-hero-section,
.blog-hero {
  position:relative;
  overflow:hidden;
  background:var(--lux-ink) !important;
  color:#fff;
}
.hero-section { min-height: 100svh; display:flex; align-items:center; padding-top:120px; }
.hero-section::before,
.about-hero-section::before,
.services-hero-section::before,
.team-hero-section::before,
.contact-hero-section::before,
.blog-hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(circle at 82% 20%, rgba(245,138,11,.18), transparent 28%),
    linear-gradient(120deg, transparent 45%, rgba(255,255,255,.035) 45.1%, transparent 45.3%),
    linear-gradient(0deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:auto, auto, 100% 90px;
}
.hero-section::after {
  content:'FOOTPRINTS MEDIA'; position:absolute; right:-3vw; bottom:5vh;
  font-size:clamp(4rem,12vw,12rem); font-weight:900; letter-spacing:-.07em;
  color:rgba(255,255,255,.025); white-space:nowrap; pointer-events:none;
}
.canvas-container { opacity:.42; mix-blend-mode:screen; }
.hero-container { position:relative; z-index:5; }
.hero-content { max-width: 800px; }
.hero-subtitle, .section-label, .section-eyebrow {
  display:inline-flex; align-items:center; gap:10px;
  color:var(--lux-orange) !important;
  font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.16em;
}
.hero-subtitle::before, .section-label::before, .section-eyebrow::before {
  content:''; width:28px; height:1px; background:currentColor;
}
.hero-title {
  color:#fff !important;
  font-size:clamp(3.7rem,7.5vw,8.6rem) !important;
  line-height:.91 !important;
  letter-spacing:-.065em !important;
  margin:22px 0 30px !important;
  max-width:1000px;
}
.hero-description { color:rgba(255,255,255,.70) !important; max-width:650px; font-size:1.06rem; line-height:1.75; }
.hero-cta-group { margin-top:34px; }
.hero-floating-cards { z-index:6; }
.glass-card {
  background:rgba(255,253,249,.09) !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:0 25px 60px rgba(0,0,0,.22) !important;
  backdrop-filter:blur(16px);
  color:#fff;
}
.glass-card .card-info h4 { color:#fff; }
.glass-card .card-info p { color:rgba(255,255,255,.58); }
.scroll-indicator { color:rgba(255,255,255,.55); }
.scroll-line { background:rgba(255,255,255,.28); }

/* Interior heroes ----------------------------------------------------- */
.about-hero-section, .services-hero-section, .team-hero-section, .contact-hero-section { padding-top:210px !important; padding-bottom:120px; min-height:68vh; display:flex; align-items:flex-end; }
.about-hero-section .hero-title, .services-hero-section .hero-title, .team-hero-section .hero-title, .contact-hero-section .hero-title { max-width:1050px; }
.about-hero-section .hero-description, .services-hero-section .hero-description, .team-hero-section .hero-description, .contact-hero-section .hero-description { max-width:720px; }

/* General sections ---------------------------------------------------- */
.section-header { margin-bottom:clamp(42px,6vw,74px) !important; }
.section-title {
  font-size:clamp(2.6rem,5vw,5.4rem) !important;
  line-height:.96 !important;
  letter-spacing:-.055em !important;
  color:var(--lux-ink) !important;
}
.section-text { color:var(--lux-muted); font-size:1rem; line-height:1.75; }
.max-w-md { max-width:850px; }
.text-center .section-label { justify-content:center; }

/* Comparison / philosophy ------------------------------------------- */
.comparison-section { background:var(--lux-paper) !important; }
.comparison-section .grid-2-cols { gap:20px; }
.comparison-section .service-card {
  min-height:430px; border-radius:var(--lux-radius); padding:clamp(30px,4vw,54px) !important;
  display:flex; flex-direction:column; justify-content:flex-end;
  position:relative; overflow:hidden; box-shadow:none !important;
}
.comparison-section .service-card:first-child { background:#e7e1d8 !important; }
.comparison-section .service-card:last-child { background:var(--lux-ink) !important; border-color:transparent !important; color:#fff; }
.comparison-section .service-card:last-child .service-title { color:#fff; }
.comparison-section .service-card:last-child .feature-item { color:rgba(255,255,255,.82); }
.service-icon-wrapper {
  width:54px !important; height:54px !important; border-radius:16px !important;
  display:grid; place-items:center; background:rgba(245,138,11,.12) !important;
  border:1px solid rgba(245,138,11,.2);
}
.service-icon-wrapper svg { stroke:var(--lux-orange) !important; }
.service-title { font-size:clamp(1.35rem,2vw,2rem) !important; line-height:1.05; letter-spacing:-.035em; color:var(--lux-ink); }
.feature-list { gap:14px; }
.feature-item { color:#4e4b45; }

/* Services ------------------------------------------------------------ */
.services-section { background:var(--lux-white) !important; }
.grid-3-cols { gap:18px; }
.service-card {
  border:1px solid var(--lux-line) !important;
  border-radius:var(--lux-radius) !important;
  background:rgba(255,253,249,.75) !important;
  box-shadow:none !important;
  padding:clamp(28px,3vw,42px) !important;
  min-height:320px;
  position:relative;
  overflow:hidden;
  transition:transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease, border-color .3s ease;
}
.service-card::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(135deg, rgba(245,138,11,.10), transparent 38%);
  opacity:0; transition:opacity .4s ease;
}
.service-card:hover { transform:translateY(-8px); box-shadow:var(--lux-shadow-hover) !important; border-color:rgba(245,138,11,.35) !important; }
.service-card:hover::before { opacity:1; }
.service-description { color:var(--lux-muted); }
.service-link { color:var(--lux-orange) !important; font-weight:800; }
.service-link:hover { gap:14px; }

/* Stats ---------------------------------------------------------------- */
.stats-section { position:relative; overflow:hidden; padding-block:72px; }
.stats-section::before { content:'IMPACT'; position:absolute; right:-20px; top:-55px; font-size:clamp(6rem,17vw,18rem); font-weight:900; color:rgba(255,255,255,.035); letter-spacing:-.08em; }
.stats-grid { position:relative; z-index:2; grid-template-columns:repeat(4,1fr); }
.stat-item { padding:28px 24px; border-left:1px solid var(--lux-line-dark); }
.stat-item:first-child { border-left:0; }
.stat-number { font-size:clamp(3.3rem,6vw,6.4rem) !important; letter-spacing:-.06em; color:#fff; line-height:.9; }
.stat-label { color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.12em; font-size:.72rem; margin-top:14px; }

/* Process ------------------------------------------------------------- */
.process-section { background:var(--lux-white) !important; }
.process-timeline { display:grid; grid-template-columns:repeat(4,1fr); gap:0; border-top:1px solid var(--lux-line); }
.process-step { min-height:260px; padding:30px 24px 20px 0; border-right:1px solid var(--lux-line); position:relative; }
.process-step:not(:first-child) { padding-left:24px; }
.process-step:last-child { border-right:0; }
.step-number { color:var(--lux-orange) !important; font-weight:900; font-size:.82rem; letter-spacing:.12em; }
.step-title { font-size:clamp(1.6rem,2.5vw,2.5rem); letter-spacing:-.04em; margin:50px 0 12px; }
.step-text { color:var(--lux-muted); max-width:230px; }

/* Detailed services -------------------------------------------------- */
.detailed-services { background:var(--lux-paper) !important; }
.detailed-services > .container > .grid-2-cols { align-items:stretch; }
.detailed-services .service-visual { border-radius:var(--lux-radius); overflow:hidden; background:#ded8cd; }
.detailed-services .service-visual img { transition:transform .7s cubic-bezier(.16,1,.3,1); }
.detailed-services .service-visual:hover img { transform:scale(1.04); }

/* Team ---------------------------------------------------------------- */
.team-grid-section { background:var(--lux-white) !important; }
.project-card {
  background:var(--lux-paper) !important; border:1px solid var(--lux-line); border-radius:var(--lux-radius) !important;
  box-shadow:none !important; overflow:hidden; transition:transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.project-card:hover { transform:translateY(-10px); box-shadow:var(--lux-shadow) !important; }
.project-image { background:#d8d1c7; overflow:hidden; }
.project-image img { width:100%; height:100%; object-fit:cover; transition:transform .8s cubic-bezier(.16,1,.3,1); }
.project-card:hover .project-image img { transform:scale(1.035); }
.project-meta { padding:24px !important; }
.project-meta .tag { color:var(--lux-orange); font-size:.68rem; font-weight:900; letter-spacing:.13em; text-transform:uppercase; }
.project-title { font-size:clamp(1.5rem,2.5vw,2.2rem) !important; letter-spacing:-.04em; }

/* About values -------------------------------------------------------- */
.values-section .service-card { min-height:290px; }
.story-section { background:var(--lux-white) !important; }
.story-content { max-width:760px; }

/* Blog ---------------------------------------------------------------- */
.blog-hero { min-height:72vh; padding-top:190px !important; display:flex; align-items:flex-end; padding-bottom:100px; }
.blog-hero h1 { color:#fff !important; font-size:clamp(4rem,8vw,8.5rem) !important; line-height:.9 !important; letter-spacing:-.07em; }
.blog-hero p { color:rgba(255,255,255,.68) !important; max-width:650px; }
.blog-section { background:var(--lux-paper) !important; padding-block:110px; }
.blog-section-header h2 { font-size:clamp(2.5rem,4vw,4.5rem); letter-spacing:-.05em; }
.blog-grid { gap:18px; }
.blog-card {
  background:var(--lux-white) !important; border:1px solid var(--lux-line) !important; border-radius:var(--lux-radius) !important;
  overflow:hidden; box-shadow:none !important; transition:transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}
.blog-card:hover { transform:translateY(-8px); box-shadow:var(--lux-shadow) !important; }
.blog-card-image img { transition:transform .7s cubic-bezier(.16,1,.3,1); }
.blog-card:hover .blog-card-image img { transform:scale(1.04); }
.blog-card-content { padding:28px !important; }
.blog-card h3 { letter-spacing:-.035em; }

/* Contact ------------------------------------------------------------- */
.contact-main-section { background:var(--lux-white) !important; }
.contact-info-wrapper { padding-right:30px; }
.contact-form-container { background:var(--lux-paper) !important; border:1px solid var(--lux-line) !important; border-radius:var(--lux-radius) !important; box-shadow:none !important; }
.contact-form-container input,
.contact-form-container textarea,
.contact-form-container select {
  border:1px solid rgba(16,16,15,.14) !important; background:rgba(255,253,249,.8) !important; border-radius:14px !important;
  padding:14px 16px !important; color:var(--lux-ink); transition:border .25s ease, box-shadow .25s ease;
}
.contact-form-container input:focus,
.contact-form-container textarea:focus,
.contact-form-container select:focus { border-color:var(--lux-orange) !important; box-shadow:0 0 0 4px rgba(245,138,11,.10); }
.map-section { filter:saturate(.75); }

/* CTA ----------------------------------------------------------------- */
.cta-section {
  position:relative; overflow:hidden;
  background:var(--lux-orange) !important; color:var(--lux-ink) !important;
  padding-block:clamp(90px,11vw,160px) !important;
}
.cta-section::before { content:'LET’S BUILD'; position:absolute; left:-3vw; bottom:-5vw; font-size:clamp(5rem,15vw,17rem); font-weight:900; color:rgba(16,16,15,.07); letter-spacing:-.09em; line-height:.7; white-space:nowrap; }
.cta-title { position:relative; z-index:2; color:var(--lux-ink) !important; font-size:clamp(2.8rem,6vw,6.6rem) !important; line-height:.92 !important; letter-spacing:-.065em; }
.cta-text { position:relative; z-index:2; color:rgba(16,16,15,.68) !important; max-width:620px; margin:18px auto 0; }
.cta-section .btn-white { position:relative; z-index:2; background:var(--lux-ink) !important; color:#fff !important; border:0; }
.cta-section .btn-white .text-primary { color:#fff !important; }
.cta-shapes { opacity:.4; }

/* Footer -------------------------------------------------------------- */
.site-footer { background:var(--lux-ink) !important; border-top:1px solid rgba(255,255,255,.08); }
.footer-top { padding-block:90px 70px; }
.footer-logo { color:#fff !important; font-size:clamp(2rem,4vw,3.5rem); letter-spacing:-.06em; }
.footer-desc { color:rgba(255,255,255,.48) !important; max-width:340px; }
.footer-heading { color:#fff; text-transform:uppercase; letter-spacing:.14em; font-size:.68rem; }
.footer-links a, .footer-contact-info a { color:rgba(255,255,255,.62); transition:color .25s ease; }
.footer-links a:hover, .footer-contact-info a:hover { color:var(--lux-orange); }
.footer-contact-info .address { color:rgba(255,255,255,.35) !important; }
.footer-bottom { border-top-color:rgba(255,255,255,.10) !important; padding-bottom:30px; }
.copyright { color:rgba(255,255,255,.34); font-size:.78rem; }

/* Cursor -------------------------------------------------------------- */
.cursor-dot { background:var(--lux-orange) !important; }
.cursor-outline { border-color:rgba(245,138,11,.65) !important; }

/* Reveal timing fix --------------------------------------------------- */
[data-gsap="fade-up"], .service-card, .project-card, .process-step { will-change:transform,opacity; }

/* Tablet -------------------------------------------------------------- */
@media (max-width: 980px) {
  .site-header { top:10px; width:calc(100% - 24px); }
  .desktop-nav { display:none !important; }
  .header-actions .btn { display:none; }
  .mobile-menu-toggle { display:grid !important; place-items:center; }
  .header-container { min-height:68px; }
  .brand-logo { width:145px; }
  .hero-title { font-size:clamp(3.4rem,9vw,6.3rem) !important; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat-item:nth-child(3) { border-left:0; }
  .process-timeline { grid-template-columns:repeat(2,1fr); }
  .process-step:nth-child(2) { border-right:0; }
  .process-step:nth-child(3), .process-step:nth-child(4) { border-top:1px solid var(--lux-line); }
  .process-step:nth-child(4) { border-right:0; }
}

@media (max-width: 760px) {
  body { cursor:auto; }
  .container { width:min(100% - 32px, 680px); }
  .site-header { border-radius:16px; }
  .hero-section { min-height:92svh; padding-top:110px; }
  .hero-title { font-size:clamp(3rem,14vw,5.3rem) !important; }
  .hero-description { font-size:.98rem; }
  .hero-cta-group { flex-direction:column; align-items:stretch; }
  .hero-cta-group .btn { width:100%; justify-content:center; }
  .hero-floating-cards { display:none; }
  .about-hero-section, .services-hero-section, .team-hero-section, .contact-hero-section { min-height:70svh; padding-top:150px !important; padding-bottom:80px; }
  .section-title { font-size:clamp(2.5rem,11vw,4rem) !important; }
  .comparison-section .service-card { min-height:340px; }
  .grid-2-cols, .grid-3-cols, .grid-4-cols { grid-template-columns:1fr !important; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stat-item { border-left:0; border-bottom:1px solid var(--lux-line-dark); }
  .stat-item:nth-last-child(-n+2) { border-bottom:0; }
  .stat-number { font-size:3.4rem !important; }
  .process-timeline { grid-template-columns:1fr; }
  .process-step, .process-step:not(:first-child) { padding:28px 0; border-right:0; border-bottom:1px solid var(--lux-line); min-height:auto; }
  .process-step:last-child { border-bottom:0; }
  .step-title { margin-top:28px; }
  .blog-hero { min-height:68svh; padding-top:150px !important; padding-bottom:80px; }
  .blog-hero h1 { font-size:clamp(3.5rem,15vw,5.5rem) !important; }
  .footer-top { padding-block:70px 40px; }
}

@media (max-width: 430px) {
  .container { width:calc(100% - 24px); }
  .brand-logo { width:132px; }
  .header-container { min-height:62px; }
  .mobile-menu-toggle { width:42px; height:42px; }
  .hero-title { font-size:clamp(2.75rem,15vw,4.2rem) !important; }
  .hero-section { padding-top:95px; }
  .about-hero-section, .services-hero-section, .team-hero-section, .contact-hero-section { padding-top:125px !important; }
  .stats-grid { grid-template-columns:1fr; }
  .stat-item, .stat-item:nth-last-child(-n+2) { border-bottom:1px solid var(--lux-line-dark); }
  .stat-item:last-child { border-bottom:0; }
  .cta-title { font-size:clamp(2.7rem,14vw,4rem) !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* --- final-polish.css --- */
/* ==========================================================================
   FOOTPRINTS MEDIA · FINAL TYPOGRAPHY / ALIGNMENT POLISH
   Loaded last. Visual-only corrections for the luxury redesign.
   ========================================================================== */
:root {
  --lux-content: 1320px;
  --lux-gutter: clamp(18px, 3vw, 42px);
  --lux-section-y: clamp(88px, 9vw, 132px);
}

html {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', Arial, sans-serif !important;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .service-title, .project-title,
.blog-card h3, .cta-title, .step-title, .footer-logo,
.nav-link, .mobile-nav-link, .btn {
  font-family: 'Outfit', 'Inter', Arial, sans-serif !important;
  font-synthesis: none;
}

p, li, a, button, input, textarea, select {
  font-synthesis: none;
}

.container {
  width: min(var(--lux-content), calc(100% - (var(--lux-gutter) * 2))) !important;
  margin-inline: auto;
}

.section-padding {
  padding-block: var(--lux-section-y) !important;
}

/* Header alignment */
.site-header {
  width: min(var(--lux-content), calc(100% - 28px));
}
.header-container {
  min-height: 76px;
  padding-inline: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand-logo {
  width: 154px !important;
  flex: 0 0 auto;
}
.desktop-nav {
  margin-inline: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.1vw, 32px);
}
.nav-link {
  font-size: .78rem;
  line-height: 1;
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.header-actions .btn {
  white-space: nowrap;
  min-height: 48px;
}

/* Hero rhythm */
.hero-section {
  padding-top: 128px;
}
.hero-content {
  width: min(100%, 800px);
}
.hero-title {
  font-weight: 700 !important;
  font-size: clamp(3.65rem, 6.8vw, 7.5rem) !important;
  line-height: .91 !important;
  letter-spacing: -.055em !important;
  max-width: 820px;
  text-wrap: balance;
}
.hero-description {
  max-width: 650px;
  line-height: 1.72;
  text-wrap: pretty;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

/* Consistent section headings */
.section-header {
  width: min(100%, 900px);
  margin-inline: auto;
}
.section-title {
  font-weight: 650 !important;
  text-wrap: balance;
}
.section-text, .service-description, .project-desc, .footer-desc {
  text-wrap: pretty;
}

/* Cards: equal geometry and cleaner vertical rhythm */
.grid-2-cols, .grid-3-cols, .grid-4-cols {
  align-items: stretch;
}
.service-card, .project-card, .blog-card {
  min-width: 0;
}
.service-card {
  display: flex;
  flex-direction: column;
}
.service-card .service-link {
  margin-top: auto;
}
.project-image {
  aspect-ratio: 16 / 10;
}
.project-meta {
  min-height: 190px;
}
.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Stats */
.stats-grid {
  align-items: stretch;
}
.stat-item {
  min-width: 0;
  padding-inline: clamp(18px, 3vw, 42px);
}
.stat-number {
  font-family: 'Outfit', 'Inter', Arial, sans-serif !important;
  font-weight: 650 !important;
}

/* Process */
.process-timeline {
  align-items: stretch;
}
.process-step {
  min-width: 0;
  padding-inline: clamp(20px, 2.8vw, 40px);
}
.step-title {
  text-wrap: balance;
}

/* CTA */
.cta-title {
  max-width: 900px;
  margin-inline: auto;
  text-wrap: balance;
}

/* Footer */
.footer-top {
  column-gap: clamp(24px, 4vw, 72px);
  row-gap: 44px;
}
.footer-col {
  min-width: 0;
}
.footer-links a, .footer-contact-info a {
  overflow-wrap: anywhere;
}

/* Prevent accidental horizontal overflow from decorative layers */
.hero-section, .comparison-section, .services-section, .stats-section,
.process-section, .testimonials-section, .cta-section, .site-footer,
.about-hero-section, .services-hero-section, .team-hero-section,
.contact-hero-section, .blog-hero, .blog-section {
  max-width: 100%;
  overflow-x: clip;
}

/* Tablet */
@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 24px);
  }
  .header-container {
    min-height: 68px;
    padding-inline: 18px;
  }
  .brand-logo { width: 145px !important; }
  .hero-section { padding-top: 112px; }
  .hero-title {
    max-width: 760px;
    font-size: clamp(3.45rem, 8.8vw, 6.2rem) !important;
  }
  .hero-description { max-width: 680px; }
  .section-header { width: min(100%, 760px); }
}

@media (max-width: 760px) {
  :root { --lux-gutter: 16px; }
  .container { width: min(100% - 32px, 680px) !important; }
  .header-container { padding-inline: 14px; }
  .brand-logo { width: 132px !important; }
  .hero-section {
    min-height: 92svh;
    padding-top: 108px;
    padding-bottom: 72px;
  }
  .hero-content { width: 100%; }
  .hero-title {
    max-width: 100%;
    font-size: clamp(2.9rem, 13.7vw, 5.2rem) !important;
    line-height: .93 !important;
    letter-spacing: -.05em !important;
  }
  .hero-description {
    max-width: 580px;
    font-size: .97rem;
    line-height: 1.65;
  }
  .hero-cta-group {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn { width: 100%; }
  .section-header { width: 100%; }
  .section-title {
    font-size: clamp(2.45rem, 10.8vw, 4rem) !important;
    line-height: .98 !important;
  }
  .comparison-section .service-card { min-height: 320px; }
  .project-meta { min-height: 0; }
  .blog-card-image, .project-image { aspect-ratio: 16 / 10; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { padding-block: 26px; }
  .stat-number { font-size: clamp(2.8rem, 11vw, 4rem) !important; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px) !important; }
  .site-header { width: calc(100% - 16px); }
  .header-container { min-height: 62px; padding-inline: 10px; }
  .brand-logo { width: 126px !important; }
  .mobile-menu-toggle { width: 42px; height: 42px; }
  .hero-section { padding-top: 96px; }
  .hero-title { font-size: clamp(2.7rem, 14.6vw, 4.25rem) !important; }
  .hero-subtitle, .section-label, .section-eyebrow {
    font-size: .64rem;
    letter-spacing: .13em;
  }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-left: 0 !important; border-bottom: 1px solid var(--lux-line-dark); }
  .stat-item:last-child { border-bottom: 0; }
  .footer-top { padding-block: 62px 36px; }
}

/* ==========================================================================\n   STABILITY PASS · TYPOGRAPHY / HOVER / IMAGE FRAMES\n   ========================================================================== */

/* Use the bundled brand font as a deterministic fallback. External webfonts\n   should enhance the page, never determine whether the layout is stable. */
@font-face {
  font-family: 'Footprints Sans';
  src: url('../fonts/Uniform/Uniform.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Footprints Sans';
  src: url('../fonts/Uniform/Uniform Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Footprints Sans';
  src: url('../fonts/Uniform/Uniform Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Footprints Sans';
  src: url('../fonts/Uniform/Uniform Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Footprints Sans', Inter, Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .service-title, .project-title,
.blog-card h3, .cta-title, .step-title, .footer-logo,
.nav-link, .mobile-nav-link, .btn, .stat-number {
  font-family: 'Footprints Sans', Inter, Arial, sans-serif !important;
}

/* The old nav used a second text layer that made labels disappear/change\n   colour during hover. Luxury nav now uses one stable text layer + underline. */
.nav-link,
.nav-links a.nav-link {
  color: #242320 !important;
  overflow: visible !important;
  transition: color .25s ease !important;
}
.nav-link::before {
  content: none !important;
  display: none !important;
}
.nav-link::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: -8px !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--lux-orange) !important;
  transform: scaleX(0) !important;
  transform-origin: right center !important;
  transition: transform .3s cubic-bezier(.16,1,.3,1) !important;
}
.nav-link:hover,
.nav-link.active {
  color: var(--lux-orange) !important;
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1) !important;
  transform-origin: left center !important;
}

/* Keep normal text links from inheriting transform effects intended for cards. */
.text-link,
.footer-links a,
.footer-contact-info a,
.mobile-menu-email,
.mobile-menu-phone,
.service-link {
  transform: none !important;
}

/* Image frames: every media box owns the crop, while the image fills it. */
.image-reveal,
.service-visual,
.project-image,
.project-image-link,
.blog-card-image,
.team-img-wrapper,
.team-image-wrapper,
.image-wrapper {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.service-visual {
  min-height: 320px;
  background: #e8e1d7;
  border-radius: var(--lux-radius) !important;
}
.service-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.project-image {
  background: #ddd6cc;
}
.project-image img,
.blog-card-image img,
.image-wrapper img,
.team-img-wrapper img,
.team-image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

/* Portraits need a stable crop. Do not combine the old parallax movement with\n   a tight portrait frame. */
.team-grid-section .project-image img,
.team-img-wrapper img,
.team-image-wrapper img {
  object-fit: cover;
  object-position: center 20%;
  transform: none !important;
}
.team-grid-section .project-card:hover .project-image img,
.team-card:hover .team-img-wrapper img {
  transform: scale(1.025) !important;
}

/* Controlled image hover, not the aggressive multi-layer transforms from the\n   original stylesheet. */
.service-visual img,
.project-image img,
.blog-card-image img,
.about-image img,
.image-wrapper img {
  transition: transform .55s cubic-bezier(.16,1,.3,1) !important;
}
.service-visual:hover img,
.project-card:hover .project-image img,
.blog-card:hover .blog-card-image img,
.about-image:hover img,
.image-wrapper:hover img {
  transform: scale(1.025) !important;
}

/* Cards should lift, text should not independently jump. */
.service-card,
.project-card,
.blog-card,
.team-card,
.process-step,
.glass-card {
  transform-origin: center center;
  backface-visibility: hidden;
}
.service-card:hover .service-title,
.service-card:hover .service-description,
.project-card:hover .project-title,
.project-card:hover .project-desc,
.blog-card:hover h3,
.blog-card:hover p {
  transform: none !important;
  color: inherit;
}

/* Prevent animated reveal state from leaving ghosting/blank image boxes. */
.image-reveal[style*="clip-path"] {
  clip-path: none !important;
}

/* Cleaner focus state for keyboard users. */
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--lux-orange) !important;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .service-visual,
  .service-visual img { min-height: 260px; }
  .project-image { min-height: 0; }
  .project-image img { object-position: center 18%; }
  .blog-card-image { aspect-ratio: 16 / 10 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .service-visual img,
  .project-image img,
  .blog-card-image img,
  .about-image img,
  .image-wrapper img {
    transition: none !important;
  }
}

/* Social links in the global footer */
.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    color: rgba(255, 255, 255, .68) !important;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .01em;
    text-decoration: none !important;
    transition: color .25s ease, transform .25s ease;
}

.footer-social-link svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-social-link svg .fill-dot {
    fill: currentColor;
    stroke: none;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
    color: var(--lux-orange) !important;
    transform: translateX(4px);
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--lux-orange);
    outline-offset: 4px;
    border-radius: 4px;
}

@media (max-width: 700px) {
    .footer-socials {
        margin-top: 16px;
    }

    .footer-social-link {
        font-size: .75rem;
    }
}

/* ------------------------------------------------------------------
   Hover text stability fix
   ------------------------------------------------------------------
   Keep hover animations from changing text into the same colour as
   their background. Decorative/interactive transforms belong to the
   container, while the label itself keeps a readable contrast.
*/

/* Process timeline: the orange hover disc must keep its number white. */
.process-step:hover .step-number,
.process-step:focus-within .step-number {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

/* Never use the old text-swap trick anywhere outside the navigation. */
main .nav-link::before,
footer .nav-link::before {
    content: none !important;
    display: none !important;
}

/* Stable text for common hoverable content blocks. */
.service-card:hover .service-title,
.service-card:hover .service-description,
.project-card:hover .project-title,
.project-card:hover .project-desc,
.blog-card:hover h3,
.blog-card:hover p,
.process-step:hover .step-title,
.process-step:hover p,
.team-card:hover h3,
.team-card:hover p,
.trust-item:hover h4,
.stat-item:hover .stat-label {
    transform: none !important;
    opacity: 1 !important;
}

/* Explicitly prevent accidental transparent text during hover.
   Gradient headlines are intentionally excluded. */
.nav-links a:hover,
.mobile-nav-link:hover,
.service-link:hover,
.footer-links a:hover,
.footer-contact-info a:hover,
.footer-social-link:hover,
.product-card:hover a,
.product-back:hover {
    -webkit-text-fill-color: currentColor;
}
