/* ========================================
   PUBLICIST INC. 2025 - MODERN DESIGN SYSTEM
   ======================================== */

:root {
    /* Brand Colors */
    --brand-cyan: #1DC1E7;
    --brand-cyan-light: #4DD4F2;
    --brand-cyan-dark: #17A8C9;
    --brand-cyan-rgb: 29, 193, 231;

    /* Neutrals - Rich, Not Boring */
    --black: #0A0A0A;
    --grey-900: #1A1A1A;
    --grey-800: #2D2D2D;
    --grey-700: #404040;
    --grey-600: #666666;
    --grey-500: #8C8C8C;
    --grey-400: #B3B3B3;
    --grey-300: #D9D9D9;
    --grey-200: #EBEBEB;
    --grey-100: #F5F5F5;
    --white: #FFFFFF;

    /* Accent Colors for Visual Interest */
    --accent-purple: #8B5CF6;
    --accent-pink: #EC4899;
    --accent-orange: #F97316;

    /* Semantic Colors */
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;

    /* Typography Scale - Modern & Dynamic */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.875rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
    --text-3xl: clamp(2rem, 1.6rem + 2vw, 3rem);
    --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
    --text-5xl: clamp(3rem, 2.5rem + 3vw, 5.5rem);

    /* Spacing - Rhythmic Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;
    --space-32: 8rem;
    --space-40: 10rem;

    /* Layout */
    --container-xs: 640px;
    --container-sm: 768px;
    --container-md: 1024px;
    --container-lg: 1280px;
    --container-xl: 1440px;
    --container-2xl: 1680px;

    /* Border Radius - Organic Curves */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;

    /* Shadows - Layered Depth */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.10);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-2xl: 0 24px 64px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 40px rgba(var(--brand-cyan-rgb), 0.3);

    /* Transitions - Polished & Smooth */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
    --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 350ms;
    --duration-slower: 500ms;

    /* Gradients */
    --gradient-radial: radial-gradient(circle at top right, rgba(var(--brand-cyan-rgb), 0.1) 0%, transparent 50%);
    --gradient-mesh:
        radial-gradient(at 27% 37%, hsla(215, 98%, 61%, 0.05) 0px, transparent 0%),
        radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 0.05) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 0.05) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 0.05) 0px, transparent 50%),
        radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 0.05) 0px, transparent 50%),
        radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 0.05) 0px, transparent 50%),
        radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 0.05) 0px, transparent 50%);
}

/* ========================================
   RESET & BASE
   ======================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--grey-900);
    background: var(--white);
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

/* ========================================
   ANIMATED BACKGROUND
   ======================================== */

.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    background: var(--gradient-mesh);
    z-index: -2;
    pointer-events: none;
}

.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--brand-cyan), var(--accent-purple));
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-orange));
    bottom: 10%;
    left: -10%;
    animation-delay: -7s;
}

.shape-3 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--brand-cyan-light), var(--brand-cyan-dark));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* ========================================
   TYPOGRAPHY - SOPHISTICATED & DYNAMIC
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.1;
    color: var(--black);
    letter-spacing: -0.02em;
}

.hero-title {
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.title-line {
    display: inline-block;
    animation: slideUp 0.8s var(--ease-out) backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }
.title-line:nth-child(4) { animation-delay: 0.4s; }

.title-accent {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--brand-cyan);
    font-weight: 400;
}

.section-title-large {
    font-size: var(--text-4xl);
    max-width: 800px;
}

.section-tag {
    display: inline-block;
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-cyan);
    margin-bottom: var(--space-4);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

.container-wide {
    max-width: var(--container-2xl);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    width: 100%;
    box-sizing: border-box;
}

/* Ensure all sections stay within viewport */
section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ========================================
   HEADER - GLASS MORPHISM
   ======================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: var(--space-5) 0;
    transition: all var(--duration-base) var(--ease-out);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
}

.logo {
    height: clamp(32px, 5vw, 48px);
    width: auto;
    transition: opacity var(--duration-fast);
}

.logo:hover {
    opacity: 0.7;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-list {
    display: flex;
    gap: var(--space-8);
    list-style: none;
    align-items: center;
}

.nav-link {
    position: relative;
    font-weight: 500;
    font-size: var(--text-sm);
    color: var(--grey-800);
    text-decoration: none;
    padding: var(--space-2) 0;
    transition: color var(--duration-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-cyan);
    transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--brand-cyan);
    outline: none;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
}

.nav-toggle-text {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--grey-700);
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--grey-900);
    position: relative;
    transition: all var(--duration-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--grey-900);
    transition: all var(--duration-base);
}

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

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ========================================
   BUTTONS - MODERN & POLISHED
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    white-space: nowrap;
}

