/*==========================================================================
   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("../uniform/Uniform.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Brand";
    src: url("../uniform/Uniform Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Brand";
    src: url("../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
   ========================================================================== */