/* =================================================================
   WIK Technologies - Stylesheet
   ================================================================= */

/* CSS Variables */
:root {
    /* Nav height — keeps hero/page-header top padding in sync with the fixed nav */
    --nav-height: 87px;   /* 55px logo + 1rem top + 1rem bottom padding */

    /* Spacing Tokens */
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4.5rem;
    --space-2xl: 7rem;

    /* Color System — Exact Brand Colors */
    --color-brand: #1E40AF;                  /* Primary Blue: professional navy blue */
    --color-brand-lt: #3B82F6;               /* Secondary Blue: vibrant blue for accents */
    --color-brand-dk: #1E3A8A;               /* Deep brand blue (gradients, hover) */
    --color-brand-tint: rgba(30, 64, 175, 0.08); /* Unified surface blue tint */
    --color-accent: #DC2626;                 /* Accent Red: bold red for CTAs and highlights */
    --color-accent-lt: #EF4444;              /* Lighter red (spark, decorative) */
    --color-accent-dk: #B91C1C;              /* Darker red (button hover) */
    --color-dark: #0A0A0A;                   /* Black: rich black for text and dark backgrounds */
    --color-white: #FFFFFF;                  /* White: clean white backgrounds */
    --color-surface: #F3F4F6;                /* Soft light-gray surface */
    --color-ink: #0A0A0A;                    /* Rich black body text */
    --color-muted: #374151;                  /* Muted secondary text — AA-passing on white */
    --color-border: #E2E8F0;                 /* Subtle border */

    /* Legacy mapping for compatibility with other sheets */
    --primary-blue: var(--color-brand);
    --secondary-blue: var(--color-brand-lt);
    --accent-red: var(--color-accent);
    --dark: var(--color-dark);
    --white: var(--color-white);
    --light-gray: var(--color-surface);
    --text-gray: var(--color-muted);

    /* Typography Scale (Perfect Fourth - 1.333 ratio between major steps) */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.25rem;    /* 20px */
    --text-xl: 1.5rem;     /* 24px */
    --text-2xl: 2.25rem;   /* 36px — sharper jump from xl */
    --text-3xl: clamp(2.25rem, 4vw + 1rem, 3.75rem); /* Hero h1, fluid */
    --text-4xl: clamp(2.75rem, 5vw + 1rem, 4rem);    /* Interior page h1 */

    /* Line Height Scale */
    --leading-tight: 1.1;   /* Headings */
    --leading-snug: 1.35;   /* Subheadings / Card text */
    --leading-body: 1.65;   /* Body paragraphs */
}


/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Metric-matched fallback to minimize layout shift (FOUT) */
@font-face {
    font-family: 'Outfit-Fallback';
    src: local('Arial');
    size-adjust: 102%;
    ascent-override: 98%;
    descent-override: 22%;
    line-gap-override: 0%;
}

body {
    font-family: 'Outfit', 'Outfit-Fallback', sans-serif;
    color: var(--color-ink);
    background-color: var(--color-white);
    overflow-x: hidden;
    line-height: var(--leading-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibility focus indicator */
:focus-visible {
    outline: 3px solid var(--color-brand-lt);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Skip link: off-screen until it receives keyboard focus, then pinned
   to the top-left of the viewport so keyboard users can jump past the
   navigation. WCAG 2.4.1 Bypass Blocks. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    display: inline-block;
    padding: 0.9rem 1.5rem;
    background: var(--color-brand);
    color: #fff;
    font-family: 'Outfit', 'Outfit-Fallback', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0 0 10px 0;
    transition: left 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 0;
    outline: 3px solid var(--color-brand-lt);
    outline-offset: -3px;
}

/* Typography Base Defaults */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: var(--leading-tight);
    font-weight: 700;
    text-wrap: balance;
    color: var(--color-dark);
}

h3 {
    text-align: center;
}

p {
    line-height: var(--leading-body);
}

/* Limit measure on readable blocks to keep readable text line length under 75ch */
.hero-text p,
.about-content p,
.cta-content p,
.service-card p,
.faq-answer p,
.project-card p,
.blog-content p,
.case-study-content p {
    max-width: 65ch;
}

.section-title p {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* =================================================================
   Navigation
   ================================================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 0;
}

.spark {
    width: 4px;
    height: 30px;
    background: linear-gradient(to bottom, var(--accent-red), var(--color-accent-lt));
    border-radius: 3px;
    margin: 0 10px;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(220, 38, 38, 0.4);
        transform: scaleY(1);
    }

    50% {
        box-shadow: 0 0 20px rgba(220, 38, 38, 0.6);
        transform: scaleY(1.1);
    }
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-links a.active {
    color: var(--primary-blue);
}

.cta-button {
    background: var(--accent-red);
    color: white;
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.cta-button:hover {
    background: var(--color-accent-dk);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* =================================================================
   Hamburger Menu (Mobile Only)
   ================================================================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    position: relative;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger:hover span {
    background: var(--accent-red);
}

/* Hamburger animation when active (transforms to X) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* =================================================================
   Hero Section
   ================================================================= */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--color-brand-dk) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 3rem) 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.08) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, 30px) rotate(5deg);
    }
}

.hero-content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    z-index: 1;
}
.hero-content .hero-buttons {
    justify-content: center;
}