.btn-small {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-xs);
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background: var(--brand-cyan);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--brand-cyan-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    outline: none;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--grey-900);
    border-color: var(--grey-300);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: var(--grey-100);
    border-color: var(--grey-400);
    transform: translateY(-2px);
    outline: none;
}

/* ========================================
   HERO - DRAMATIC & ENGAGING
   ======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-32) 0 var(--space-24);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-16);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(var(--brand-cyan-rgb), 0.1);
    border: 1px solid rgba(var(--brand-cyan-rgb), 0.2);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--brand-cyan-dark);
    margin-bottom: var(--space-8);
    animation: fadeIn 0.8s var(--ease-out) 0.5s backwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--brand-cyan);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--grey-700);
    line-height: 1.7;
    max-width: 600px;
    margin: var(--space-8) 0;
    animation: slideUp 0.8s var(--ease-out) 0.6s backwards;
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    margin-top: var(--space-10);
    animation: slideUp 0.8s var(--ease-out) 0.7s backwards;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.stat-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.8s var(--ease-out) calc(0.8s + var(--delay)) backwards;
}

.stat-card:first-child {
    grid-column: span 2;
}

.stat-number {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--brand-cyan);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--grey-600);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    color: var(--grey-500);
    font-size: var(--text-xs);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeIn 1s var(--ease-out) 1s backwards;
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--grey-400));
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* ========================================
   SERVICES - BENTO GRID LAYOUT
   ======================================== */

.services {
    padding: var(--space-32) 0;
    background: var(--grey-100);
}

.section-header-modern {
    max-width: 700px;
    margin-bottom: var(--space-16);
}

.section-header-modern.center {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-description {
    font-size: var(--text-lg);
    color: var(--grey-600);
    line-height: 1.7;
    margin-top: var(--space-4);
}

/* Simple Services Grid - 3x2 Layout */
.services-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.service-card-simple {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.service-card-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cyan-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-out);
}

.service-card-simple:hover::before {
    transform: scaleX(1);
}

.service-card-simple:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

/* Bento Grid - Asymmetric Beauty */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--space-6);
    grid-auto-rows: minmax(280px, auto);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-cyan-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration-base) var(--ease-out);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card-large {
    grid-column: span 7;
    grid-row: span 2;
}

.card-medium {
    grid-column: span 5;
}

.card-tall {
    grid-column: span 5;
    grid-row: span 2;
}

.card-featured {
    background: linear-gradient(135deg, rgba(var(--brand-cyan-rgb), 0.05), rgba(var(--brand-cyan-rgb), 0.02));
    border-color: rgba(var(--brand-cyan-rgb), 0.2);
}

.card-accent {
    border-color: var(--brand-cyan);
}

.card-number {
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--grey-400);
    letter-spacing: 0.1em;
    margin-bottom: var(--space-3);
}

.card-icon,
.card-icon-large {
    color: var(--brand-cyan);
    margin-bottom: var(--space-4);
}

.card-icon svg {
    display: block;
}

.service-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
    color: var(--grey-900);
}

.service-title-large {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-2);
}

.service-intro {
    font-size: var(--text-base);
    color: var(--grey-600);
    line-height: 1.5;
    margin-bottom: var(--space-3);
}

.card-description {
    font-size: var(--text-sm);
    color: var(--grey-600);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.service-list-modern,
.service-list-compact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: auto;
}

.service-list-modern li,
.service-list-compact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    color: var(--grey-700);
    font-size: var(--text-sm);
    line-height: 1.4;
}

.list-icon {
    color: var(--brand-cyan);
    font-weight: 700;
    flex-shrink: 0;
}

.service-list-compact li::before {
    content: '•';
    color: var(--brand-cyan);
    font-weight: 700;
    font-size: 1.2em;
    flex-shrink: 0;
}

/* ========================================
   CLIENTS / TESTIMONIALS - MODERN SHOWCASE
   ======================================== */

.clients {
    padding: var(--space-32) 0;
    background: var(--white);
    overflow: hidden;
}

/* Client Categories Grid */
.client-categories {
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    margin: var(--space-16) 0;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.client-category-card {
    width: 60%;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.category-title {
    padding: var(--space-6) var(--space-8);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--grey-900);
    text-align: center;
    background: linear-gradient(135deg, var(--grey-100), var(--white));
    border-bottom: 1px solid var(--grey-200);
}

.category-image {
    width: 100%;
    overflow: hidden;
    background: var(--grey-100);
}

.category-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Testimonials Header */
.testimonials-header {
    text-align: center;
    margin: var(--space-20) 0 var(--space-12);
}

.testimonials-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--grey-900);
}

.testimonial-showcase {
    margin-top: var(--space-16);
    position: relative;
}

.testimonial-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: var(--space-6);
}

.testimonial-card-modern {
    background: linear-gradient(135deg, var(--grey-100), var(--white));
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    position: relative;
    transition: all var(--duration-base) var(--ease-out);
    display: flex;
    flex-direction: column;
}

.testimonial-card-modern:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-cyan);
}

.testimonial-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--radius-md);
}

.testimonial-logo img {
    max-width: 180px;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all var(--duration-base);
}

.testimonial-card-modern:hover .testimonial-logo img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.quote-mark {
    font-size: 4rem;
    font-family: var(--font-serif);
    color: var(--brand-cyan);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: var(--space-4);
}

.testimonial-text {
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--grey-800);
    margin-bottom: var(--space-5);
    font-style: italic;
}

.testimonial-footer {
    margin-top: auto;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.testimonial-author strong {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--grey-900);
}

.testimonial-author span {
    font-size: var(--text-sm);
    color: var(--grey-600);
}

.company-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(var(--brand-cyan-rgb), 0.1);
    color: var(--brand-cyan-dark);
    font-weight: 600;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    width: fit-content;
    margin-top: var(--space-2);
}

/* ========================================
   CONTACT - SPLIT LAYOUT
   ======================================== */

.contact {
    padding: var(--space-32) 0;
    background: var(--grey-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
    align-items: start;
}

.contact-info-modern {
    position: sticky;
    top: calc(var(--space-20) + 80px);
}

.contact-lead {
    font-size: var(--text-lg);
    color: var(--grey-700);
    line-height: 1.7;
    margin-top: var(--space-4);
    margin-bottom: var(--space-10);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--duration-base);
}

.contact-card:hover {
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--brand-cyan-rgb), 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    margin-bottom: var(--space-4);
}

.contact-card h3 {
    font-size: var(--text-base);
    margin-bottom: var(--space-2);
}

.contact-card p {
    font-size: var(--text-sm);
    color: var(--grey-600);
}

.social-links-modern {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.social-label {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--grey-600);
}

.social-icons {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-700);
    transition: all var(--duration-fast);
}

.social-link:hover,
.social-link:focus-visible {
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    outline: none;
}

/* ========================================
   FORM - MODERN & POLISHED
   ======================================== */

.contact-form-modern {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-lg);
}

.form-row {
    margin-bottom: var(--space-6);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--grey-800);
}

.form-input,
.form-textarea {
    padding: var(--space-4);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    color: var(--grey-900);
    background: var(--grey-100);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--duration-base);
    resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--grey-500);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--brand-cyan);
    box-shadow: 0 0 0 4px rgba(var(--brand-cyan-rgb), 0.1);
}

.form-error {
    font-size: var(--text-sm);
    color: var(--error);
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
    border-color: var(--error);
}

.form-group.error .form-error {
    display: block;
}

/* Form Status Message */
.form-status {
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    display: none;
    animation: slideDown 0.3s var(--ease-out);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Cloudflare Turnstile Styling */
.cf-turnstile {
    display: flex;
    justify-content: flex-start;
    margin: var(--space-2) 0;
}

/* Disabled Submit Button */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ========================================
   FOOTER - MINIMAL & ELEGANT
   ======================================== */

.footer-modern {
    background: var(--grey-900);
    color: var(--grey-400);
    padding: var(--space-16) 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-8);
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.footer-tagline {
    font-size: var(--text-sm);
    color: var(--grey-500);
    max-width: 300px;
}

.footer-legal {
    text-align: right;
    font-size: var(--text-xs);
}

.footer-legal p {
    margin-bottom: var(--space-2);
}

/* ========================================
   RESPONSIVE - MOBILE FIRST
   ======================================== */

@media (max-width: 1200px) {
    .bento-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .card-large {
        grid-column: span 6;
        grid-row: span 1;
    }

    .card-medium,
    .card-tall {
        grid-column: span 3;
        grid-row: span 1;
    }
}

@media (max-width: 900px) {
    .nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--duration-base) var(--ease-out);
        border-bottom: 1px solid transparent;
        box-shadow: none;
    }

    .nav.active {
        max-height: 500px;
        padding: var(--space-6);
        gap: var(--space-4);
        border-bottom: 1px solid var(--grey-200);
        box-shadow: var(--shadow-lg);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-1);
    }

    .nav-link {
        padding: var(--space-4);
        border-radius: var(--radius-md);
        transition: background var(--duration-fast);
    }

    .nav-link:hover {
        background: var(--grey-100);
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .contact-info-modern {
        position: static;
    }

    .services-grid-simple {
        grid-template-columns: 1fr;
    }

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

    .card-large,
    .card-medium,
    .card-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .client-category-card {
        width: 80%;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--space-6);
    }

    .team-grid,
    .team-grid-large {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: var(--space-8);
    }
}