.hero-text h1 {
    font-size: var(--text-3xl);
    font-weight: 900;
    color: white;
    line-height: var(--leading-tight);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-text .highlight {
    color: var(--color-accent);
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: var(--leading-body);
}

.tagline {
    font-size: var(--text-sm);
    color: var(--accent-red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-red);
    color: white;
    padding: 1.1rem 2.5rem;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-dk) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
}

/* Inverted white primary buttons on dark / blue backgrounds — prevent white-on-white text */
.btn-primary[style*="background: white"],
.btn-primary[style*="background:white"],
.btn-primary[style*="background: #fff"],
.btn-primary[style*="background:#fff"],
.btn-cta-light {
    background: #ffffff !important;
    color: var(--primary-blue) !important;
    border: 2px solid #ffffff !important;
}

.btn-primary[style*="background: white"]:hover,
.btn-primary[style*="background:white"]:hover,
.btn-primary[style*="background: #fff"]:hover,
.btn-primary[style*="background:#fff"]:hover,
.btn-primary[style*="background: white"]:focus,
.btn-primary[style*="background:white"]:focus,
.btn-primary[style*="background: #fff"]:focus,
.btn-primary[style*="background:#fff"]:focus,
.btn-cta-light:hover,
.btn-cta-light:focus {
    background: #f1f5f9 !important;
    color: var(--primary-blue) !important;
    border-color: #f1f5f9 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-2px) !important;
}

/* Primary buttons with custom blue backgrounds */
.btn-primary[style*="primary-blue"]:hover,
.btn-primary[style*="primary-blue"]:focus {
    background: var(--secondary-blue) !important;
    color: #ffffff !important;
}

.btn-primary[style*="color-brand-lt"]:hover,
.btn-primary[style*="color-brand-lt"]:focus {
    background: #ffffff !important;
    color: var(--primary-blue) !important;
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 1.1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #ffffff;
    color: var(--color-brand);
    border-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}


/* =================================================================
   Services Section
   ================================================================= */
.services-section {
    padding: var(--space-2xl) 5%;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-title p {
    font-size: var(--text-lg);
    color: var(--color-muted);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--secondary-blue);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Card contexts sit on light backgrounds, so the white-on-transparent
   .btn-secondary needs the blue outline variant (404 recovery cards). */
.service-card .btn-secondary,
.value-card .btn-secondary {
    margin-top: 1.5rem;
    display: inline-block;
    opacity: 1;
    visibility: visible;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.service-card .btn-secondary:hover,
.value-card .btn-secondary:hover {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    color: var(--text-gray);
    padding: 0.5rem 0;
    padding-left: 1.8rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
    font-size: 1.1rem;
}

/* =================================================================
   CTA Section
   ================================================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--color-brand-dk) 100%);
    padding: var(--space-2xl) 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.75rem;
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* =================================================================
   About Page
   ================================================================= */
.about-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--color-brand-dk) 100%);
    padding: calc(var(--nav-height) + 2.5rem) 5% 4rem;
    text-align: center;
    color: white;
}

.about-hero h1 {
    font-size: var(--text-4xl);
    font-weight: 900;
    margin-bottom: 1rem;
    color: white;
}

.about-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 5rem 5%;
}

.about-content h2 {
    font-size: 2.25rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    font-weight: 800;
}

.about-content>h2:first-of-type {
    margin-top: 0;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.value-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: var(--secondary-blue);
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--text-gray);
    font-size: 1rem;
}

.about-cta {
    margin-top: 4rem;
    padding: 3.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.2);
}

.about-cta h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2.25rem;
    margin-top: 0;
}

.about-cta p {
    margin-bottom: 2rem;
    font-size: 1.15rem;
    color: white;
    opacity: 1;
    line-height: 1.6;
}

.about-cta .btn-secondary {
    color: var(--primary-blue);
    border-color: white;
    background: white;
}

.about-cta .btn-secondary:hover {
    background: var(--light-gray);
}

/* =================================================================
   Portfolio Page
   ================================================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.project-image-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--color-brand-dk) 55%, var(--dark) 100%);
    aspect-ratio: 16 / 10;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.project-image-brand picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.project-image-brand::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.24) 0%, transparent 70%);
    top: -100px;
    right: -60px;
}

.project-image-brand .project-brand-logo {
    width: min(82%, 320px);
    height: auto;
    max-height: 130px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 14px 28px rgba(10, 10, 10, 0.28));
}

.project-content {
    padding: 2.5rem;
}

.project-category {
    color: var(--accent-red);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-content h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.project-content p {
    color: var(--text-gray);
    line-height: 1.7;
}

.tech-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.tech-tag {
    background: var(--light-gray);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark);
    font-weight: 600;
    border: 1px solid var(--color-border);
}

/* =================================================================
   Contact Page
   ================================================================= */
.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 5rem 5%;
}

.contact-info h2,
.contact-grid>div>h2 {
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.2);
}

.contact-item h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: left;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-item a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--primary-blue);
}

.business-hours {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 16px;
}

.business-hours h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.business-hours p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

.submit-button {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-red);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.2);
}

.submit-button:hover {
    background: var(--color-accent-dk);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(220, 38, 38, 0.3);
}