@media (max-width: 640px) {
    :root {
        --space-32: 5rem;
        --space-24: 4rem;
        --space-20: 3rem;
        --space-16: 2.5rem;
    }

    .container-wide {
        padding: 0 var(--space-4);
        max-width: 100%;
    }

    .contact-form-modern {
        padding: var(--space-6);
        max-width: 100%;
    }

    .form-input,
    .form-textarea {
        max-width: 100%;
        width: 100%;
    }

    .hero {
        min-height: auto;
        padding: var(--space-24) 0 var(--space-16);
    }

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

    .btn-large {
        width: 100%;
    }

    .hero-visual {
        grid-template-columns: 1fr;
    }

    .stat-card:first-child {
        grid-column: span 1;
    }

    .testimonial-track {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .testimonial-card-modern {
        padding: var(--space-4);
    }

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

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-legal {
        text-align: left;
    }

    .scroll-indicator {
        display: none;
    }

    .client-category-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .category-title {
        font-size: var(--text-xl);
        padding: var(--space-4) var(--space-5);
    }

    .category-image {
        width: 100%;
        max-width: 100%;
    }

    .category-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .client-categories {
        gap: var(--space-6);
        margin: var(--space-8) 0;
    }

    .bento-grid {
        gap: var(--space-4);
    }

    .service-card {
        padding: var(--space-4);
    }

    /* Make background shapes smaller on mobile to prevent overflow */
    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2 {
        width: 250px;
        height: 250px;
    }

    .shape-3 {
        width: 350px;
        height: 350px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .blog-image {
        height: 220px;
    }

    .blog-content {
        padding: var(--space-4);
    }

    .team-grid,
    .team-grid-large {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .about-hero,
    .blog-hero {
        min-height: auto;
        padding: var(--space-24) 0 var(--space-16);
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        margin-top: var(--space-8);
    }

    .value-card {
        padding: var(--space-6);
    }

    .cta-section {
        padding: var(--space-20) 0;
    }

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

    .carousel-btn-prev {
        left: var(--space-2);
    }

    .carousel-btn-next {
        right: var(--space-2);
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
    }

    .carousel-container {
        max-width: 100%;
    }
}

/* ========================================
   OUR STORY SECTION
   ======================================== */

.our-story {
    padding: var(--space-16) 0;
    background: var(--grey-100);
}

.story-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-text {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--grey-700);
    margin-top: var(--space-6);
}

/* ========================================
   OUR VALUES SECTION
   ======================================== */

.our-values {
    padding: var(--space-16) 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-10);
}

.value-card {
    background: var(--grey-100);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: all var(--duration-base) var(--ease-out);
}

.value-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-cyan);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(var(--brand-cyan-rgb), 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    margin-bottom: var(--space-4);
    transition: all var(--duration-base) var(--ease-out);
}

.value-card:hover .value-icon {
    background: var(--brand-cyan);
    color: var(--white);
    transform: scale(1.1);
}

.value-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: var(--space-2);
}

.value-description {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--grey-600);
}

/* ========================================
   TEAM SECTION
   ======================================== */

.team-section {
    padding: var(--space-16) 0;
    background: var(--white);
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    margin-top: var(--space-8);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.carousel-track {
    display: flex;
    transition: transform var(--duration-slower) var(--ease-out);
}

.carousel-slide {
    min-width: 100%;
    padding: 0;
}

.team-member-card-large {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--duration-base) var(--ease-out);
}

.team-member-card-large:hover {
    box-shadow: var(--shadow-2xl);
    border-color: var(--brand-cyan);
}

.team-member-card-large .team-member-image {
    width: 100%;
    overflow: hidden;
    background: var(--grey-100);
}

.team-member-card-large .team-member-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out);
}

.team-member-card-large:hover .team-member-image img {
    transform: scale(1.03);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 2px solid var(--grey-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    z-index: 10;
    color: var(--grey-700);
}

.carousel-btn:hover {
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-btn-prev {
    left: -28px;
}

.carousel-btn-next {
    right: -28px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--grey-300);
    background: transparent;
    cursor: pointer;
    transition: all var(--duration-base) var(--ease-out);
    padding: 0;
}

.carousel-dot:hover {
    border-color: var(--brand-cyan);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--brand-cyan);
    border-color: var(--brand-cyan);
    width: 32px;
    border-radius: var(--radius-full);
}