/* Inline form feedback — replaces alert() dialogs */
.field-error {
    display: none;
    color: var(--color-accent);
    font-size: var(--text-sm);
    margin-top: 0.35rem;
    padding-left: 0.25rem;
}
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: var(--color-accent);
    outline: 2px solid oklch(from var(--color-accent) l c h / 0.2);
}
.form-group.has-error .field-error {
    display: block;
}
.form-success-banner {
    background: oklch(95% 0.05 140);
    color: oklch(25% 0.12 140);
    border: 1px solid oklch(85% 0.08 140);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: none;
    font-weight: 500;
}
.form-error-banner {
    background: oklch(95% 0.05 22);
    color: oklch(25% 0.12 22);
    border: 1px solid oklch(85% 0.08 22);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    display: none;
    font-weight: 500;
}

/* =================================================================
   Blog Page
   ================================================================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--secondary-blue);
}

.blog-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 180px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.blog-image::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.2) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.blog-icon {
    font-size: 4rem;
    position: relative;
    z-index: 1;
}

.blog-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.blog-content {
    padding: 2.5rem;
}

.blog-meta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.blog-content h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.3s;
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-blue);
}

.blog-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.read-more {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.read-more:hover::after {
    transform: scaleX(1);
}

.read-more:hover {
    color: var(--accent-red);
    gap: 0.8rem;
}

/* =================================================================
   Footer
   ================================================================= */
footer {
    background: var(--dark);
    padding: 4rem 5% 2rem;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0;
}

.footer-logo .spark {
    height: 28px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-section p {
    color: white;
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
    padding: 0.35rem 0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.footer-section a:hover {
    color: var(--accent-red);
}

.footer-section a i,
.footer-section li > i {
    width: 1.25rem;
    margin-right: 0.65rem;
    color: #93C5FD;
    transition: color 0.3s ease, transform 0.2s ease;
    text-align: center;
    display: inline-block;
    flex-shrink: 0;
}

.footer-section a:hover i {
    color: var(--accent-red);
    transform: scale(1.15);
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-socials a {
    color: #93C5FD;
    font-size: 1.25rem;
    min-height: auto;
    padding: 0.25rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.footer-socials a:hover {
    color: var(--accent-red);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: white;
}

@media (min-width: 969px) and (max-width: 1200px) {
    .nav-links {
        gap: 1.5rem;
    }
}

/* =================================================================
   Responsive Design
   ================================================================= */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.75rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid,
    .portfolio-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    :root {
        --nav-height: 77px;  /* 45px logo + 1rem top + 1rem bottom */
    }

    /* Global Section Padding Reduction */
    .hero {
        padding: calc(var(--nav-height) + 2rem) 5% 3rem;
        min-height: auto;
    }

    .about-hero {
        padding: calc(var(--nav-height) + 1.5rem) 5% 3rem;
    }

    .services-section,
    .cta-section,
    .about-content,
    .portfolio-grid,
    .contact-grid,
    .blog-grid {
        padding: 3rem 5%;
    }

    /* Typography Scaling */
    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .section-title h2,
    .about-hero h1,
    .cta-content h2,
    .about-content h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    /* Navigation */
    nav {
        padding: 1rem 5%;
    }

    .logo-img {
        height: 45px;
    }

    /* Show hamburger menu button on mobile */
    .hamburger {
        display: flex !important;
    }

    /* Mobile slide-out menu */
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 2rem 5%;
        transition: left 0.3s ease;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 999;
    }

    /* Show menu when active */
    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(30, 64, 175, 0.1);
    }

    .nav-links a {
        display: block;
        padding: 1.25rem 0;
        font-size: 1.1rem;
        width: 100%;
    }

    .nav-links a::after {
        display: none;
    }

    /* Hide desktop CTA button on mobile */
    nav>.cta-button {
        display: none;
    }

    /* Footer Layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Button Sizing */
    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

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

@media (max-width: 480px) {

    :root {
        --nav-height: 72px;  /* 40px logo + 1rem top + 1rem bottom */
    }

    /* Further Padding Reduction */
    .hero {
        padding: calc(var(--nav-height) + 1.5rem) 4% 2.5rem;
    }

    .about-hero {
        padding: calc(var(--nav-height) + 1.5rem) 4% 2.5rem;
    }

    .services-section,
    .cta-section,
    .contact-grid {
        padding: 2.5rem 4%;
    }

    /* Typography Further Scaling */
    .hero-text h1 {
        font-size: 2rem;
    }

    .about-hero h1,
    .section-title h2 {
        font-size: 1.75rem;
    }

    .logo-img {
        height: 40px;
    }

    /* Card Padding Reduction */
    .service-card,
    .value-card,
    .blog-card,
    .project-card,
    .business-hours {
        padding: 1.5rem;
    }

    .blog-content,
    .project-content {
        padding: 1.5rem;
    }

    /* Hero Visual Adjustment */
    .hero-visual {
        margin-top: 2rem;
    }
}

/* =================================================================
   ENHANCED ANIMATIONS & EFFECTS - WIK Technologies
   ================================================================= */

/* Static Gradient Backgrounds - No Animation */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--color-brand-dk) 50%, var(--dark) 100%);
}

.about-hero,
.cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--color-brand-dk) 100%);
}


/* Tagline base */
.tagline {
    position: relative;
}

/* Enhanced Glassmorphism */
.service-card,
.value-card,
.project-card,
.blog-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover,
.value-card:hover,
.project-card:hover,
.blog-card:hover {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 20px 40px rgba(30, 64, 175, 0.15),
        0 0 0 1px rgba(59, 130, 246, 0.5),
        0 0 20px rgba(59, 130, 246, 0.2);
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.service-card,
.project-card,
.blog-card,
.value-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1),
.project-card:nth-child(1),
.blog-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2),
.project-card:nth-child(2),
.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3),
.project-card:nth-child(3),
.blog-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4),
.project-card:nth-child(4),
.blog-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card:nth-child(5),
.project-card:nth-child(5),
.blog-card:nth-child(5) {
    animation-delay: 0.5s;
}

.service-card:nth-child(6),
.project-card:nth-child(6),
.blog-card:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cursor Trail removed */

/* Enhanced Button Animations */
.btn-primary,
.btn-secondary,
.cta-button,
.submit-button {
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.cta-button::before,
.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.btn-primary:hover::before,
.cta-button:hover::before,
.submit-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

/* Code Window Enhancement */
/* Navigation Enhancement */
nav {
    transition: all 0.3s ease, backdrop-filter 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Form Input Focus Enhancement */
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-blue);
    box-shadow:
        0 0 0 4px rgba(30, 64, 175, 0.1),
        0 0 20px rgba(30, 64, 175, 0.2);
    transform: translateY(-2px);
}

/* Project Image Hover Effect */
.project-image,
.blog-image {
    position: relative;
    overflow: hidden;
}

.project-image::after,
.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    pointer-events: none;
}

.project-card:hover .project-image::after,
.blog-card:hover .blog-image::after {
    left: 100%;
}

/* Loading Animation for Images */
.project-image img,
.blog-image img {
    animation: imageLoad 0.6s ease;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tech Tag Hover */
.tech-tag {
    transition: all 0.3s ease;
    cursor: default;
}

.tech-tag:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 64, 175, 0.2);
}

/* Footer Link Hover Enhancement */
.footer-section a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-section a:hover::after {
    transform: scaleX(1);
}

/* Responsive: Disable heavy animations on mobile */
@media (max-width: 768px) {

    .particle {
        display: none;
    }

    .hero,
    .about-hero,
    .cta-section {
        animation: none;
    }


    .service-icon,
    .contact-icon {
        animation: none;
    }
}

/* WhatsApp Floating Button */
.whatsapp-chat-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-chat-button:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
}

.whatsapp-chat-button .tooltip {
    position: absolute;
    left: 70px;
    background-color: white;
    color: #333;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
}

.whatsapp-chat-button:hover .tooltip {
    opacity: 1;
    visibility: visible;
    left: 75px;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .whatsapp-chat-button {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .whatsapp-chat-button .tooltip {
        display: none;
    }
}

/* =================================================================
   ADVANCED ANIMATIONS - WIK Technologies
   ================================================================= */

/* 1. Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements (if needed via utility classes) */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}


/* ==========================================================================
   Portfolio Filter Tabs
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.filter-btn:hover {
    background: rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Accessibility: Support prefers-reduced-motion */
@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;
    }

    /* Hover movement is a transform, so the timing reset above does not
       stop it. Cancel the movement itself. */
    .service-card:hover,
    .value-card:hover,
    .project-card:hover,
    .blog-card:hover {
        transform: none !important;
    }
}

/* Smooth entrance for filtered items */
.filter-item {
    animation: filterFadeIn 0.3s ease-out forwards;
}

@keyframes filterFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   FAQ Section Accordions & Spacing Rhythm
   ========================================================================== */
.faq-section {
    padding: 5rem 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-white);
    transition: border-color 0.2s ease;
}

.faq-item:hover {
    border-color: var(--color-brand-lt);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    font-size: var(--text-lg);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--color-dark);
}

/* Remove default disclosure triangle in ALL browsers */
.faq-question {
    list-style: none; /* Firefox */
}

.faq-question::-webkit-details-marker {
    display: none; /* Safari / older Chrome */
}

.faq-question::marker {
    display: none; /* Chrome 86+, Firefox 68+ */
    content: '';
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    color: var(--color-brand-lt);
    flex-shrink: 0;
    transition: transform 0.25s ease-out;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-muted);
    line-height: var(--leading-body);
}

.faq-answer a {
    color: var(--color-brand);
    text-decoration: underline;
}

/* Dynamic Vertical Spacing Rhythm overrides */
.results-section {
    padding: 4.5rem 5% !important; /* tighter supporting section */
    background: var(--light-gray);
}

/* Stat cards for proof bands — no accent stripes, tinted background */
.stat-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.1);
}


/* =================================================================
   Download Portal Components
   ================================================================= */
.download-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.download-card-header {
    min-height: 200px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-hover) 100%);
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.download-card-header h2,
.download-card-header h1,
.download-card-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white !important; /* Beats global h1-h6 { color: var(--color-dark) } */
}

.download-card-header p,
.download-card-header span {
    font-size: 1.1rem;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 0 auto;
}

/* Subtle graphic decoration inside card header */
.download-card-header::before {
    content: '';
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -60px;
    pointer-events: none;
}

.btn-download-primary {
    display: block;
    text-align: center;
    padding: 1.1rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    background: var(--theme-color);
    color: white;
    box-shadow: 0 4px 14px var(--theme-shadow);
    transition: all 0.3s ease;
}

.btn-download-primary:hover {
    background: var(--theme-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--theme-shadow);
    color: white;
}