/* CTA Section */
.cta-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, var(--grey-100), var(--white));
    text-align: center;
}

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

.cta-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--grey-900);
}

.cta-description {
    font-size: var(--text-lg);
    color: var(--grey-600);
    margin-bottom: var(--space-6);
}

/* ========================================
   INDUSTRIES SERVED SECTION
   ======================================== */

.industries-served {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--white), var(--grey-100));
    position: relative;
    overflow: hidden;
}

.industries-served::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--brand-cyan-rgb), 0.05), transparent);
    border-radius: 50%;
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--brand-cyan), var(--brand-cyan-light));
    transition: height var(--duration-base) var(--ease-out);
}

.industry-card:hover::before {
    height: 100%;
}

.industry-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(var(--brand-cyan-rgb), 0.3);
}

.industry-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: var(--space-3);
    font-family: var(--font-serif);
}

.industry-description {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--grey-600);
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-us {
    padding: var(--space-24) 0;
    background: var(--grey-100);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.why-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(var(--brand-cyan-rgb), 0.05), transparent);
    opacity: 0;
    transition: opacity var(--duration-base) var(--ease-out);
    pointer-events: none;
}

.why-card:hover::after {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--brand-cyan);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(var(--brand-cyan-rgb), 0.1), rgba(var(--brand-cyan-rgb), 0.05));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-cyan);
    margin-bottom: var(--space-5);
    transition: all var(--duration-base) var(--ease-out);
}

.why-card:hover .why-icon {
    background: var(--brand-cyan);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(var(--brand-cyan-rgb), 0.3);
}

.why-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: var(--space-3);
}

.why-description {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--grey-600);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: var(--space-24) 0;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: var(--space-12) auto 0;
}

.faq-item {
    background: var(--grey-100);
    border: 2px solid var(--grey-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    margin-bottom: var(--space-6);
    transition: all var(--duration-base) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--brand-cyan-rgb), 0.05), transparent);
    transition: left var(--duration-slower) var(--ease-out);
}

.faq-item:hover::before {
    left: 100%;
}

.faq-item:hover {
    border-color: var(--brand-cyan);
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.faq-question {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--grey-900);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.faq-question::before {
    content: 'Q';
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--brand-cyan);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
}

.faq-answer {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--grey-700);
    padding-left: calc(32px + var(--space-3));
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */

.footer-keywords {
    font-size: var(--text-xs);
    color: var(--grey-500);
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--grey-300);
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE DESIGN FOR NEW SECTIONS
   ======================================== */

@media (max-width: 900px) {
    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-5);
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .industry-card,
    .why-card {
        padding: var(--space-6);
    }

    .why-icon {
        width: 56px;
        height: 56px;
    }

    .faq-item {
        padding: var(--space-6);
    }

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

    .faq-answer {
        font-size: var(--text-sm);
    }
}

@media (max-width: 640px) {
    .industries-served {
        padding: var(--space-16) 0;
    }

    .why-choose-us {
        padding: var(--space-16) 0;
    }

    .faq-section {
        padding: var(--space-16) 0;
    }

    .industries-grid,
    .why-grid {
        gap: var(--space-4);
    }

    .industry-card,
    .why-card,
    .faq-item {
        padding: var(--space-5);
    }

    .industry-title,
    .why-title {
        font-size: var(--text-lg);
    }

    .faq-container {
        margin-top: var(--space-8);
    }

    .faq-question::before {
        width: 28px;
        height: 28px;
    }

    .faq-answer {
        padding-left: calc(28px + var(--space-3));
    }
}

/* ========================================
   BLOG PAGE - WORK SHOWCASE
   ======================================== */

.blog-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-32) 0 var(--space-20);
    background: var(--white);
}

.blog-hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.blog-section {
    padding: var(--space-24) 0 var(--space-32);
    background: var(--grey-100);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-8);
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--duration-base) var(--ease-out);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--brand-cyan);
}

.blog-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--grey-100);
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
    transition: opacity var(--duration-base);
}

.blog-card:hover .blog-image::after {
    opacity: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-content {
    padding: var(--space-6);
}

.blog-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--grey-900);
    line-height: 1.3;
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--brand-cyan);
    transition: gap var(--duration-base) var(--ease-out);
}

.blog-card:hover .blog-link-text {
    gap: var(--space-3);
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

:focus-visible {
    outline: 2px solid var(--brand-cyan);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .nav-toggle,
    .hero-visual,
    .btn,
    .contact-form-modern,
    .scroll-indicator,
    .bg-gradient,
    .bg-shapes {
        display: none;
    }
}