.btn-download-secondary-group {
    display: flex;
    gap: 0.8rem;
}

.btn-download-secondary {
    flex: 1;
    text-align: center;
    background: var(--color-surface);
    color: var(--color-muted);
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.btn-download-secondary:hover {
    background: #e2e8f0;
    color: var(--theme-hover);
    border-color: var(--theme-hover);
    transform: translateY(-1px);
}

/* =================================================================
   Brand Logos Section & Client Strip
   ================================================================= */
.brand-strip-container {
    padding: 3.5rem 5%;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.brand-strip-title {
    font-size: var(--text-xs);
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-muted);
    margin-bottom: 2rem;
    font-weight: 600;
}

.brand-logos-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 6vw, 4.5rem);
    flex-wrap: wrap;
}

.brand-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-link:hover {
    transform: translateY(-2px) scale(1.03);
}

.brand-logo-img {
    height: 100%;
    width: auto;
    max-width: 140px;
    max-height: 48px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: filter, opacity;
}

.brand-logo-link:hover .brand-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Portfolio Page - Brand Showcase Grid override */
.portfolio-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin: 3rem auto 1rem;
    max-width: 1000px;
}

.portfolio-brand-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-brand-lt);
}

.portfolio-brand-card .brand-logo-link {
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-brand-card .brand-logo-img {
    max-height: 60px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.portfolio-brand-card h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.portfolio-brand-card p {
    font-size: var(--text-sm);
    color: var(--color-muted);
    line-height: var(--leading-snug);
    margin-bottom: 1.5rem;
}

.portfolio-brand-card .case-study-link {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

.portfolio-brand-card .case-study-link:hover {
    color: var(--color-brand-dk);
}

/* Hero Screenshot Mockups */
.hero-card-mockup {
    margin: 1.25rem 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
    background: rgba(15, 23, 42, 0.8);
    width: 100%;
    aspect-ratio: 16 / 10;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card-mockup picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-product-card:hover .hero-mockup-img {
    transform: scale(1.04);
}

/* Tech Stack Badges & Custom Studio Styling */
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: rgba(30, 64, 175, 0.06);
    border: 1px solid rgba(30, 64, 175, 0.12);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-ink);
    transition: all 0.25s ease;
}

.tech-pill:hover {
    background: rgba(30, 64, 175, 0.12);
    transform: translateY(-2px);
}

.studio-capabilities-grid .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, 0.1);
    border-color: var(--color-brand-lt) !important;
}

/* Responsive 2-Column FAQ Layout */
@media (min-width: 992px) {
    .faq-two-col {
        grid-template-columns: 1fr 1.6fr !important;
    }
}

.custom-faq-item[open] {
    border-color: var(--color-brand-lt) !important;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.05);
}

.custom-faq-summary::-webkit-details-marker {
    display: none;
}

/* Testimonial Carousel Responsive Sizing */
@media (min-width: 768px) {
    .testimonial-slide-card {
        flex: 0 0 calc(50% - 0.75rem) !important;
    }
}

/* =================================================================
   UI/UX Pro Max — Mobile Responsiveness & Accessibility Safeguards
   ================================================================= */
html, body {
    overflow-x: hidden;
    width: 100%;
}

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

picture {
    display: inline-block;
    max-width: 100%;
}

.project-image picture,
.hero-card-mockup picture,
.blog-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* Touch Target Accessibility (Min 48px Height for Touch Devices) */
@media (max-width: 768px) {
    .btn-primary,
    .btn-secondary,
    .btn-card-primary,
    .btn-card-secondary-red,
    .btn-card-secondary-blue,
    .btn-download-primary,
    .cta-button {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        box-sizing: border-box;
        text-align: center;
    }

    .hero-product-card {
        padding: 1.75rem 1.25rem !important;
    }

    .hero-card-mockup {
        aspect-ratio: 16 / 10;
        height: auto;
        margin: 1rem 0 1.25rem;
    }

    .project-image {
        aspect-ratio: 16 / 10;
        height: auto;
        min-height: auto;
    }

    .project-image img {
        object-fit: cover;
        object-position: top center;
    }

    .project-image-brand {
        aspect-ratio: 16 / 10;
        height: auto;
        min-height: auto;
        padding: 1.5rem 1rem;
    }

    .project-image-brand .project-brand-logo {
        width: min(85%, 260px);
        max-height: 100px;
    }

    .testimonial-slide-card {
        flex: 0 0 100% !important;
    }

    .facility-grid,
    .portfolio-brand-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .portfolio-brand-card .brand-logo-link {
        height: 50px;
    }

    .portfolio-brand-card .brand-logo-img {
        max-height: 50px;
        max-width: 140px;
    }

    .brand-logos-row {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.25rem 1.75rem !important;
    }

    .brand-logo-link {
        height: 42px;
    }

    .brand-logo-img {
        max-width: 120px;
        max-height: 42px;
        width: auto;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .hero-product-card h2 {
        font-size: 1.4rem !important;
    }

    .hero-text h1 {
        font-size: 1.85rem !important;
    }

    .section-title h2,
    .about-hero h1 {
        font-size: 1.6rem !important;
    }

    .hero-card-mockup {
        aspect-ratio: 16 / 10;
        border-radius: 8px;
    }

    .project-image {
        aspect-ratio: 16 / 10;
    }

    .project-image-brand {
        padding: 1.25rem 0.75rem;
    }

    .project-image-brand .project-brand-logo {
        width: min(90%, 220px);
        max-height: 85px;
    }

    .brand-logos-row {
        gap: 1rem 1.25rem !important;
    }

    .brand-logo-link {
        height: 36px;
    }

    .brand-logo-img {
        max-width: 95px;
        max-height: 36px;
    }
}

/* =================================================================
   UI/UX PRO MAX & MARKETING PSYCHOLOGY COMPONENTS
   ================================================================= */

/* 1. Trust & Compliance Strip */
.trust-compliance-strip {
    background: #0B132B;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.25rem 5%;
    color: #F8FAFC;
}

.trust-strip-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex: 1 1 220px;
}

.trust-status-pip {
    width: 10px;
    height: 10px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.trust-status-pip .pip-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    background-color: #10B981;
    animation: pipPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pipPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.trust-badge-text {
    display: flex;
    flex-direction: column;
}

.trust-badge-text strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
}

.trust-badge-text span {
    font-size: 0.78rem;
    color: #94A3B8;
}

.trust-badge-divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
    .trust-badge-divider {
        display: none;
    }
    .trust-strip-inner {
        gap: 1.25rem;
    }
}

/* 2. WhatsApp Ghost Button & Micro-Actions */
.btn-whatsapp-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-whatsapp-ghost:hover,
.btn-whatsapp-ghost:focus {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp-ghost:hover i,
.btn-whatsapp-ghost:focus i {
    color: #FFFFFF !important;
}

.btn-whatsapp-ghost i {
    font-size: 1.1rem;
}

.pricing-micro-anchor {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--color-muted);
    background: rgba(15, 23, 42, 0.04);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* 3. Mobile Sticky Bottom Action Bar */
.mobile-sticky-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    display: none;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    transform: translateY(100%);
    opacity: 0;
}

.mobile-sticky-action-bar.visible {
    transform: translateY(0);
    opacity: 1;
}

.mobile-sticky-action-bar.hidden-footer {
    transform: translateY(100%);
    opacity: 0;
}

.mobile-bar-inner {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-bar-btn {
    flex: 1;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: transform 0.2s ease;
}

.mobile-bar-btn:active {
    transform: scale(0.97);
}

.mobile-bar-whatsapp {
    background: #25D366;
    color: #FFFFFF;
}

.mobile-bar-audit {
    background: var(--primary-blue);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .mobile-sticky-action-bar {
        display: block;
    }

    /* Mobile Collision Prevention between Sticky Action Bar, Chatbot Launcher, and WhatsApp */
    body:has(.mobile-sticky-action-bar.visible:not(.hidden-footer)) .wik-chat-launcher,
    body.has-visible-sticky-bar .wik-chat-launcher {
        bottom: 78px !important;
        transition: bottom 0.3s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    body:has(.mobile-sticky-action-bar.visible:not(.hidden-footer)) .wik-chat-panel,
    body.has-visible-sticky-bar .wik-chat-panel {
        bottom: 140px !important;
        max-height: calc(100dvh - 155px) !important;
        max-height: calc(100vh - 155px) !important;
    }

    /* Hide redundant floating WhatsApp button when mobile sticky bar is visible (sticky bar already has WhatsApp button) */
    body:has(.mobile-sticky-action-bar.visible:not(.hidden-footer)) .whatsapp-chat-button,
    body.has-visible-sticky-bar .whatsapp-chat-button {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: scale(0.5) !important;
        transition: opacity 0.25s ease, transform 0.25s ease;
    }
}

/* 4. Interactive Product Sandbox */
.interactive-sandbox-section {
    padding: 4.5rem 5%;
    background: var(--color-dark);
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sandbox-container {
    max-width: 1100px;
    margin: 0 auto;
}

.sandbox-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.sandbox-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.4rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 30px;
    color: #94A3B8;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sandbox-tab:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.sandbox-tab.active {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.4);
}

.sandbox-screen-wrapper {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.sandbox-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sandbox-pane.active {
    display: block;
    opacity: 1;
    animation: fadeInPane 0.35s ease forwards;
}

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

.sandbox-screen-header {
    background: #1E293B;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.window-dots .dot.red { background: #EF4444; }
.window-dots .dot.yellow { background: #F59E0B; }
.window-dots .dot.green { background: #10B981; }

.window-title {
    font-size: 0.85rem;
    color: #CBD5E1;
    font-weight: 600;
}

.window-status {
    font-size: 0.78rem;
    color: #10B981;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.window-status .live-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
}

.sandbox-screen-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #020617;
    overflow: hidden;
}

.sandbox-screen-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.sandbox-callout {
    position: absolute;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.sandbox-callout.callout-1 {
    top: 15%;
    left: 4%;
}

.sandbox-callout.callout-2 {
    bottom: 12%;
    right: 4%;
}

.sandbox-callout i {
    color: #10B981;
}

.sandbox-footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.25rem 0;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.sandbox-meta-text {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: #94A3B8;
    font-size: 0.88rem;
}

.sandbox-meta-text i {
    color: #10B981;
    margin-right: 0.35rem;
}

@media (max-width: 768px) {
    .sandbox-callout {
        position: static;
        margin: 0.75rem 1rem;
    }
    .sandbox-footer-cta {
        flex-direction: column;
        align-items: stretch;
    }
}

/* 5. Loss Prevention & ROI Calculator Widget */
.roi-calculator-section {
    padding: 4.5rem 5%;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.roi-calculator-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: 0 10px 40px rgba(30, 64, 175, 0.06);
}

.roi-calc-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.roi-calc-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--color-dark);
    margin-top: 0.5rem;
}

.roi-calc-header p {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-top: 0.5rem;
}

.roi-calc-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.calc-input-group {
    margin-bottom: 1.75rem;
}

.calc-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.calc-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-ink);
    font-size: 0.95rem;
    font-weight: 600;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.slider-display {
    font-weight: 800;
    color: var(--primary-blue);
    font-size: 1.1rem;
    background: rgba(30, 64, 175, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
}

.calc-slider {
    width: 100%;
    height: 6px;
    background: #E2E8F0;
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.4);
}

.roi-results-col {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roi-result-metric .metric-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-bottom: 0.25rem;
}

.roi-result-metric .metric-number {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.roi-result-metric .metric-number.text-accent {
    color: #10B981;
}

.roi-result-metric .metric-number.text-primary {
    color: var(--primary-blue);
}

.roi-result-metric .metric-subtext {
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.4;
}

@media (max-width: 850px) {
    .roi-calc-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 6. Choice Architecture & Solution Finder Quiz */
.solution-finder-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    margin: 2rem auto 3rem;
    max-width: 900px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.solution-finder-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.solution-finder-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-dark);
}

.solution-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.solution-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.solution-btn {
    padding: 0.85rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-ink);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.solution-btn:hover {
    border-color: var(--primary-blue);
    background: rgba(30, 64, 175, 0.04);
}

.solution-btn.selected {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.solution-result-box {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.06) 0%, rgba(16, 185, 129, 0.06) 100%);
    border: 1px solid rgba(30, 64, 175, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.solution-result-info h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.35rem;
}

.solution-result-info p {
    font-size: 0.88rem;
    color: var(--color-muted);
    margin: 0;
}

/* =================================================================
   GRANULAR MOBILE RESPONSIVE GUARDS (<480px & <768px)
   ================================================================= */
@media (max-width: 768px) {
    .trust-compliance-strip {
        padding: 1rem 5%;
    }

    .trust-strip-inner {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .roi-calc-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .roi-results-col {
        padding: 1.5rem 1.25rem !important;
    }

    .solution-result-box {
        flex-direction: column;
        align-items: stretch;
    }

    .solution-result-box .btn-primary,
    .solution-result-box .btn-whatsapp-ghost {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .sandbox-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        gap: 0.5rem;
        scrollbar-width: none;
    }

    .sandbox-tabs::-webkit-scrollbar {
        display: none;
    }

    .sandbox-tab {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sandbox-screen-header {
        padding: 0.65rem 0.85rem;
    }

    .window-title {
        font-size: 0.75rem;
        max-width: 180px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sandbox-callout {
        font-size: 0.75rem;
        padding: 0.4rem 0.65rem;
    }

    .roi-calculator-card {
        padding: 1.25rem 1rem !important;
        border-radius: 12px;
    }

    .roi-result-metric .metric-number {
        font-size: 1.6rem !important;
    }

    .solution-finder-card {
        padding: 1.25rem 1rem !important;
        border-radius: 12px;
    }

    .solution-options-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .solution-btn {
        padding: 0.65rem 0.5rem;
        font-size: 0.8rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    .mobile-bar-btn {
        font-size: 0.85rem;
        padding: 0.45rem 0.6rem;
    }
}

/* =================================================================
   PERSUADE REDESIGN SYSTEM (Task 2: POS+services-first visual world)
   Mobile-first shared components for homepage + wik-pos + services.
   No motion-dependent content: all meaning survives without animation.
   ================================================================= */

/* Card buttons standardization (shared: index, wik-pos, services) */
.btn-card-primary {
    padding: 0 2rem;
    font-size: 0.95rem;
    width: auto;
    border-radius: 8px;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    box-sizing: border-box;
    background: var(--accent-red);
    color: white;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.btn-card-primary:hover {
    background: #B91C1C;
    transform: translateY(-3px);
    color: white !important;
}
.btn-card-primary.blue {
    background: var(--primary-blue);
}
.btn-card-primary.blue:hover {
    background: var(--secondary-blue);
    color: white !important;
}

.btn-card-secondary-red {
    padding: 0 2rem;
    font-size: 0.95rem;
    width: auto;
    border-radius: 8px;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    box-sizing: border-box;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.btn-card-secondary-red:hover {
    background: var(--accent-red);
    color: white !important;
    transform: translateY(-3px);
}

.btn-card-secondary-blue {
    padding: 0 2rem;
    font-size: 0.95rem;
    width: auto;
    border-radius: 8px;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    box-sizing: border-box;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
}
.btn-card-secondary-blue:hover {
    background: var(--primary-blue);
    color: white !important;
    transform: translateY(-3px);
}

/* Ensure secondary buttons inside blue CTA bands never blend into the identical background color */
.pz-close .btn-card-secondary-blue:hover,
.pz-close .btn-secondary:hover,
.pz-scholar .btn-card-secondary-blue:hover,
.pz-scholar .btn-secondary:hover {
    background: #ffffff !important;
    color: var(--color-brand) !important;
    border-color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

/* Ensure elevated hovered cards float cleanly above neighboring cards */
.service-card:hover,
.project-card:hover,
.blog-card:hover,
.pos-product-card:hover,
.pz-pos-card:hover,
.pz-work-card:hover,
.pz-service-card:hover,
.value-card:hover,
.stat-card:hover,
.portfolio-brand-card:hover,
.hero-product-card:hover {
    z-index: 2;
    position: relative;
}

.pz-section {
    padding: 3.5rem 5%;
}

/* Remote dashboard showcase band (wik-pos) */
.remote-dashboard-block {
    background: linear-gradient(135deg, var(--color-ink) 0%, var(--color-brand-dk) 100%);
    border-radius: 16px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    color: var(--white);
}
@media (max-width: 768px) {
    .remote-dashboard-block {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}
.module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.module-tag {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.pz-wrap {
    max-width: 1200px;
    margin: 0 auto;
}
.pz-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary-blue);
    border: 1px solid rgba(30, 64, 175, 0.2);
    margin-bottom: 1rem;
}
.pz-section h2.pz-title {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}
.pz-lead {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.65;
    max-width: 720px;
}
.pz-section-head {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
}
.pz-section-head .pz-lead {
    margin: 0 auto;
}

/* POS family cards: 1 col mobile -> 3 col desktop */
.pz-pos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .pz-pos-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
.pz-pos-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.pz-pos-card.pz-featured {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 12px 32px rgba(30, 64, 175, 0.12);
}
.pz-pos-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}
.pz-pos-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 1rem;
}
.pz-price {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.pz-price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-muted);
}
.pz-price-note {
    font-size: 0.82rem;
    color: var(--color-muted);
    margin: 0.35rem 0 1.25rem 0;
}
.pz-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem 0;
    text-align: left;
}
.pz-check-list li {
    font-size: 0.9rem;
    color: var(--color-ink);
    padding: 0.35rem 0 0.35rem 1.5rem;
    position: relative;
    line-height: 1.5;
}
.pz-check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: 700;
}
.pz-pos-card .pz-cta-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: auto;
}

/* Proof band: countable facts */
.pz-proof-band {
    background: var(--color-dark);
    color: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 900px) {
    .pz-proof-band { grid-template-columns: repeat(4, 1fr); }
}
.pz-proof-item { text-align: center; }
.pz-proof-num {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
}
.pz-proof-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 0.25rem;
}
.pz-proof-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    margin-top: 0.25rem;
}

/* Scholar band */
.pz-scholar {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1E3A8A 100%);
    border-radius: 16px;
    color: #fff;
    padding: clamp(1.75rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}
@media (min-width: 900px) {
    .pz-scholar { grid-template-columns: 1.4fr 1fr; }
}
.pz-scholar h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}
.pz-scholar p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}
.pz-scholar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.25rem 0;
}
.pz-scholar-tags span {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Portfolio grid + past-work badge */
.pz-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .pz-portfolio-grid { grid-template-columns: 1fr 1fr; }
}
.pz-work-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.pz-work-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.pz-work-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.pz-work-body h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.pz-work-body p {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.pz-past-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(148, 163, 184, 0.15);
    color: #475569;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 20px;
    padding: 0.2rem 0.7rem;
    margin-bottom: 0.75rem;
    width: fit-content;
}
.pz-work-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: auto;
}
.pz-work-links a {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--primary-blue);
    text-decoration: none;
}
.pz-work-links a:hover, .pz-work-links a:focus-visible { text-decoration: underline; }

/* Pricing table: scrolls horizontally on small screens */
.pz-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--white);
}
.pz-price-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}
.pz-price-table th, .pz-price-table td {
    padding: 0.9rem 1.1rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
}
.pz-price-table thead th {
    background: var(--color-dark);
    color: #fff;
    font-weight: 700;
}
.pz-price-table tbody th {
    font-weight: 700;
    color: var(--color-dark);
}
.pz-price-table td { color: var(--color-ink); }
.pz-price-table tr:last-child th, .pz-price-table tr:last-child td { border-bottom: none; }

/* Services grid (shared card look) */
.pz-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}
@media (min-width: 576px) {
    .pz-services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
    .pz-services-grid { grid-template-columns: repeat(3, 1fr); }
}
.pz-service-card {
    background: var(--white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.pz-service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0.75rem 0 0.5rem 0;
}
.pz-service-card p {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.6;
}
.pz-service-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}
.pz-service-card .pz-work-links { margin-top: 1rem; }

/* Closing CTA band */
.pz-close {
    background: var(--color-brand);
    border-radius: 16px;
    color: #fff;
    text-align: center;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
    max-width: 1200px;
    margin: 0 auto;
}
.pz-close h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.pz-close p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 1.75rem auto;
    line-height: 1.6;
}
.pz-close .pz-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Accessible focus + reduced motion (no motion-dependent content) */
a:focus-visible, button:focus-visible, summary:focus-visible,
select:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 3px solid #3B82F6;
    outline-offset: 2px;
    border-radius: 4px;
}
@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;
    }

    /* Hover movement is a transform, so the timing reset above does not
       stop it. Cancel the movement itself. */
    .service-card:hover,
    .value-card:hover,
    .project-card:hover,
    .blog-card:hover {
        transform: none !important;
    }
}








