/* Satoshi, self-hosted: the same files Fontshare serves (400, 700 and 900 are
   byte-identical to its CDN copies), without the render-blocking request to
   api.fontshare.com. 600 renders from 700 and 800 from 900, as before. */
@font-face{font-family:"Satoshi";src:url("/fonts/satoshi-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Satoshi";src:url("/fonts/satoshi-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"Satoshi";src:url("/fonts/satoshi-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Satoshi";src:url("/fonts/satoshi-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}

/* ===== VARIABLES & resets ===== */
:root {
    /* ── Brand: confident, warm, gradient-driven ── */
    --orange: #ff5a1f;            /* punchier signature orange */
    --orange-hover: #e84a12;
    --orange-2: #ff9d2e;          /* gradient partner */
    --orange-glow: rgba(255, 90, 31, 0.45);
    --brand-gradient: linear-gradient(105deg, #ff5a1f 0%, #ff8a1e 55%, #ffb347 100%);
    --brand-gradient-soft: linear-gradient(135deg, rgba(255,90,31,0.14), rgba(255,157,46,0.06));

    /* ── Ink: rich, warm near-black (not flat grey) ── */
    --black: #08070a;
    --dark: #0d0c11;
    --dark-2: #131119;
    --dark-surface: rgba(255, 255, 255, 0.035);
    --dark-surface-2: rgba(255, 255, 255, 0.055);
    --dark-border: rgba(255, 255, 255, 0.09);
    --dark-border-strong: rgba(255, 255, 255, 0.16);

    --white: #ffffff;
    --light-bg: #f5f3ef;          /* warm paper, not cold blue-grey */
    --light-bg-2: #efece6;
    --light-surface: rgba(255, 255, 255, 0.8);
    --light-border: rgba(20, 16, 12, 0.08);

    --gray-text: #a8a29a;         /* warm grey */
    --text-muted: rgba(255, 255, 255, 0.62);
    --light-gray: #e4e1da;

    /* ── Type: bold & confident, distinctive (Fontshare) ── */
    --font-heading: 'Satoshi', 'Outfit', sans-serif;
    --font-display: 'Satoshi', 'Outfit', sans-serif;
    --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;

    /* Fluid type scale (bumped larger — client request) */
    --fs-hero: clamp(2.7rem, 5vw, 4.6rem);
    --fs-h2: clamp(2.3rem, 3.9vw, 3.5rem);
    --fs-h3: clamp(1.6rem, 2.2vw, 2.2rem);
    --fs-lead: clamp(1.2rem, 1.6vw, 1.55rem);

    /* Radii, shadows, motion */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 40px;
    --shadow-soft: 0 18px 50px -18px rgba(0, 0, 0, 0.45);
    --shadow-card: 0 30px 80px -40px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 20px 60px -20px var(--orange-glow);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
.orange { color: var(--orange); }

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Background Patterns */
.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, var(--dark-border) 1px, transparent 1px),
        linear-gradient(to bottom, var(--dark-border) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.glow-orb.orange {
    background: var(--orange);
}

.glow-orb.blue {
    background: #0044ff;
    /* Slight accent */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.06;
    letter-spacing: -0.03em;
    font-weight: 600;
    text-wrap: balance;
}

.section-title {
    font-size: var(--fs-h2);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.02em;
    word-spacing: 0.08em;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.section-title.center {
    text-align: center;
}

.section-subtext {
    font-size: var(--fs-lead);
    color: var(--gray-text);
    max-width: 650px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

p {
    max-width: 700px;
    line-height: 1.7;
}

.text-black {
    color: var(--black) !important;
}

/* Sections */
/* FLUID container (client rule: content must FILL the screen — no big side margins
   on any monitor). Scales with viewport width; only a slim breathing padding remains. */
.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 4rem);
    position: relative;
    z-index: 1;
}

section {
    padding: 6rem 0;
    position: relative;
}

.dark-section {
    background-color: var(--black);
    color: var(--white);
}

.dark-section .section-title {
    color: var(--white);
}

.dark-section p {
    color: var(--gray-text);
}

.light-section {
    background-color: var(--light-bg);
    color: var(--black);
}

.orange-bg {
    background: var(--brand-gradient);
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.1rem 2.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out), background 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 2;
}


.btn-primary {
    background: var(--brand-gradient);
    background-size: 160% 160%;
    background-position: 0% 50%;
    color: #1a0d04;
    box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-3px);
    box-shadow: 0 24px 60px -16px var(--orange-glow), 0 0 0 1px rgba(255,255,255,0.06) inset;
}

.btn-outline {
    background-color: rgba(255,255,255,0.08);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(6px);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--white);
    transform: translateY(-4px);
}

.btn-dark {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--dark-border);
}

.btn-dark:hover {
    background-color: #111;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem 0.5rem 0.9rem;
    background: var(--brand-gradient-soft);
    color: var(--orange);
    border: 1px solid rgba(255, 90, 31, 0.28);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 1.25rem;
}
.badge::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 10px var(--orange);
}

/* Animations - Progressive Enhancement
   Elements are VISIBLE by default (no JS = content shown).
   JS adds .will-animate before observing, then .visible on scroll.
*/
.animate-on-scroll {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0px) translateZ(0px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* Applied by JS right before observing */
.animate-on-scroll.will-animate {
    opacity: 0;
    transform: perspective(1200px) rotateX(12deg) translateY(50px) translateZ(-60px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateY(0px) translateZ(0px);
}

/* Inside admin iframe: skip all animation instantly */
html.in-iframe .animate-on-scroll {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: none !important;
}

.delay-1 {
    transition-delay: 0.15s;
}

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

/* Setup Hero */
.hero {
    min-height: auto;
    padding: 4.5rem 0 4rem 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: var(--black);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* No empty selectors here */

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 600;
    margin-bottom: 1.75rem;
    line-height: 0.97;
    letter-spacing: -0.02em;
    word-spacing: 0.14em;
    color: var(--white);
}

.hero-title span {
    color: var(--orange);
    text-shadow: 0 0 40px var(--orange-glow);
}

.highlight-bg {
    position: relative;
    display: inline-block;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--orange);
    z-index: 1;
}

.highlight-bg::before {
    content: none;
}

.hero-desc {
    font-size: var(--fs-lead);
    color: var(--gray-text);
    margin-bottom: 2.75rem;
    max-width: 540px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


/* Premium Image Box / Glassmorphism */
.image-box {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card), 0 0 0 1px var(--dark-border);
    transform-style: preserve-3d;
    background: var(--dark-surface);
    padding: 0.75rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.image-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,138,30,0.5), transparent 40%, rgba(255,255,255,0.08) 80%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 3;
}

.image-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
    border-radius: var(--r-lg);
}

.hero-img,
.auth-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
    transform: translateZ(20px);
}

/* Trust Strip */
.trust-strip {
    padding: 1rem 0;
    /* Reduced height */
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    z-index: 10;
}

.marquee-wrapper {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-right: 5rem;
    color: var(--gray-text);
}

.marquee-content span i {
    color: var(--orange);
    font-size: 1.25rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Grid Layouts */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

/* Cards (Glassmorphism) */
.premium-card,
.process-card {
    background: var(--light-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--light-border);
    transition: var(--transition);
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.premium-card::before,
.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.premium-card h3,
.process-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    transform: translateZ(20px);
    font-weight: 800;
}

.premium-card p,
.process-card p {
    color: #555;
    transform: translateZ(10px);
    font-size: 1.1rem;
}

.service-item {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--orange);
    background: rgba(255, 102, 0, 0.05);
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-item i {
    color: var(--orange);
    font-size: 1.75rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

.service-item span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--light-gray);
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2.5rem;
    background: var(--light-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--light-border);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.benefit-item i {
    font-size: 3rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 10px var(--orange-glow));
}

.benefit-item h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.benefit-item p {
    color: #555;
    font-size: 1.05rem;
}

/* Testimonials */
.featured-testimonial {
    background: linear-gradient(135deg, rgba(20, 20, 22, 0.9) 0%, rgba(10, 10, 12, 0.9) 100%);
    border: 1px solid rgba(255, 102, 0, 0.2);
    padding: 5rem 4rem;
    border-radius: 30px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 4rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(255, 102, 0, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.featured-testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    line-height: 1;
}

.stars {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    filter: drop-shadow(0 0 5px var(--orange-glow));
}

.featured-testimonial h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-testimonial p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}

.author {
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.testimonial-slider {
    display: flex;
    gap: 2rem;
    overflow: visible;
    padding-bottom: 2rem;
    padding-top: 1rem;
    width: max-content;
    animation: scrollTestimonials 25s linear infinite;
}

.testimonial-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.testimonial-slider-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.mini-test {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--dark-border);
    min-width: 350px;
    transition: var(--transition);
}

.mini-test:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.mini-test p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #ddd;
    line-height: 1.6;
}

.trust-line {
    margin-top: 4rem;
    font-weight: 700;
    color: var(--gray-text);
    font-size: 1.2rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.05);
    margin-bottom: -1rem;
    line-height: 1;
    position: relative;
    z-index: 0;
}

.process-card h3 {
    position: relative;
    z-index: 1;
    color: var(--orange);
}

.process-card p {
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background-color: #111114;
    color: #666;
    padding: 3rem 0;
    border-top: 2px solid rgba(255, 102, 0, 0.18);
    box-shadow: 0 -1px 0 rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,102,0,0.06);
}

/* CTA */
.cta-section {
    padding: 8rem 0;
}

.cta-section .section-title {
    font-size: 4rem;
}

/* Interactive Mouse Spotlight - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    .mouse-spotlight {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255, 90, 0, 0.16) 0%, rgba(255, 90, 0, 0) 70%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: screen;
        transform: translate3d(-50%, -50%, 0);
        opacity: 0;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, width 0.4s, height 0.4s;
        will-change: transform, opacity;
    }
    .mouse-spotlight.white-glow {
        background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 70%) !important;
    }
    .mouse-spotlight.hover-active {
        width: 450px;
        height: 450px;
        background: radial-gradient(circle, rgba(255, 102, 0, 0.22) 0%, rgba(255, 102, 0, 0) 70%);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #000;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.service-category-card {
    background: var(--dark-surface);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dark-border);
    padding: 3rem;
    border-radius: 20px;
    transition: var(--transition);
    text-align: left;
    position: relative;
    z-index: 10;
}

.service-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 102, 0, 0.1);
}

.service-category-card i.ph-fill {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1.5rem;
    display: block;
    position: relative;
    z-index: 2;
}

/* Ensure icon stays visible on hover — VanillaTilt 3D transform can push icon behind */
.service-category-card:hover i.ph-fill,
.service-category-card:focus i.ph-fill {
    color: var(--orange) !important;
    opacity: 1;
}

.service-category-card h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.service-category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category-card ul li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.15rem;
    color: var(--gray-text);
    margin-bottom: 1rem;
}

.service-category-card ul li i {
    color: var(--orange);
    font-size: 1.25rem;
}

/* Advanced 3D & Motion Elements */
@keyframes orbFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.1);
        filter: blur(100px);
    }
}

.glow-orb {
    animation: orbFloat 8s ease-in-out infinite;
    transform: translateZ(0);
    /* Hardware acceleration */
}

.glow-orb.blue {
    animation-delay: -4s;
    animation-duration: 12s;
}

/* ================================================
   AMAZON REALISTIC CARDBOARD SHIPPING BOX SYSTEM
   ================================================ */

/* Amazon-Box Realistic Palette */
:root {
    --cb-front:  #c89f6d;   /* Core cardboard tan */
    --cb-side:   #b68c59;   /* Slightly darker side */
    --cb-top:    #dba878;   /* Lightest top */
    --cb-bottom: #946c43;   /* Shadowed base */
    --cb-back:   #c09564;
    --amz-smile: #000000;   /* Black ink stamp */
    --amz-tape:  rgba(60, 40, 20, 0.45); /* Brown packing tape */
    --cb-crease: rgba(0,0,0,0.2);
    --cb-label:  #ffffff;   /* Shipping label */
}

/* Internal Card Depth */
.premium-card,
.process-card {
    perspective: 1000px;
}

/* Enhanced 3D Interactivity for Conversion */
.btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: all 0.6s ease;
    z-index: 2;
}

.btn:hover::after {
    left: 150%;
}

.btn:hover {
    transform: translateY(-5px) scale(1.05) translateZ(10px);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.4);
}

[class*="card"] i {
    transition: all 0.2s ease-out;
    display: inline-block;
}

[class*="card"]:hover > i {
    transform: scale(1.15);
    color: #ff5500;
    filter: drop-shadow(0 0 8px rgba(255, 85, 0, 0.6));
}

/* Navigation Bar */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dual-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.nav-bottom-bar {
    display: flex;
    gap: 1.6rem;
    align-items: center;
}

.nav-bottom-bar a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-bottom-bar a:hover { color: var(--orange); }

.nav-item {
    position: relative;
    padding: 0.5rem 0; /* Creates an invisible bridge to hover the menu without losing hover state */
}
.mega-menu {
    position: absolute;
    top: 100%;
    left: auto; right: -50px; transform: translateY(15px);
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 2.5rem;
    min-width: 800px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 102, 0, 0.1);
    z-index: 1000;
}
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.mega-col h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mega-col h4 i {
    color: var(--orange);
    font-size: 1.1rem;
}
.mega-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.mega-col ul li a {
    color: var(--gray-text) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}
.mega-col ul li a:hover {
    color: var(--orange) !important;
    transform: translateX(4px);
}

.problems-text {
    position: relative;
    z-index: 10;
}

.nav-bottom-bar i {
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 2px;
}

.logo-text {
    font-size: 1.7rem;
    font-weight: 900;
    font-family: var(--font-body);
    color: var(--white);
    letter-spacing: -1.5px;
    display: inline-block;
    white-space: nowrap !important;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-text span {
    color: var(--orange) !important;
    display: inline-block !important;
}

.logo-text:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 102, 0, 0.5));
}

.hero {
    padding-top: 3rem;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Dynamic Scroll Progress Tracker */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--orange);
    z-index: 10001;
    box-shadow: 0 0 10px var(--orange-glow);
    transition: width 0.1s ease-out;
}
@media (max-width: 1024px) {
    #scroll-progress { display: none; }
}

/* ── TABLET: iPad landscape / large tablet (769px – 1024px) ── */
@media (max-width: 1024px) {

    /* Hide desktop nav links below 900px, show hamburger */
    .hero-title { font-size: 3.2rem; }
    .section-title { font-size: 2.4rem; }
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }

    /* Glow orbs: reduce on tablet */
    .glow-orb { opacity: 0.15 !important; }

    /* Section padding */
    section { padding: 6rem 0; }
    
    /* ── Testimonials (iPad & Mobile Swipe Fix) ── */
    .testimonial-slider-wrapper { 
        overflow-x: auto !important; 
        -webkit-overflow-scrolling: touch; 
        scroll-snap-type: x mandatory;
        padding-bottom: 1.5rem; 
        mask-image: none !important; 
        -webkit-mask-image: none !important;
    }
    .testimonial-slider { 
        animation: none !important; /* Stop the desktop infinite scroll */
        flex-wrap: nowrap; 
        min-width: max-content; 
        padding-left: 1rem;
        padding-right: 1rem;
        transform: none !important; /* Reset animation transform */
    }
    .mini-test { 
        scroll-snap-align: center;
        min-width: 300px;
        max-width: 85vw;
        white-space: normal;
    }
}

/* ── TABLET (iPad portrait & small tablet: 768–900px) ── */
@media (max-width: 900px) {
    .hamburger { display: flex; }

    /* Hero */
    .hero {
        padding-top: 5.5rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title { font-size: clamp(2.2rem, 5vw, 3rem); }
    .hero-desc { font-size: 1.05rem; margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; flex-wrap: wrap; }
    .image-box-orbit-wrapper { max-width: 300px; margin: 0 auto; }

    /* Section titles */
    .section-title { font-size: clamp(1.85rem, 5vw, 2.6rem); }
    section { padding: 5rem 0; }
    .cards-grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
    .hero-grid { grid-template-columns: 1fr; }

    /* Glow orbs */
    .glow-orb { opacity: 0.08 !important; }
    .geo-ring { display: none; }
}


@media (max-width: 768px) {

    .cards-grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    section {
        padding: 5rem 0;
    }
}

/* ===== HAMBURGER / MOBILE NAV ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

.hamburger.open span:nth-child(1) { transform: rotate(42deg) translateY(-1px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-42deg) translateY(1px); }
/* ===== MOBILE MENU (redesigned) ===== */
/* Base styles moved to end-of-file mobile optimization block.
   These remain for cascade ordering only. */
/* NOTE: the mobile menu (drawer + accordions) is defined ONCE, later in this
   file under "REDESIGNED MOBILE MENU". The old full-screen version that used to
   live here was removed because its leftover flex/padding rules conflicted with
   the drawer and broke the header. Do not re-add a second .mobile-menu block. */

/* ===== NAV SCROLL SHADOW ===== */
.premium-nav.scrolled {
    background: rgba(3, 3, 3, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(255, 102, 0, 0.15);
}

.stat-card {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.stat-card:hover {
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 102, 0, 0.08);
    transform: translateY(-6px);
}

.stat-card:hover::before {
    opacity: 1;
}

/* ===== ENHANCED FOOTER ===== */
footer {
    padding-bottom: 0;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray-text);
    margin-bottom: 1.25rem;
}


@media (max-width: 768px) {

    /* ── Global ── */
    section { padding: 4rem 0; }
    .container { padding: 0 1.1rem; }
    .section-title { font-size: clamp(1.75rem, 5vw, 2.2rem); }
    .section-subtext { font-size: 1rem; margin-bottom: 2rem; }
    .hamburger { display: flex; }
    .btn-outline { padding: 0.4rem 1rem !important; font-size: 0.85rem !important; }

    /* ── Hero ── */
    .hero {
        padding-top: 5.5rem;
        min-height: 100svh;
        padding-bottom: 4rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); line-height: 1.15; }
    .hero-desc { font-size: 1rem; margin: 0 auto 1.75rem; max-width: 90%; }
    .hero-buttons { justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
    .btn { padding: 0.9rem 1.75rem; font-size: 0.95rem; }
    .image-box { max-width: 280px; margin: 0 auto; }

    /* ── Hero image area ── */
    .image-box-orbit-wrapper { max-width: 260px; margin: 0 auto; }
    .stat-card { padding: 1.75rem 0.85rem; }
    .service-category-card { padding: 1.75rem 1.25rem; }

    /* ── Cards / Process ── */
    .cards-grid-3 { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2rem; }
    .premium-card, .process-card { padding: 2rem 1.5rem; }
    .problems-text { padding: 2rem !important; }

    /* ── Testimonials ── */
    .featured-testimonial { padding: 2rem 1.25rem; margin-bottom: 2rem; }
    .featured-testimonial h3 { font-size: 1.35rem; }
    .featured-testimonial p { font-size: 1rem; }
    .mini-test { min-width: 260px; padding: 1.5rem; }
    .testimonial-slider-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .testimonial-slider { flex-wrap: nowrap; min-width: max-content; }

    /* ── CTA ── */
    .cta-section { padding: 4rem 0; }
    .cta-section .section-title { font-size: clamp(1.6rem, 5vw, 2rem) !important; }
    .cta-section .btn-dark {
        font-size: 1rem !important;
        padding: 1rem 2rem !important;
        width: 100%;
        max-width: 340px;
    }
    .cta-text { font-size: 1rem !important; }

    /* ── Back to Top ── */
    .back-to-top { bottom: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.25rem; }
    .geo-ring { display: none; }
    .glow-orb { opacity: 0 !important; }
    .highlight-bg::before { opacity: 0.3 !important; }

    /* ── Mobile menu — handled by end-of-file optimization block ── */
}

@media (max-width: 480px) {

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .stat-card { padding: 1.5rem 0.75rem; }

    .featured-testimonial { padding: 2.5rem 1.5rem; }
    .featured-testimonial h3 { font-size: 1.3rem; }

    .badge { font-size: 0.75rem; letter-spacing: 1.5px; }

    .hero-buttons .btn { width: 100%; justify-content: center; }

    .cta-section .section-title { font-size: 1.85rem; }

    .hero-desc { font-size: 1rem; }

    /* Hide orbit rings & geo rings on mobile */
    .geo-ring { display: none; }
}

/* ---- 3D Geometric Rings (Hero) ---- */
.geo-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: ringBreath 8s ease-in-out infinite;
}
@keyframes ringBreath {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}

/* ---- Orbit Rings around Founder Photo ---- */
.image-box-orbit-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Button Glow Pulse (primary) ---- */
@keyframes btnGlowPulse {
    0%, 100% {
        box-shadow: 0 10px 30px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,0.3);
    }
    50% {
        box-shadow: 0 10px 55px rgba(255,102,0,0.75), inset 0 1px 0 rgba(255,255,255,0.5),
                    0 0 0 6px rgba(255,102,0,0.1);
    }
}
.btn-primary {
    animation: btnGlowPulse 3s ease-in-out infinite;
}

/* ---- Sheen Sweep on btn-dark (CTA) ---- */
.btn-dark::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
    z-index: 2;
}
.btn-dark:hover::before { left: 160%; }

/* ---- Service Card Interactive Hover (VanillaTilt-compatible) ---- */
/* NOTE: overflow must stay 'visible' so VanillaTilt glare isn't clipped */
.service-category-card {
    /* No overflow: hidden — VanillaTilt needs this */
    clip-path: none;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.service-category-card:hover {
    border-color: rgba(255, 102, 0, 0.3);
    box-shadow:
        0 0 0 1px rgba(255,102,0,0.1),
        0 20px 40px rgba(0,0,0,0.4),
        0 0 25px rgba(255,102,0,0.08);
    transform: translateY(-6px);
}
/* Orange top accent bar that appears on hover via box-shadow trick */
.service-category-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}
.service-category-card:hover::before { opacity: 1; }
/* Mobile touch active state */
.service-category-card:active {
    border-color: rgba(255, 102, 0, 0.7);
    box-shadow: 0 0 0 2px rgba(255,102,0,0.3), 0 10px 30px rgba(0,0,0,0.4);
    transform: scale(0.98);
}

/* ---- Section title animated underline (dark sections) ---- */
.dark-section .section-header .section-title::after,
.dark-section > .container > .section-title::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--orange), #ff3b00);
    border-radius: 2px;
    margin-top: 0.6rem;
    animation: titleBar 1.2s 0.4s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes titleBar {
    to { width: 72px; }
}

/* ---- Card depth — let VanillaTilt handle transform-style and perspective ---- */
/* Do NOT set perspective or transform-style here — VanillaTilt manages those */
.premium-card, .process-card {
    transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.premium-card:hover, .process-card:hover {
    box-shadow:
        0 0 0 1px rgba(255,102,0,0.2),
        0 30px 60px rgba(0,0,0,0.1),
        0 0 30px rgba(255,102,0,0.06);
    border-color: rgba(255, 102, 0, 0.25);
}
/* Orange top-line on light cards */
.premium-card::before, .process-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}
.premium-card:hover::before, .process-card:hover::before { opacity: 1; }
/* Mobile touch pulse */
.premium-card:active, .process-card:active {
    transform: scale(0.97);
    box-shadow: 0 0 0 2px rgba(255,102,0,0.25), 0 10px 25px rgba(0,0,0,0.08);
}

/* ---- Featured testimonial shimmer border ---- */
@keyframes borderGlow {
    0%, 100% { border-color: rgba(255,102,0,0.2); }
    50%       { border-color: rgba(255,102,0,0.55); box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(255,102,0,0.15), inset 0 0 40px rgba(255,102,0,0.07); }
}
.featured-testimonial {
    animation: borderGlow 5s ease-in-out infinite;
}

/* ---- Hero content parallax wrapper ---- */
.hero-content,
.hero-image-wrapper {
    will-change: transform;
    transition: transform 0.12s linear;
}

/* ---- Animated gradient on orange CTA bg ---- */
@keyframes ctaGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.orange-bg {
    background: linear-gradient(135deg, #ff6600, #ff4400, #ff8000, #ff6600);
    background-size: 300% 300%;
    animation: ctaGradientShift 8s ease infinite;
}

/* ---- Mini testimonial card hover ---- */
.mini-test {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s ease, box-shadow 0.35s ease;
    cursor: default;
}
.mini-test:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(255, 102, 0, 0.35);
    box-shadow: 0 15px 35px rgba(0,0,0,0.45), 0 0 20px rgba(255,102,0,0.08);
}
.mini-test:active {
    transform: scale(0.98);
}

/* ---- Stat card hover (VanillaTilt handles tilt, we add glow) ---- */
.stat-card {
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.stat-card:hover {
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow:
        0 0 0 1px rgba(255,102,0,0.2),
        0 20px 40px rgba(0,0,0,0.4),
        0 0 25px rgba(255,102,0,0.1);
}
.stat-card:active {
    transform: scale(0.97);
    border-color: rgba(255, 102, 0, 0.6);
}

/* ---- Process card step number highlight on hover ---- */
.process-card:hover .step-num {
    color: var(--orange) !important;
    transition: color 0.4s ease;
}

/* ======================================================
   TOUCH / MOBILE CARD INTERACTIVITY  
   (VanillaTilt is disabled on mobile — pure CSS fallback)
   ====================================================== */
@media (max-width: 768px) {

    /* Disable tilt pointer-events artifacts */
    .js-tilt-glare { display: none !important; }

    /* Service category cards — touch-first interaction */
    .service-category-card {
        transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
        cursor: pointer;
    }
    .service-category-card:active {
        border-color: rgba(255, 102, 0, 0.65);
        box-shadow: 0 0 0 2px rgba(255,102,0,0.3), 0 8px 24px rgba(0,0,0,0.4);
        transform: scale(0.975);
    }

    /* Premium & Process cards */
    .premium-card:active, .process-card:active {
        border-color: rgba(255, 102, 0, 0.35);
        box-shadow: 0 0 0 2px rgba(255,102,0,0.2), 0 8px 20px rgba(0,0,0,0.1);
        transform: scale(0.975);
    }

    /* Stat cards */
    .stat-card:active {
        border-color: rgba(255, 102, 0, 0.55);
        transform: scale(0.96);
    }

    /* Mini test */
    .mini-test:active { transform: scale(0.97); }

    /* Boost card tap-area padding slightly */
    .service-category-card,
    .premium-card,
    .process-card { cursor: pointer; -webkit-tap-highlight-color: transparent; }
}

.message {
    max-width: 82%;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: messageIn 0.28s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes messageIn {
    from { opacity: 0; transform: translateY(8px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.message.ai {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    color: #ddd;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.message.user {
    background: linear-gradient(135deg, rgba(255,102,0,0.2), rgba(204,51,0,0.15));
    border: 1px solid rgba(255,102,0,0.3);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* --- Small phones: 480px --- */
@media (max-width: 480px) {
    .hero-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
    .hero-buttons { gap: 0.75rem; }
    .badge { font-size: 0.75rem; padding: 0.3rem 0.85rem; }
    .premium-card, .process-card { padding: 2rem 1.25rem; }
    .service-category-card { padding: 1.5rem 1.25rem; }
    .featured-testimonial { padding: 1.5rem 1rem; }
    .cta-section a, .btn-dark { 
        font-size: 1rem !important;
        padding: 0.9rem 2rem !important;
    }
}


/* Premium Footer Styling */
.premium-footer {
    position: relative;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(to bottom, var(--dark-bg, #000), #050505);
    overflow: hidden;
}
.premium-footer .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 4rem;
}
.footer-heading {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-nav a:hover {
    color: var(--orange);
    transform: translateX(5px);
}
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}
.footer-contact-link:hover { opacity: 0.8; }
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}
.footer-legal {
    display: flex;
    gap: 1.5rem;
}
.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-legal a:hover { color: #fff; }

@media (max-width: 900px) {
    .premium-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .premium-footer .footer-top {
        grid-template-columns: 1fr;
    }
    .footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* --- LATEST AUDIO FEEDBACK OVERRIDES --- */
.hero-title, 
.section-title {
    text-shadow: none;
}
.premium-card:hover h3, .process-card:hover h3, .service-category-card:hover h3, .pain-card:hover h3 {
    color: var(--orange) !important;
}

/* Amazon Box Realistic Colors */
:root {
    --cb-front:  #C89461;
    --cb-side:   #B88350;
    --cb-top:    #D9A572;
    --cb-bottom: #946C43;
    --cb-back:   #B88350;
    --amz-smile: #232F3E;
    --amz-tape:  #192A3A;
    --cb-tape:   #192A3A;
}

/* Footer Fixes */
.premium-footer {
    background: #020202 !important;
    border-top: 1px solid #1a1a1e !important;
}
.premium-footer .footer-contact-link,
.premium-footer .footer-nav a {
    color: #aaa;
}
.premium-footer .footer-heading {
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* Catalog Theme Enhancements */
.orange-bg {
    background: linear-gradient(135deg, #ff6600 0%, #e55a00 100%) !important;
    color: #fff !important;
    border: none !important;
}

/* Orange section headings: white text for maximum legibility */
.orange-bg h2 {
    color: #fff !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3) !important;
}
.orange-bg h2 span {
    color: #fff !important;
    text-shadow: 0 2px 30px rgba(0,0,0,0.4) !important;
}
.orange-bg > .cat-container > .cat-header p {
    color: rgba(255,255,255,0.85) !important;
}

/* Error terminal on orange: keeps its own dark look — readable now */
.orange-bg .error-terminal {
    background: #0d0d0f !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5) !important;
}
.orange-bg .term-header {
    background: rgba(255,255,255,0.05) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.orange-bg .term-title { color: rgba(255,255,255,0.6) !important; }
.orange-bg .error-line { color: #ff5f56 !important; }
.orange-bg .error-line span.time { color: rgba(255,255,255,0.5) !important; }
.orange-bg .error-line span.code { color: #ff5f56 !important; font-weight: 900; }
.orange-bg .error-line span.msg  { color: #fff !important; }
.orange-bg .error-log-item { border-bottom: 1px solid rgba(255,255,255,0.06) !important; }
.orange-bg .error-log-item:hover { background: rgba(255,255,255,0.03); }
.orange-bg .error-details {
    background: rgba(255,255,255,0.04) !important;
    border-left: 3px solid #ff6600 !important;
}
.orange-bg .err-detail-row { color: rgba(255,255,255,0.8) !important; }
.orange-bg .err-detail-row strong { color: #ff9f4a !important; }

/* FAQ on orange (if ever used) */
.orange-bg .faq-q { color: #fff !important; border-top: 1px solid rgba(255,255,255,0.15); }
.orange-bg .faq-a { color: rgba(255,255,255,0.8) !important; }

/* =========================================================
   ULTRA-REALISTIC RECTANGULAR AMAZON BOX OVERRIDES
========================================================= */

/* Overriding Palette for exact Cardboard match */
:root {
    --cb-front:  #c08f4f;
    --cb-side:   #a87a3e;
    --cb-top:    #dfb074;
    --cb-bottom: #926932;
    --cb-back:   #b8884a;
}


/* =====================================================
   PREMIUM MOTION SYSTEM — GLOBAL ANIMATIONS
   ===================================================== */

/* ─── Scroll-Reveal: Base State ─── */
.will-animate {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
                transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.will-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children (apply to parent wrapper) */
.stagger-children > * { opacity: 0; transform: translateY(24px); transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1); }
.stagger-children.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.0s; }
.stagger-children.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(9) { opacity: 1; transform: none; transition-delay: 0.8s; }
.stagger-children.visible > *:nth-child(10){ opacity: 1; transform: none; transition-delay: 0.9s; }
.stagger-children.visible > *:nth-child(n+11){ opacity: 1; transform: none; transition-delay: 1.0s; }

/* ─── Floating / Levitate ─── */
@keyframes levitate {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-12px); }
}
.levitate { animation: levitate 4s ease-in-out infinite; }
.levitate-slow { animation: levitate 7s ease-in-out infinite; }

/* ─── Shimmer loading bar sweep ─── */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

/* ─── Ripple on click ─── */
@keyframes rippleOut {
    from { transform: scale(0); opacity: 0.6; }
    to   { transform: scale(4); opacity: 0; }
}
.ripple-effect {
    position: relative;
    overflow: hidden;
}
.ripple-effect::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    width: 60px; height: 60px;
    background: rgba(255,255,255,0.25);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}
.ripple-effect:active::after { animation: rippleOut 0.6s ease-out forwards; }

/* ─── Card hover lift & glow ─── */
.pain-card, .process-step, .proof-card {
    transition: transform 0.35s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.35s cubic-bezier(0.16,1,0.3,1),
                border-color 0.35s ease !important;
}
.pain-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 0 30px rgba(255,102,0,0.08) !important;
}
.process-step:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 12px 40px rgba(255,102,0,0.15) !important;
}

/* ─── CTA button premium hover ─── */
.cat-btn {
    transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease !important;
}
.cat-btn:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 20px 50px rgba(255,102,0,0.5) !important;
}

/* ─── Floating ambient particles (catalog page) ─── */
.cat-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: catParticleFloat var(--dur, 12s) ease-in-out infinite var(--del, 0s);
    opacity: 0.12;
}
@keyframes catParticleFloat {
    0%   { transform: translate(0, 0) scale(1); }
    33%  { transform: translate(var(--dx1, 30px), var(--dy1, -40px)) scale(1.1); }
    66%  { transform: translate(var(--dx2, -20px), var(--dy2, 20px)) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* ─── Hero section animated gradient border ─── */
.cat-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cat-orange, #ff6600), transparent);
    animation: scanLine 3s ease-in-out infinite;
}
@keyframes scanLine {
    0%   { opacity: 0; transform: scaleX(0); }
    50%  { opacity: 1; transform: scaleX(1); }
    100% { opacity: 0; transform: scaleX(0); }
}

/* ─── Badge pulse ─── */
.cat-badge {
    animation: badgePulse 4s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,102,0,0); }
    50%       { box-shadow: 0 0 20px 6px rgba(255,102,0,0.2); }
}

/* ─── Error log item: slide-in on click ─── */
.error-details {
    transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), 
                opacity 0.3s ease !important;
}

/* ─── FAQ ultra smooth ─── */
.faq-a {
    transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1),
                padding-bottom 0.3s ease,
                opacity 0.3s ease !important;
}
.faq-item:not(.open) .faq-a { opacity: 0; }
.faq-item.open .faq-a { opacity: 1; }

/* Proof items stagger */
.proof-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.proof-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Link underline sweep ─── */
.footer-nav a {
    position: relative;
}
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.3s ease;
}
.footer-nav a:hover::after {
    width: 100%;
}

/* ─── Scroll progress bar ─── */
#scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff6600, #ff9900);
    z-index: 10000;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255,102,0,0.6);
}

/* =====================================================
   GLOBAL SITE - EXPANDED MOTION SYSTEM
   ===================================================== */

/* NOTE: base opacity/transform intentionally NOT set here — elements are visible
   by default (see line ~348). JS adds .will-animate to hide before observing, so
   content stays visible if JS fails / IntersectionObserver is unsupported. */
.animate-on-scroll {
    transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.12s; }
.animate-on-scroll.delay-2 { transition-delay: 0.24s; }

@keyframes statFlipIn {
    from { opacity: 0; transform: perspective(600px) rotateX(-50deg) translateY(16px); }
    to   { opacity: 1; transform: perspective(600px) rotateX(0) translateY(0); }
}
.stat-card.visible { animation: statFlipIn 0.6s cubic-bezier(0.16,1,0.3,1) both; }
.stat-card.visible:nth-child(2) { animation-delay: 0.1s; }
.stat-card.visible:nth-child(3) { animation-delay: 0.2s; }
.stat-card.visible:nth-child(4) { animation-delay: 0.3s; }

@keyframes orbPulse { 0%,100% { opacity: 0.12; transform: scale(1) translateZ(0); } 50% { opacity: 0.22; transform: scale(1.08) translateZ(0); } }
.glow-orb { animation: orbPulse 6s ease-in-out infinite; }
.glow-orb:nth-child(2) { animation-delay: 3s; }

@keyframes navSlideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.premium-nav { animation: navSlideDown 0.6s cubic-bezier(0.16,1,0.3,1) both; }

@keyframes ctaShimmer { 0% { left: -60%; } 100% { left: 120%; } }
.cta-banner, .srv-cta { position: relative; overflow: hidden; }
.cta-banner::after, .srv-cta::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent); animation: ctaShimmer 4s ease-in-out infinite; }

/* Footer fade-in removed to ensure site-wide visibility */
footer .footer-brand, footer .footer-links-group, footer .footer-contact-group {
    opacity: 1; transform: translateY(0);
}

@keyframes cardPopIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.srv-card.card-visible { animation: cardPopIn 0.5s cubic-bezier(0.16,1,0.3,1) both; }
.srv-card.card-visible:nth-child(2) { animation-delay: 0.08s; }
.srv-card.card-visible:nth-child(3) { animation-delay: 0.16s; }
.srv-card.card-visible:nth-child(4) { animation-delay: 0.24s; }
.srv-card.card-visible:nth-child(5) { animation-delay: 0.32s; }
.srv-card.card-visible:nth-child(6) { animation-delay: 0.40s; }

.all-srv-item { opacity: 1; transform: translateX(0); transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.2s, border-color 0.2s; }
.all-srv-item.srv-visible { opacity: 1; transform: translateX(0); }

.process-step { opacity: 1; transform: translateY(0) scale(1); transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1), border-color 0.3s; }
.process-step.step-visible { opacity: 1; transform: translateY(0) scale(1); }
.process-step.step-visible:nth-child(2) { transition-delay: 0.1s; }
.process-step.step-visible:nth-child(3) { transition-delay: 0.2s; }
.process-step.step-visible:nth-child(4) { transition-delay: 0.3s; }

/* --- FOOTER --- */
.premium-footer { background: #f8f9fc; padding: 4rem 0 0; color: #111; position: relative; overflow: hidden; }
.premium-footer.dark-section { 
    background: var(--dark-bg); 
    color: var(--text-muted); 
    border-top: 1px solid var(--dark-border); 
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 1rem; position: relative; z-index: 2; margin-bottom: 0; }
.footer-heading { 
    font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1.5rem; 
    color: #fff; 
}
.footer-nav { list-style: none; padding: 0; }
.footer-nav li { margin-bottom: 0.75rem; }
.footer-nav a { 
    color: var(--text-muted); 
    text-decoration: none; font-size: 0.9rem; transition: color 0.2s; 
}
.footer-nav a:hover { color: var(--orange); }
.footer-contact-link { 
    display: flex; align-items: center; gap: 0.5rem; 
    color: var(--text-muted); 
    text-decoration: none; margin-bottom: 2rem; transition: 0.2s;
}
.footer-contact-link:hover { color: var(--orange); }
.footer-bottom-bar { 
    border-top: 1px solid var(--dark-border); padding: 1.5rem 0; 
    display: flex; justify-content: space-between; align-items: center; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    position: relative; z-index: 2;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-muted); text-decoration: none; transition: 0.2s; }
.footer-legal a:hover { color: var(--orange); }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; } }

/* --- MEGA MENU CSS --- */
.nav-item { position: relative; }
.mega-menu { position: absolute; top: 100%; left: auto; right: -50px; transform: translateY(10px); background: #0a0a0d; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 2rem; display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 2rem; opacity: 0; visibility: hidden; transition: all 0.3s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.8); z-index: 1000; min-width: 800px; }
.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col h4 { color: var(--orange); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 1.5rem; letter-spacing: 1px; display: flex; align-items: center; gap: 0.5rem; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.mega-col ul li a { color: rgba(255, 255, 255, 0.7) !important; font-size: 0.95rem; text-decoration: none; transition: color 0.3s ease; font-weight: 400 !important; }
.mega-col ul li a:hover { color: #fff !important; }
.mega-col ul li a .ph-caret-right { display: none; }
/* Glow Effect */
h2, h2:hover, h2 span { text-shadow: none; }

/* =====================
   FOOTER — Premium Dark
   ===================== */
.premium-footer { background: #f8f9fc; padding: 4rem 0 0; color: #111; }
.premium-footer.dark-section { 
    background: #020202; 
    color: rgba(255, 255, 255, 0.75); 
    border-top: 1px solid rgba(255,255,255,0.08); 
}
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2rem; padding-bottom: 1rem; margin-bottom: 0; }
.footer-heading { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 1.5rem; color: #fff !important; }
.footer-nav { list-style: none; padding: 0.5rem 0; }
.footer-nav li { margin-bottom: 0.75rem; }

/* High-specificity overrides to ensure visibility */
.premium-footer .footer-nav a,
.premium-footer .footer-contact-link,
.premium-footer .footer-legal a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.premium-footer .footer-nav a:hover,
.premium-footer .footer-contact-link:hover,
.premium-footer .footer-legal a:hover {
    color: var(--orange) !important;
}

.footer-nav a { font-size: 0.9rem; }
.footer-contact-link { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 1.5rem; }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr; } .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; } }
@media(max-width: 768px) { .cs-hero-split { grid-template-columns: 1fr; text-align: center !important; } .cs-hero-img-wrap { margin: 0 auto; width: 240px; height: 240px; } }

/* Structural Blocks */
.cs-block {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.cs-block:hover { border-color: rgba(255,102,0,0.6); transform: translateY(-2px); background: rgba(255,255,255,0.05); }
.cs-block:nth-child(even) { background: rgba(255,255,255,0.02); }
.cs-block:nth-child(odd) { background: rgba(255,255,255,0.04); }

@media(max-width: 768px) {
    .cs-block { padding: 2rem 1.5rem; }
    .cs-block-label { position: static; display: inline-block; margin-bottom: 1rem; }
}

/* ── FAQ Section (Global) ─────────────────────────────────── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
.srv-section-header { text-align: center; margin-bottom: 4rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.srv-section-label { display: inline-block; padding: 0.5rem 1rem; background: rgba(255, 102, 0, 0.1); color: var(--orange); border: 1px solid rgba(255, 102, 0, 0.2); border-radius: 50px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1.5rem; }

/* ── PREMIUM FOOTER ─────────────────────────────────────── */
.premium-footer { padding: 1.5rem 0 1rem; background: var(--black); position: relative; border-top: 1px solid rgba(255,255,255,0.03); overflow: hidden; }
.premium-footer .container { max-width: 98%; padding: 0 4%; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 4rem; margin-bottom: 0; padding-bottom: 1rem !important; }
.footer-heading { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 800; color: #fff; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 1px; }
.premium-footer .logo-text { font-size: 1.5rem !important; }
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }
.footer-nav a { color: var(--text-muted); text-decoration: none; transition: 0.3s; font-size: 0.9rem; }
.footer-nav a:hover { color: #27c93f; transform: translateX(5px); }
.footer-contact-link { display: flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; margin-bottom: 0.5rem; transition: 0.3s; font-size: 0.9rem; }
.footer-contact-link:hover { color: #fff; }
.footer-contact-link i { color: var(--orange); font-size: 1rem; }

@media (max-width: 992px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom-bar { flex-direction: column; text-align: center; gap: 1rem; }
}

.footer-bottom-bar { display: flex !important; justify-content: space-between !important; align-items: center !important; width: 100% !important; gap: 2rem; flex-wrap: wrap; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.03); margin-top: 0; }
.footer-legal { display: flex; gap: 2rem; }
.faq-q { width: 100%; background: none; border: none; color: var(--white); font-family: var(--font-body); font-size: 1rem; font-weight: 600; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 1rem; text-align: left; }
.faq-q i { color: var(--orange); font-size: 1.1rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.7; }
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.5rem; }

/* ===== BLOG & HULY-INSPIRED STYLES ===== */
:root {
    --huly-bg: #000000;
    --huly-surface: #0a0a0c;
    --huly-border: rgba(255, 255, 255, 0.1);
    --huly-text: #ffffff;
    --huly-text-muted: rgba(255, 255, 255, 0.6);
}

body.huly-light-theme {
    --huly-bg: #f8f9fc;
    --huly-surface: #ffffff;
    --huly-border: rgba(0, 0, 0, 0.08);
    --huly-text: #050505;
    --huly-text-muted: rgba(0, 0, 0, 0.6);
}

/* =========================================
   UI MOTIONS & 3D PHYSICS OVERRIDES
   ========================================= */

/* 2. Shimmer Sweep Effect for Action Buttons */
.btn-primary, .btn-secondary, a.btn-primary, a.btn-secondary {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0); /* Force GPU */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -150%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.15) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    z-index: -1;
    animation: shimmer-sweep 5s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes shimmer-sweep {
    0% { left: -150%; opacity: 0; }
    20% { opacity: 1; }
    40% { left: 150%; opacity: 0; }
    100% { left: 150%; opacity: 0; }
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 102, 0, 0.3), 0 5px 10px rgba(255, 102, 0, 0.2) !important;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.1) !important;
}

/* 3. Global 3D Card Mechanics */
.service-card, .feature-card, .case-study-card, .glass-card, .stat-card {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s ease !important;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform, box-shadow;
}

/* Base Shadow Enhancement */
.service-card:hover, .feature-card:hover, .glass-card:hover {
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), 0 10px 20px rgba(0,0,0,0.1), inset 0 1px 0 rgba(255,255,255,0.4) !important;
}

/* Inner 3D pop for children inside cards */
.service-card:hover > i, .feature-card:hover > i, .service-card:hover > h3, .feature-card:hover > h3 {
    transform: translateZ(40px); /* Makes icon/title pop off the card in 3D */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card > i, .feature-card > i, .service-card > h3, .feature-card > h3 {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateZ(0px); /* Reset */
}


/* 4. Soft Parallax Float Animations */
@keyframes float-soft {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

.float-element {
    animation: float-soft 6s ease-in-out infinite;
}


/* =========================================
   ANTI-THEFT SHIELD
   ========================================= */

/* Prevent highlighting/scraping text */
body.secure-mode {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection inside valid editors/inputs */
body.secure-mode input,
body.secure-mode textarea,
body.secure-mode [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Prevent image dragging */
body.secure-mode img:not(.allow-drag) {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
}

/* Message Bubbles */
.message.user { display: flex; flex-direction: column; align-items: flex-end; gap: 0.15rem; }
.message.user span {
    background: linear-gradient(135deg, #ff6600, #cc4400);
    color: #fff;
    padding: 0.55rem 0.9rem;
    border-radius: 18px 18px 4px 18px;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 85%;
    word-wrap: break-word;
    display: inline-block;
}

/* ======================================================
   GLOBAL HEADINGS GLOW (SITE-WIDE ENHANCEMENT)
   ====================================================== */
h1,
h2,
.section-title,
.hero-title,
h1 strong,
h1 span,
h2 strong,
h2 span,
.section-title span,
.hero-title span,
.hero-content h1 {
    /* No chromatic halo on headings. A zero-offset coloured glow is the most
       recognisable generated-UI tell; depth comes from the surface, not chroma. */
    text-shadow: none !important;
}

/* Fix header hover glow */
.nav-bottom-bar a:hover, .nav-item:hover > a {
    text-shadow: none !important;
    background: transparent !important;
    box-shadow: none !important;
    filter: none !important;
    color: var(--orange) !important;
}
.mega-menu {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
}


/* ==========================================================
   MOBILE & TABLET (iPad/iPhone) — PREMIUM TOUCH OPTIMIZATION
   ==========================================================
   - Removes hover-only effects that break on touch
   - Redesigns mobile menu for a beautiful full-screen experience
   - Optimizes spacing, typography, and tap targets
   - Ensures no visual bugs on mobile Safari / Chrome
   ========================================================== */

/* ── 1. TOUCH DEVICE GLOBAL: Remove hover artifacts ── */
@media (hover: none) and (pointer: coarse) {
    /* Kill hover-only transforms that cause sticky states on touch */
    .premium-card:hover,
.process-card:hover,
.service-item:hover,
.benefit-item:hover,
.stat-card:hover,
.service-category-card:hover,
.mini-test:hover,
.pain-card:hover,
.process-step:hover,
.proof-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Replace hover lift with a subtle active tap feedback */
    .premium-card:active,
    .process-card:active,
    .service-item:active,
    .benefit-item:active,
    .service-category-card:active,
    .pain-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }

    /* Kill button hover shimmer + lift on touch */
    .btn:hover {
        transform: none !important;
        box-shadow: 0 4px 20px rgba(255, 102, 0, 0.2) !important;
    }
    .btn:hover::after {
        display: none !important;
    }
    .btn:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease !important;
    }

    /* Kill card icon hover glow */
    [class*="card"]:hover > i {
        transform: none !important;
        filter: none !important;
        color: var(--orange) !important;
    }

    /* Kill mega-menu hover on touch (use mobile menu instead) */
    .nav-item:hover .mega-menu,
    .nav-item:focus-within .mega-menu {
        opacity: 0 !important;
        visibility: hidden !important;
    }

    h2:hover { text-shadow: none !important; }

    /* Kill mouse spotlight entirely */
    .mouse-spotlight {
        display: none !important;
    }

    /* Kill logo hover effects */
    .logo-text:hover {
        transform: none !important;
        filter: none !important;
    }

    /* Kill nav link hover underline sweep */
    .footer-nav a::after {
        display: none !important;
    }

    /* Testimonial slider: enable swipe on touch */
    .testimonial-slider {
        animation: none !important;
        transform: none !important;
    }
    .testimonial-slider-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }
    .mini-test {
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* ── 2. MOBILE MENU — single clean dark glass drawer ── */
/* NOTE: #mobileMenu lives inside .premium-nav, whose backdrop-filter makes it the
   containing block for fixed children. So we size with viewport units (vw/dvh)
   and explicit top/left rather than inset:0 (which would resolve to the nav box). */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(5, 4, 8, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10001;
    display: flex;
    justify-content: flex-end; /* Drawer on the right */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    width: 86%;
    max-width: 380px;
    height: 100%;
    background: linear-gradient(180deg, #141016 0%, #0b0a0e 100%);
    border-left: 1px solid var(--dark-border);
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    position: relative;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

.mobile-menu.open .mobile-menu-inner {
    transform: translateX(0);
}

/* Close button — clean circular X */
.mobile-menu-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    width: 44px;
    height: 44px;
    background: var(--dark-surface-2);
    border: 1px solid var(--dark-border);
    color: var(--white);
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover { background: rgba(255, 90, 31, 0.15); border-color: var(--orange); }
.mobile-menu-close:active { transform: scale(0.92); }

/* Mobile links & Accordion Toggles */
.mobile-link, .mobile-accordion-toggle {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--white);
    text-decoration: none;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease, padding-left 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.mobile-link:active, .mobile-accordion-toggle:active,
.mobile-link:hover, .mobile-accordion-toggle:hover {
    color: var(--orange);
    padding-left: 0.35rem;
}

.accordion-icon {
    color: var(--orange);
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
    line-height: 1;
}

.mobile-accordion.open .accordion-icon {
    transform: rotate(45deg); /* + turns into x */
}

/* Accordion Content */
.mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
}

.mobile-accordion.open .mobile-accordion-content {
    max-height: 600px;
}

.mobile-accordion-content a {
    display: block;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.98rem;
    color: var(--gray-text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s ease, background 0.2s ease;
}

.mobile-accordion-content a:hover,
.mobile-accordion-content a:active { color: var(--white); background: rgba(255, 90, 31, 0.08); }

.mobile-accordion-content a:last-child {
    border-bottom: none;
}

/* NEW badge styling inside mobile menu */
.mobile-menu-inner span[style*="color: red"] {
    font-size: 0.6rem !important;
    background: rgba(255, 90, 31, 0.15);
    color: var(--orange) !important;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
    vertical-align: middle;
}

/* Hamburger refinements */
.hamburger {
    width: 44px;
    height: 44px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left center;
}

/* ── 3. TABLET (iPad) SPECIFIC OPTIMIZATIONS ── */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Nav: Ensure hamburger is visible, desktop nav hidden */
    .nav-bottom-bar { display: none !important; }
    .hamburger { display: flex !important; }

    /* Hero: centered 1-column with proper spacing */
    .hero {
        padding-top: 5rem;
        min-height: auto;
        padding-bottom: 4rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title { font-size: clamp(2.4rem, 4.5vw, 3.2rem); }
    .hero-desc { margin: 0 auto 2rem; max-width: 75%; font-size: 1.1rem; }
    .hero-buttons { justify-content: center; gap: 1rem; }
    .image-box { max-width: 320px; margin: 0 auto; }
    .image-box-orbit-wrapper { max-width: 320px; margin: 0 auto; }

    /* Section typography & spacing */
    .section-title { font-size: clamp(2rem, 4vw, 2.6rem); }
    .section-subtext { font-size: 1.05rem; margin-bottom: 2.5rem; }
    section { padding: 4.5rem 0; }
    .container { padding: 0 2.5rem; }

    /* Grids: 2-col on tablet */
    .cards-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
    .stat-card { padding: 2rem 1.25rem; }
    .problems-text { padding: 2.5rem !important; }

    /* Featured testimonial */
    .featured-testimonial { padding: 3rem 2.5rem; margin-bottom: 2.5rem; }
    .featured-testimonial h3 { font-size: 1.75rem; }

    /* CTA */
    .cta-section { padding: 4.5rem 0; }
    .cta-section .section-title { font-size: clamp(2rem, 4vw, 2.5rem) !important; }
    .cta-text { font-size: 1.15rem !important; }
    .cta-section .btn-dark {
        font-size: 1.1rem !important;
        padding: 1.1rem 2.5rem !important;
    }

    /* Mobile menu drawer: tablet version */
    .mobile-menu-inner {
        width: 55%;
        max-width: 420px;
        padding: 4.5rem 2rem 2rem;
    }
    .mobile-link, .mobile-accordion-toggle {
        font-size: 1.2rem;
        padding: 1.1rem 0;
    }
    .mobile-accordion-content a {
        font-size: 1rem;
        padding: 0.9rem 1.25rem;
    }

    /* Footer */
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-bottom-bar { flex-wrap: wrap; justify-content: center; gap: 1rem; }

    /* Reduce visual noise on tablet */
    .glow-orb { opacity: 0.12 !important; }
    .geo-ring { opacity: 0.3 !important; }

    /* Process cards */
    .premium-card, .process-card { padding: 2.5rem 2rem; }
}

/* ── 4. PHONE-SPECIFIC POLISH (max-width: 768px) ── */
@media (max-width: 768px) {
    /* Nav: guarantee hamburger */
    .nav-bottom-bar { display: none !important; }
    .hamburger { display: flex !important; }

    /* Logo: slightly smaller on phone */
    .logo-text { font-size: 1.45rem; }

    /* Mobile menu drawer: full-width on phone */
    .mobile-menu-inner {
        width: 88%;
        max-width: 380px;
        padding: 5rem 1.25rem 2rem;
    }
    .mobile-link, .mobile-accordion-toggle {
        font-size: 1.05rem;
        padding: 1rem 0;
    }
    .mobile-accordion-content a {
        font-size: 0.92rem;
        padding: 0.85rem 1rem;
    }

    /* Hero: single column, centered */
    .hero {
        padding-top: 4.5rem;
        min-height: auto;
        padding-bottom: 3rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-content { order: 2; }
    .hero-image-wrapper { order: 1; }
    .hero-title {
        font-size: clamp(1.85rem, 7vw, 2.5rem);
        line-height: 1.15;
    }
    .hero-desc {
        font-size: 0.95rem;
        margin: 0 auto 1.5rem;
        max-width: 92%;
    }
    .hero-buttons {
        justify-content: center;
        gap: 0.6rem;
        flex-direction: column;
        align-items: center;
    }

    /* Buttons: full-width on phones */
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    .btn { padding: 0.85rem 1.5rem; font-size: 0.9rem; }

    /* Section typography */
    .section-title {
        font-size: clamp(1.65rem, 5.5vw, 2.1rem);
        margin-bottom: 1rem;
    }
    .section-subtext {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    section { padding: 3.5rem 0; }
    .container { padding: 0 1rem; }

    /* Paragraphs: allow full width in centered sections */
    .center p,
[style*="text-align: center"] p {
        max-width: 100%;
    }

    /* Image box */
    .image-box {
        max-width: 220px;
        margin: 0 auto;
        padding: 0.6rem;
    }
    .image-box-orbit-wrapper { max-width: 220px; margin: 0 auto; }

    /* Grids: single column */
    .cards-grid-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Cards: compact padding */
    .premium-card,
    .process-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }
    .premium-card h3,
    .process-card h3 {
        font-size: 1.35rem;
    }
    .premium-card p,
    .process-card p {
        font-size: 0.95rem;
    }

    /* Service items */
    .service-item {
        padding: 1rem 1.25rem;
    }
    .service-item i { font-size: 1.35rem; }
    .service-item span { font-size: 0.95rem; }

    /* Service category cards */
    .service-category-card {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
    }
    .service-category-card i.ph-fill { font-size: 2.25rem; margin-bottom: 1rem; }
    .service-category-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
    .service-category-card ul li { font-size: 0.95rem; margin-bottom: 0.6rem; }

    /* Benefits */
    .benefit-item {
        padding: 1.5rem 1.25rem;
        border-radius: 16px;
        flex-direction: column;
        text-align: center;
    }
    .benefit-item i { font-size: 2rem; }
    .benefit-item h4 { font-size: 1.15rem; }
    .benefit-item p { font-size: 0.9rem; max-width: 100%; }
    .stat-card {
        padding: 1.5rem 0.75rem;
        border-radius: 14px;
    }
    .problems-text { padding: 1.5rem !important; border-radius: 16px !important; }

    /* Testimonials */
    .featured-testimonial {
        padding: 1.75rem 1.25rem;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
    .featured-testimonial h3 { font-size: 1.2rem; }
    .featured-testimonial p { font-size: 0.9rem; max-width: 100%; }
    .featured-testimonial .stars { font-size: 1.15rem; margin-bottom: 1.25rem; }
    .mini-test {
        min-width: 260px;
        max-width: 85vw;
        padding: 1.25rem;
        border-radius: 14px;
    }
    .mini-test p { font-size: 0.92rem; max-width: 100%; }

    /* CTA Section */
    .cta-section { padding: 3rem 0; }
    .cta-section .section-title {
        font-size: clamp(1.5rem, 5vw, 1.85rem) !important;
    }
    .cta-text { font-size: 1rem !important; margin-bottom: 2rem !important; }
    .cta-section .btn-dark {
        width: 100%;
        max-width: 320px;
        font-size: 0.95rem !important;
        padding: 0.9rem 1.5rem !important;
    }
    .cta-section p[style*="margin-top: 2rem"] {
        font-size: 0.85rem !important;
    }
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-brand { text-align: center; }
    .footer-brand p { max-width: 100%; margin: 0 auto; }
    .footer-links-group { text-align: center; }
    .footer-nav { text-align: center; }
    .footer-contact-group { text-align: center; }
    .footer-contact-link { justify-content: center; }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    .footer-legal { justify-content: center; flex-wrap: wrap; gap: 1rem; }

    /* Back to top + WhatsApp */
    .back-to-top {
        bottom: 0.75rem;
        right: 0.75rem;
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    .geo-ring { display: none !important; }
    .glow-orb { opacity: 0.1 !important; filter: blur(50px) !important; }
    .highlight-bg::before { opacity: 0.35 !important; }
    .grid-bg { opacity: 0.3 !important; }

    h1,
h2,
.section-title,
.hero-title,
h1 span,
h2 span,
.section-title span,
.hero-title span {
        text-shadow: none !important;
    }

    /* Badge */
    .badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        letter-spacing: 1.5px;
    }

    /* Trust strip marquee */
    .trust-strip { padding: 0.75rem 0; }
    .marquee-content span { font-size: 0.9rem; margin-right: 2.5rem; }
}

/* ── 5. SMALL PHONE (max-width: 400px) ── */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.65rem !important;
    }
    .section-title {
        font-size: 1.45rem !important;
    }
    .mobile-link, .mobile-accordion-toggle {
        font-size: 0.95rem;
    }
    .mobile-menu-inner {
        width: 92%;
        padding: 5rem 1rem 2rem;
    }
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
    .container { padding: 0 0.75rem; }
    section { padding: 2.5rem 0; }
    .premium-card, .process-card {
        padding: 1.5rem 1rem;
    }
    .service-category-card {
        padding: 1.25rem 1rem;
    }
    .featured-testimonial {
        padding: 1.5rem 1rem;
    }
    .featured-testimonial h3 { font-size: 1.1rem; }
    .image-box { max-width: 180px; }
    .image-box-orbit-wrapper { max-width: 180px; }
    .hero-desc { font-size: 0.88rem; }
    .cta-section .btn-dark { font-size: 0.88rem !important; }
    .badge { font-size: 0.65rem; padding: 0.3rem 0.6rem; letter-spacing: 1px; }
    .footer-heading { font-size: 0.95rem; }
}

/* ── 6. SAFE AREA INSETS (iPhone notch / home indicator) ── */
@supports (padding: max(0px)) {
    .premium-nav {
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }
    .mobile-menu {
        padding-top: max(5rem, calc(env(safe-area-inset-top) + 3.5rem));
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
        padding-left: max(1.5rem, env(safe-area-inset-left));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
    .back-to-top {
        bottom: max(0.75rem, env(safe-area-inset-bottom));
        right: max(0.75rem, env(safe-area-inset-right));
    }
}

/* ── 7. LANDSCAPE PHONE ── */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu {
        padding-top: 3rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0;
    }
    .mobile-link {
        font-size: 1.1rem;
        width: 50%;
        padding: 0.5rem 0.5rem;
        border-bottom: none;
    }
    .mobile-menu-close {
        top: 0.5rem;
        right: 1rem;
    }
    .hero { min-height: auto !important; }
}

/* ── 8. REDUCED MOTION (accessibility) ── */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu.open .mobile-link {
        transition: none !important;
    }
    .testimonial-slider {
        animation: none !important;
    }
    .glow-orb {
        animation: none !important;
    }
    .cat-particle {
        animation: none !important;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* ── 9. CATALOG / BRAND GUIDELINES PAGE — Mobile ── */
@media (max-width: 768px) {
    /* Hero image col (side-by-side broken vs structured) */
    .hero-image-col {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .hero-image-col > div {
        width: 100% !important;
        min-height: auto !important;
    }

    /* Pain grid */
    .pain-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.75rem !important;
    }

    /* Proof grid */
    .proof-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    /* Cat container */
    .cat-container {
        padding: 0 1.25rem !important;
    }

    /* Cat header */
    .cat-header h2 {
        font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
    }
    .cat-header p {
        font-size: 0.9rem !important;
        max-width: 100% !important;
    }

    /* Cat section padding */
    .cat-section {
        padding: 3rem 0 !important;
    }

    /* FAQ on mobile */
    .faq-q {
        font-size: 1rem !important;
        padding: 1rem !important;
    }
    .faq-a {
        padding: 0 1rem 1rem !important;
        font-size: 0.9rem !important;
    }

    /* CTA buttons */
    .cat-btn {
        width: 100% !important;
        max-width: 320px !important;
        text-align: center !important;
        font-size: 0.9rem !important;
        padding: 0.85rem 1.5rem !important;
    }

    /* Before/After transformation cards */
    .hero-image-col [style*="flex-wrap: wrap"] {
        flex-direction: column !important;
    }
    .hero-image-col [style*="min-width: 300px"] {
        min-width: auto !important;
        width: 100% !important;
    }

    /* Consistency map: wrap flow */
    [style*="justify-content: center"][style*="flex-wrap: wrap"] {
        gap: 0.5rem !important;
    }

    /* Pain card text: smaller on mobile */
    .pain-card { min-height: auto !important; height: auto !important; }
    .pain-front { padding: 1.25rem !important; }
    .pain-front h3 { font-size: 0.85rem !important; }
    .pain-icon { font-size: 1.5rem !important; }

    /* Service cards inside brand page */
    .pain-card[style*="flex: 1 1"] {
        flex: 1 1 100% !important;
        min-width: auto !important;
    }

    /* Brand kit grid items */
    [style*="padding: 1.5rem 2.5rem"][style*="border-radius: 12px"][style*="backdrop-filter"] {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.85rem !important;
    }

    /* Process wrapper (Section 7) */
    .process-wrapper {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    .process-step {
        padding: 1.5rem !important;
    }
    .p-num {
        font-size: 2rem !important;
    }

    /* Deliverables grid */
    [style*="grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))"] {
        grid-template-columns: 1fr !important;
    }

    /* Transformation section: before/after side-by-side → stacked */
    [style*="display: flex"][style*="flex-wrap: wrap"][style*="gap: 2rem"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    /* Center the arrow between before/after */
    [style*="position: absolute"][style*="translate(-50%, -50%)"][style*="border-radius: 50%"] {
        display: none !important;
    }
}

/* ── 10. COMPREHENSIVE MOBILE POLISH ── */
@media (max-width: 768px) {
    /* ── Testimonial scrollbar: hide native scrollbar ── */
    .testimonial-slider-wrapper {
        scrollbar-width: none !important; /* Firefox */
        -ms-overflow-style: none !important; /* IE/Edge */
    }
    .testimonial-slider-wrapper::-webkit-scrollbar {
        display: none !important; /* Chrome/Safari */
    }

    /* ── Hero: tighter & more polished ── */
    .hero {
        padding-top: 3.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    .hero-grid {
        gap: 1.25rem !important;
    }
    .hero-title {
        font-size: clamp(1.75rem, 6.5vw, 2.3rem) !important;
        margin-bottom: 0.75rem !important;
    }
    .hero-desc {
        font-size: 0.92rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.6 !important;
    }
    .hero-cta-wrapper {
        gap: 0.5rem !important;
    }

    /* ── Badge: proper mobile sizing ── */
    .badge {
        font-size: 0.65rem !important;
        padding: 0.3rem 0.7rem !important;
        letter-spacing: 1.2px !important;
        margin-bottom: 0.6rem !important;
        max-width: 100%;
        display: inline-block;
        word-wrap: break-word;
    }

    /* ── Image box: refined sizing ── */
    .image-box {
        max-width: 200px !important;
        margin: 0 auto !important;
        padding: 0.5rem !important;
    }
    .image-box-orbit-wrapper {
        max-width: 200px !important;
        margin: 0 auto !important;
    }
    .stat-card {
        padding: 1.25rem 0.5rem !important;
        border-radius: 12px !important;
    }

    /* ── Services/Testimonials: compact ── */
    .featured-testimonial {
        padding: 1.5rem 1rem !important;
        margin-bottom: 1.25rem !important;
    }
    .featured-testimonial h3 {
        font-size: 1.15rem !important;
        line-height: 1.3 !important;
    }
    .featured-testimonial p {
        font-size: 0.88rem !important;
        max-width: 100% !important;
    }
    .featured-testimonial .stars {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .featured-testimonial [style*="display: flex"][style*="justify-content: center"][style*="gap: 1rem"] {
        margin-top: 1rem !important;
    }
    .mini-test {
        min-width: 250px !important;
        max-width: 80vw !important;
        padding: 1rem !important;
    }
    .mini-test p {
        font-size: 0.88rem !important;
    }
    .trust-line {
        font-size: 0.82rem !important;
    }

    /* ── Process "How It Works" cards ── */
    .cards-grid-3.timeline-grid {
        gap: 0.75rem !important;
        margin-top: 2rem !important;
    }
    .process-card {
        padding: 1.5rem 1.25rem !important;
    }
    .process-card .step-num,
    .step-num {
        font-size: 2rem !important;
        margin-bottom: 0.25rem !important;
    }
    .process-card i[style*="font-size: 2.5rem"] {
        font-size: 1.8rem !important;
    }
    .process-card h3 {
        font-size: 1.2rem !important;
    }
    .process-card p {
        font-size: 0.9rem !important;
    }
    .problems-text {
        padding: 1.25rem !important;
        border-radius: 14px !important;
    }
    .problems-text .badge {
        margin-bottom: 0.5rem !important;
    }
    .problems-text .section-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem) !important;
        margin-bottom: 0.75rem !important;
    }

    /* ── CTA Section ── */
    .cta-section {
        padding: 2.5rem 0 !important;
    }
    .cta-section .section-title {
        font-size: clamp(1.35rem, 4.5vw, 1.7rem) !important;
        line-height: 1.2 !important;
    }
    .cta-text {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    .cta-section .btn-dark {
        width: 100% !important;
        max-width: 300px !important;
        font-size: 0.88rem !important;
        padding: 0.85rem 1.25rem !important;
    }
    .cta-section p[style*="margin-top: 2rem"] {
        font-size: 0.78rem !important;
        margin-top: 1.25rem !important;
    }

    /* ── Footer ── */
    .premium-footer {
        padding: 2.5rem 0 0 !important;
    }
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .footer-brand {
        text-align: center !important;
    }
    .footer-brand p {
        font-size: 0.88rem !important;
        max-width: 100% !important;
        margin: 0.5rem auto 0 !important;
    }
    .footer-links-group {
        text-align: center !important;
    }
    .footer-nav {
        text-align: center !important;
    }
    .footer-nav li {
        margin-bottom: 0.5rem !important;
    }
    .footer-contact-group {
        text-align: center !important;
    }
    .footer-contact-link {
        justify-content: center !important;
        font-size: 0.88rem !important;
    }
    .footer-bottom-bar {
        flex-direction: column !important;
        gap: 0.5rem !important;
        text-align: center !important;
        padding: 1rem 0 !important;
    }
    .footer-bottom-bar p {
        font-size: 0.78rem !important;
        max-width: 100% !important;
    }
    .footer-legal {
        justify-content: center !important;
        gap: 0.75rem !important;
    }
    .footer-legal a {
        font-size: 0.78rem !important;
    }

    /* ── Global text improvements ── */
    p {
        max-width: 100% !important;
    }
    .section-header.center p,
    .section-subtext {
        max-width: 100% !important;
        padding: 0 0.5rem !important;
    }
    .back-to-top {
        bottom: 12px !important;
        right: 65px !important;
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }

    /* ── Marquee/trust strip ── */
    .trust-strip {
        padding: 0.5rem 0 !important;
    }
    .marquee-content span {
        font-size: 0.82rem !important;
        margin-right: 2rem !important;
    }
}

/* ── 11. EXTRA-SMALL PHONE (max-width: 360px) ── */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem !important;
    }
    .section-title {
        font-size: 1.3rem !important;
    }
    .container {
        padding: 0 0.6rem !important;
    }
    .badge {
        font-size: 0.58rem !important;
        padding: 0.25rem 0.5rem !important;
    }
    .featured-testimonial h3 {
        font-size: 1rem !important;
    }
    .mini-test {
        min-width: 230px !important;
    }
}

/* ============================================================
   HERO LAYOUT & IMAGE REFINEMENTS (Sleek Dark Glassmorphism)
   ============================================================ */

/* Desktop Hero Alignment & Spacing */
.hero-desc {
    text-align: left;
    margin: 0 0 2.5rem 0;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    margin: 2rem 0 0 0;
    max-width: 550px;
}

/* Premium Dark Glassmorphism Image Frame */
.image-box {
    background: rgba(15, 15, 15, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 1.25rem !important;
    border-radius: 24px !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.8), 
        0 0 40px rgba(255, 102, 0, 0.15) !important;
}

/* Precise Image Sizing & Portrait Cropping */
.hero-img {
    width: 100% !important;
    height: 520px !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center 15% !important;
    border-radius: 16px !important;
    transform: translateZ(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-img:hover {
    transform: translateZ(30px) scale(1.02);
}

/* Responsive Overrides (Centered on Mobile & Tablet) */
@media (max-width: 991px) {
    .hero-desc {
        text-align: center !important;
        margin: 0 auto 2rem !important;
        max-width: 90% !important;
    }
    .hero-buttons {
        justify-content: center !important;
        margin: 2rem auto 0 auto !important;
    }
    .hero-img {
        height: 380px !important;
    }
}

@media (max-width: 480px) {
    .hero-img {
        height: 280px !important;
    }
    .image-box {
        padding: 0.75rem !important;
        border-radius: 16px !important;
    }
}

/* ============================================================
   SITE-WIDE 3D DEPTH LAYERS & POP-OUT EFFECTS
   ============================================================ */

/* Enable 3D perspective depth layering on all interactive cards */
.service-card,
.feature-card,
.case-study-card,
.glass-card,
.stat-card,
.premium-card,
.process-card,
.mini-test,
.service-item,
.benefit-item,
.image-box {
    transform-style: preserve-3d !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}

/* Tier 3 (Top Level - 35px Z-axis Pop Out): Action Icons & Branded Badges */
.service-card i,
.feature-card i,
.glass-card i,
.premium-card i,
.process-card i,
.benefit-item i,
.service-item i,
.mini-test .stars {
    transform: translateZ(35px) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Tier 2 (Mid Level - 25px Z-axis Pop Out): Metric Numbers & Bold Headings */
.service-card h3,
.feature-card h3,
.case-study-card h3,
.glass-card h3,
.premium-card h3,
.process-card h3,
.benefit-item h4,
.service-item span,
.mini-test h3,
.mini-test p {
    transform: translateZ(25px) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Tier 1 (Base Level - 15px Z-axis Pop Out): Descriptions & Signatures */
.service-card p,
.feature-card p,
.case-study-card p,
.glass-card p,
.premium-card p,
.process-card p,
.benefit-item p,
.mini-test .author,
.mini-test div {
    transform: translateZ(15px) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}


/* ============================================================
   iOS / iPHONE / iPAD DEVICE OPTIMIZATION
   Fixes: input focus auto-zoom, text inflation, notch safe-areas,
   tap targets, momentum scroll. Keep pinch-zoom enabled (a11y).
   ============================================================ */

/* Stop iOS from auto-inflating font sizes on rotation */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* THE iOS zoom fix: iPhone zooms into any focused field whose font is
   under 16px. Force >=16px on all form controls so focus never zooms. */
input,
select,
textarea {
    font-size: 16px;
}

/* Remove grey tap-flash, add momentum scrolling */
a,
button,
[role="button"],
.btn,
input,
select,
textarea,
.nav-item,
.mobile-link,
.mobile-accordion-toggle {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
    -webkit-overflow-scrolling: touch;
}

/* Comfortable 44px minimum tap targets on touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn,
.mobile-link,
.mobile-accordion-toggle,
.hamburger,
.mobile-menu-close,
.footer-nav a {
        min-height: 44px;
    }
}

/* Honor the notch and home indicator (works because of viewport-fit=cover) */
@supports (padding: max(0px)) {
    .premium-footer {
        padding-bottom: max(3rem, calc(2rem + env(safe-area-inset-bottom)));
    }
    .mobile-menu-inner {
        padding-top: max(5rem, calc(4rem + env(safe-area-inset-top)));
        padding-bottom: max(2rem, calc(1.25rem + env(safe-area-inset-bottom)));
        padding-right: max(1.5rem, env(safe-area-inset-right));
    }
    .cta-section {
        padding-left: max(2rem, env(safe-area-inset-left));
        padding-right: max(2rem, env(safe-area-inset-right));
    }
}

/* Belt-and-suspenders: never allow sideways scrolling on phones */
@media (max-width: 768px) {
    html, body { max-width: 100%; overflow-x: hidden; }
}

/* iPad Pro landscape (1025 to 1366): keep generous, centered spacing */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container { padding-left: 3rem; padding-right: 3rem; }
}


/* ============================================================
   POLISH PASS: branded NEW pill, focus rings, selection
   ============================================================ */

/* Branded "NEW" pill (replaces old inline red text) */
.tag-new {
    display: inline-block;
    margin-left: 6px;
    padding: 0.14rem 0.5rem 0.12rem;
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a0d04;
    background: var(--brand-gradient);
    border-radius: 20px;
    vertical-align: middle;
    line-height: 1.4;
}

/* Visible-but-tasteful keyboard focus (a11y + polish) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Never ring the brand logo (client request: no orange box around the logo) */
.logo-link:focus,
.logo-link:focus-visible {
    outline: none !important;
}

/* Wide screens: anchor the hero photo to the right edge of the layout so the hero
   spans edge-to-edge (no dead gap trailing the photo). */
@media (min-width: 1025px) {
    .hero-grid .hero-image-wrapper .image-box-orbit-wrapper {
        justify-content: flex-end;
    }
    /* Client request: SPREAD the content out — text uses more width and the photo
       sits closer, so nothing looks clustered left / lonely on the right. */
    .hero-grid {
        grid-template-columns: 1.55fr 0.8fr;
        gap: 1.5rem;
    }
    .hero-grid .image-box {
        width: auto;
    }
    /* let the headline + paragraph breathe across the wider text column */
    .hero .hero-content { max-width: 900px; }
}

/* Brand text selection */
::selection {
    background: rgba(255, 90, 31, 0.85);
    color: #fff;
}


/* =====================================================================
   PROFESSIONAL CLEANUP (client request, 2026-07) — site-wide
   1. Hide all legacy decorative "bubbles & circles" (purely absolute-
      positioned background shapes; hiding them affects no layout).
   2. Hide the placeholder footer social icons (all currently point to
      javascript:void(0)). To restore: delete this rule and add real URLs.
   ===================================================================== */
.glow-orb,
.geo-ring {
    display: none !important;
}

/* =====================================================================
   REFERENCE-STYLE POLISH (2026-07) — cleaner, tighter, more premium.
   Hero stat tiles + width-constrained hero copy + podcast widget.
   ===================================================================== */

/* Constrain hero copy so lines don't stretch (fixes the "spread out" feel) */
.hero .hero-desc { max-width: 48rem; font-size: var(--fs-lead); line-height: 1.7; }

/* In-hero stat tiles (reference style) */
.hero-stats {
    display: flex;
    gap: 2.75rem;
    margin-top: 2.75rem;
    flex-wrap: wrap;
}
.hero-stat { display: flex; flex-direction: column; gap: 0.35rem; }
.hero-stat .num {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero-stat .num span { color: var(--orange); }
.hero-stat .lbl {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
@media (max-width: 520px) {
    .hero-stats { gap: 1.75rem; }
    .hero-stat .num { font-size: 1.6rem; }
}

/* Premium polish: keep centered section headers condensed (don't stretch full width) */
.section-header.center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.section-header.center .section-subtext { margin-left: auto; margin-right: auto; }

/* ---------- Philosophy / Approach cards (reference "Vision" style) ---------- */
.philosophy-card {
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--dark-border);
    background: var(--dark-surface);
    text-align: left;
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.philosophy-card:hover { border-color: rgba(255, 102, 0, 0.35); transform: translateY(-6px); }
.phil-label {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.philosophy-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}
.philosophy-card p { color: rgba(255, 255, 255, 0.6); line-height: 1.7; margin: 0; }

/* ---------- Case-study cards: equal height, CTA pinned to bottom ---------- */
.case-studies-home .service-category-card { display: flex; flex-direction: column; }
.cs-metric {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.case-studies-home .service-category-card h3 { font-size: 1.5rem; }
.case-studies-home .service-category-card p { color: #ccc; }
.cs-more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--orange);
    font-weight: 700;
    margin-top: auto;
    padding-top: 1.5rem;
}

/* =====================================================================
   FRAMED HERO PHOTO — founder-photo.jpeg is a full professional photo WITH
   a branded background, so it's shown as a clean rounded card (not a cutout).
   ===================================================================== */
.hero-image-wrapper .image-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: visible !important;
}
.hero-image-wrapper .image-box::before,
.hero-image-wrapper .image-box::after {
    content: none !important;
    display: none !important;
}
/* soft warm glow behind the card for depth */
.hero-image-wrapper .image-box-orbit-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 108%;
    height: 108%;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 90, 31, 0.16), transparent 72%);
    filter: blur(45px);
    z-index: 0;
    pointer-events: none;
}
.hero-image-wrapper .hero-img {
    position: relative;
    z-index: 1;
    width: auto !important;
    max-width: 100% !important;
    height: 640px !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 22px !important;
    opacity: 1 !important;
    transform: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6) !important;
    filter: none !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-image-wrapper .hero-img:hover {
    transform: translateY(-6px) !important;
}
@media (max-width: 991px) {
    .hero-image-wrapper .hero-img { height: 480px !important; }
    .hero-image-wrapper .image-box-orbit-wrapper::before { width: 100%; height: 100%; }
}
@media (max-width: 480px) {
    .hero-image-wrapper .hero-img { height: 380px !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE REBUILD (2026-07-26) — client edit list
   One-line section headers, 4-up service grid, filterable case-study slider,
   testimonial slider, and the "How It Works" journey path with arrows.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── One-line titles + subtitles (client: titles must never wrap to 2 lines) ──
   The 720px .section-header.center cap is what forced the wrap, so .header-wide
   releases it. Fluid clamp keeps the nowrap text inside the viewport. */
.section-header.header-wide { max-width: none; text-align: center; }
.section-header.header-wide .section-subtext { max-width: none; }
/* the animated title underline is a block, so it needs auto margins to stay centred */
.section-header.header-wide .section-title::after { margin-left: auto; margin-right: auto; }

@media (min-width: 900px) {
    .section-title.one-line {
        white-space: nowrap;
        font-size: clamp(1.9rem, 3.05vw, 3.1rem);
    }
    .section-subtext.one-line {
        white-space: nowrap;
        max-width: none;
        font-size: clamp(0.98rem, 1.18vw, 1.18rem);
    }
}

/* Badge on a light (warm paper) section */
.badge-light {
    background: #fff;
    border-color: rgba(255, 90, 31, 0.35);
}

.animate-on-scroll.delay-3 { transition-delay: 0.36s; }
.delay-3 { transition-delay: 0.42s; }

/* ── Services: 4-up grid, whole card is a link ─────────────────────────────── */
.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}
@media (max-width: 1299px) {
    .services-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .services-grid-4 { grid-template-columns: 1fr; }
}

.services-grid-4 .service-category-card {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
}
.services-grid-4 .service-category-card i.ph-fill {
    font-size: 2.4rem;
    margin-bottom: 1.1rem;
}
.services-grid-4 .service-category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #fff;
}
.services-grid-4 .service-category-card p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: #c8c2b8;
    margin-bottom: 1.25rem;
}
.svc-link { text-decoration: none; }
.svc-link .cs-more { margin-top: auto; }

/* ── Category filter chips ─────────────────────────────────────────────────── */
.story-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.25rem;
}
.story-chip {
    padding: 0.62rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--dark-border);
    background: rgba(255, 255, 255, 0.045);
    color: #d8d2c9;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.story-chip:hover { color: #fff; border-color: rgba(255, 90, 31, 0.55); }
.story-chip.on {
    background: var(--brand-gradient);
    border-color: transparent;
    color: #14110f;
}

/* ── Generic slider (case studies + testimonials) ──────────────────────────── */
.story-slider { position: relative; }
.story-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 0.4rem 0.25rem 1.4rem;
    /* Matches the inline padding, so the first card already sits on its snap
       point at load. Without it the browser smooth-scrolls the track 4px on
       load, and Chrome stops measuring Largest Contentful Paint at that scroll:
       the homepage reported no LCP at all to PageSpeed. */
    scroll-padding-inline: 0.25rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.story-track::-webkit-scrollbar { display: none; }
.story-track:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 20px; }

.story-card {
    flex: 0 0 min(400px, 82vw);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    padding: 2.25rem;
}
.story-card[hidden] { display: none; }
.story-card .cs-more { margin-top: auto; }
.story-card h3 { font-size: 1.32rem; margin-bottom: 0.75rem; color: #fff; }
.story-card p { font-size: 0.97rem; line-height: 1.65; color: #c8c2b8; margin-bottom: 1.25rem; }

.story-cat {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}
.story-cat i { font-size: 1rem !important; margin: 0 !important; display: inline !important; color: var(--orange); }

.story-nav {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(18, 15, 13, 0.88);
    border: 1px solid var(--dark-border);
    color: #fff;
    font-size: 1.05rem;
    cursor: pointer;
    z-index: 20;
    transition: background .25s ease, border-color .25s ease, opacity .25s ease;
    backdrop-filter: blur(6px);
}
.story-nav.prev { left: -10px; }
.story-nav.next { right: -10px; }
.story-nav:hover { background: var(--orange); border-color: transparent; }
.story-nav:disabled { opacity: 0.25; cursor: default; }
.story-nav:disabled:hover { background: rgba(18, 15, 13, 0.88); border-color: var(--dark-border); }
@media (max-width: 767px) { .story-nav { display: none; } }

.story-empty {
    text-align: center;
    color: #9a938a;
    padding: 2.5rem 1rem;
    margin: 0;
}

/* .center on its own never set text-align, so this line rendered left-aligned */
.trust-line.center { text-align: center; }

/* ── "How It Works" journey path with arrows ───────────────────────────────── */
/* --art-h is shared by the artwork box and the arrow, so the arrows land dead
   centre on the illustrations no matter how long each step's copy runs. */
.journey-path {
    --art-h: clamp(190px, 15vw, 270px);
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0.5rem;
    margin-top: 1rem;
}
.journey-step { text-align: center; }
.journey-num {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--orange);
    background: #fff;
    border: 1px solid rgba(255, 90, 31, 0.3);
    border-radius: 50px;
    padding: 0.35rem 1rem;
    margin-bottom: 1.25rem;
}
.journey-art {
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: 20px;
    padding: 0.9rem;
    margin-bottom: 1.6rem;
    box-shadow: 0 14px 34px rgba(20, 17, 15, 0.06);
    box-sizing: border-box;
    height: var(--art-h);
    display: grid;
    place-items: center;
}
.journey-art img { width: 100%; height: 100%; object-fit: contain; display: block; }
.journey-step h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.journey-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(20, 17, 15, 0.68);
    max-width: 34ch;
    margin: 0 auto;
}
.journey-arrow {
    color: rgba(20, 17, 15, 0.22);
    /* 58px clears the numbered pill, then centre inside the artwork's own height */
    margin-top: 58px;
    height: var(--art-h);
    display: grid;
    place-items: center;
}
.journey-arrow svg { width: clamp(40px, 5vw, 80px); height: auto; }

.journey-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    margin-top: 3.5rem;
}
.journey-cta-note {
    font-size: 0.93rem;
    color: rgba(20, 17, 15, 0.55);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.journey-cta-note i { color: var(--orange); }

@media (max-width: 899px) {
    .journey-path { grid-template-columns: 1fr; gap: 0; }
    .journey-arrow {
        margin: 0.5rem 0 1.75rem;
        height: auto;
        transform: rotate(90deg);
    }
    .journey-step p { max-width: 42ch; }
    .journey-art { max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ── Quick Answers: four answer cards, each ending in its next step ──────────
   Follows the light "How it works" section, so the top padding is trimmed to
   read as one paper area. Card text mirrors the FAQPage JSON-LD on the page. */
.quick-answers { padding-top: 2.5rem; }
.quick-answers .section-header { margin-bottom: 2.75rem; }
.quick-answers .section-title { margin-bottom: 0; }
.qa-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}
.qa-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--light-border);
    border-radius: var(--r-md);
    box-shadow: 0 14px 34px rgba(20, 17, 15, 0.06);
    padding: clamp(1.5rem, 2vw, 2rem);
}
.qa-num {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--orange);
    border: 1px solid rgba(255, 90, 31, 0.3);
    border-radius: 999px;
    padding: 0.25rem 0.8rem;
    margin-bottom: 1.25rem;
}
.qa-card h3 {
    font-size: clamp(1.25rem, 1.45vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--black);
    margin: 0 0 0.75rem;
}
.qa-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(20, 17, 15, 0.68);
    max-width: none;
    margin: 0 0 1.75rem;
}
.qa-foot { margin-top: auto; }
.qa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
}
.qa-link i { color: var(--orange); transition: transform 0.3s var(--ease-out); }
.qa-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.qa-link:hover i { transform: translateX(3px); }
.qa-founder {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--black);
    text-decoration: none;
}
.qa-founder img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.qa-founder strong { display: block; font-weight: 600; line-height: 1.3; }
.qa-founder-role { display: block; font-size: 0.875rem; color: rgba(20, 17, 15, 0.68); }
.qa-founder:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.qa-chips {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.qa-chips a {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: var(--light-bg);
    border: 1px solid var(--light-border);
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.3s var(--ease-out);
}
.qa-chips a:hover { border-color: rgba(255, 90, 31, 0.45); }
.qa-card a:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
@media (max-width: 1359px) {
    .qa-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
    .quick-answers .section-header { margin-bottom: 2rem; }
    .qa-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ── Story connector: places each service page in the seller's journey ──────
   Injected before the footer on every service page. Links are chosen so the
   pages read as one story (fix what's broken -> make it perform -> scale it)
   instead of a flat list of services. */
.story-next {
    background: var(--black);
    padding: 5rem 0 6rem;
    border-top: 1px solid var(--dark-border);
}
.story-next-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 4rem);
    text-align: center;
}
.story-next-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.05rem;
    border-radius: 50px;
    background: rgba(255, 90, 31, 0.1);
    border: 1px solid rgba(255, 90, 31, 0.28);
    color: var(--orange);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.story-next h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.6vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin: 1.1rem 0 0.75rem;
}
.story-next-line {
    color: rgba(255, 255, 255, 0.58);
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}
.story-next-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    text-align: left;
}
.sn-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.7rem;
    border-radius: 16px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
}
.sn-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 90, 31, 0.45);
    background: var(--dark-surface-2);
}
.sn-step {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
}
.sn-title {
    font-family: var(--font-heading);
    font-size: 1.14rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}
.sn-why {
    font-size: 0.93rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
}
.sn-go {
    margin-top: auto;
    padding-top: 0.9rem;
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.sn-card:hover .sn-go i { transform: translateX(4px); }
.sn-go i { transition: transform 0.3s ease; }

@media (max-width: 860px) {
    .story-next { padding: 3.5rem 0 4rem; }
    .story-next-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   FIX: mega-menu was clipping off the left of the viewport
   ==========================================================
   Three competing .mega-menu rules (approx lines 1681, 4055, 4907)
   all set min-width:800px with a right offset. On a ~1150px laptop
   the panel resolved to a negative left position, cutting off the
   whole first column, so 7 of 15 service links were unreadable.

   Anchor it inside the viewport instead of forcing a fixed width.
   ========================================================== */
.nav-item { position: relative; }

.mega-menu {
    min-width: 0 !important;
    width: max-content;
    max-width: min(820px, calc(100vw - 3rem)) !important;
    right: 0 !important;
    left: auto !important;
}

/* Keep the panel on screen even when the trigger sits near the edge */
@media (max-width: 1240px) {
    .mega-menu {
        position: fixed !important;
        top: var(--nav-h, 76px) !important;
        right: 1.5rem !important;
        max-width: calc(100vw - 3rem) !important;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        max-height: calc(100vh - var(--nav-h, 76px) - 2rem);
        overflow-y: auto;
    }
}

@media (max-width: 860px) {
    .mega-menu { grid-template-columns: 1fr !important; }
}

/* ==========================================================
   AUDIT FIXES: headings, contrast, card alignment, alt/eyebrow
   ========================================================== */

/* 34. Every h2 carried an orange bloom (style.css 4063). On one heading
   that is a focal point; on nine it is noise and it hurts legibility
   on the light section. Keep a whisper on hover only. */
h2, h2:hover { text-shadow: none !important; }
@media (prefers-reduced-motion: reduce) { h2, h2:hover { text-shadow: none !important; } }

/* 35. Contrast failures inside the orange CTA band: mid-grey text on a
   saturated orange ground fell below AA. Push to near-black. */
.orange-bg .cta-text,
.orange-bg p,
.cta-section.orange-bg p { color: rgba(10, 8, 6, 0.88) !important; }
.orange-bg .cta-text i,
.cta-section.orange-bg p i { color: rgba(10, 8, 6, 0.75) !important; }
/* The dark error terminal sits inside an orange section, so the rule above
   turned its paragraphs near-black on near-black (1.02:1, unreadable on every
   service page since 22 Aug). Give them back the terminal's own text colour. */
.orange-bg .error-terminal p { color: rgba(255, 255, 255, 0.85) !important; }

/* 40. Service card body text starts at different heights once the grid
   goes 4-up (>=1400px): "Account Health & Reinstatement" wraps to two
   lines while its three row-mates stay on one, pushing its paragraph
   22px lower. Reserve two lines for the title so the body always aligns.
   The cards are .service-category-card; the earlier .premium-card /
   .service-card selectors here matched nothing on this page. */
.services-grid-4 .service-category-card h3 {
    min-height: 2.15em;   /* two lines at the card's 1.06 line-height */
    margin-bottom: 0.75rem;
}

/* 43. .footer-top declares four grid columns but only ships three
   children (brand, links, contact), stranding a 214px column plus a
   48px gap on the right. Let the columns distribute instead. */
.premium-footer .footer-top { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* 37. The hero photo is now a <picture> so it can serve WebP with srcset.
   The wrapper must not change the layout the bare <img> used to produce.
   The source file also declared width="500" height="500" on an image that
   is actually 1023x1537, so the browser reserved the wrong box and shifted
   on load. Correct dimensions are now declared and the ratio is locked. */
.hero-image-wrapper picture,
picture:has(> .hero-img) {
    display: block;
    width: 100%;
}
.hero-img {
    aspect-ratio: 1023 / 1537;
    object-fit: cover;
}

/* ==========================================================
   FIX: mega-menu column headings were invisible
   ==========================================================
   The panel markup uses <div class="mega-menu-title">, but the only
   heading rule in this file targets `.mega-col h4`. With no rule of
   its own the div inherited the near-black body colour (rgb(8,7,10))
   and sat on the #0a0a0d panel, so "Design", "Troubleshooting" and
   "Other services" were unreadable on all 45 pages that ship the nav.
   ========================================================== */
.mega-menu-title {
    color: var(--orange);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mega-menu-title i { font-size: 0.9em; }

/* ==========================================================
   Header CTA
   ==========================================================
   The nav's primary action was styled identically to Blog and
   Careers, so it carried no visual priority. Promote it to a solid
   orange pill. The `.nav-bottom-bar a:hover, .nav-item:hover > a`
   rule at ~4900 forces a transparent background with !important,
   so these declarations have to match that weight to survive hover.
   ========================================================== */
.nav-item-cta { margin-left: 0.25rem; }

.nav-cta,
.nav-item-cta:hover > .nav-cta {
    display: inline-flex;
    align-items: center;
    background: var(--orange) !important;
    color: #0a070a !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-item-cta:hover > .nav-cta {
    background: #ff7a45 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 90, 31, 0.35) !important;
}

.nav-cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .nav-item-cta:hover > .nav-cta { transform: none; }
}

/* Mobile drawer: same promotion, full width so it reads as the
   drawer's closing action rather than a fifth link. */
.mobile-link-cta {
    background: var(--orange);
    color: #0a070a !important;
    font-weight: 700;
    text-align: center;
    padding: 0.9rem 1.25rem;
    border-radius: 999px;
    margin-top: 0.75rem;
}

/* ==========================================================
   Hero must fit one screen at 100% zoom
   ==========================================================
   At 1512x790 the hero measured 843px tall: the CTA buttons ended at
   791px (1px past the fold) and the stat row at 894px, so "Get Your
   Free Amazon Audit" and all three proof numbers were below the fold
   on a standard laptop. --fs-hero (clamp(2.7rem,5vw,4.6rem)) is driven
   by viewport WIDTH only, so a wide-but-short window got the largest
   headline and the least room to put it.

   Fix: pin the hero to exactly one viewport, and let the type and the
   vertical rhythm respond to viewport HEIGHT as well as width, via
   min(vw, vh) inside each clamp.

   Scoped to 1025px, not 992px, to match the site's own desktop
   breakpoint. At 992-1024 the sheet intends a stacked single-column
   hero (.hero-grid{1fr}); forcing two columns there collapsed the copy
   track to 0px and rendered the portrait at zero width.
   ========================================================== */
@media (min-width: 1025px) {
    .hero {
        --nav-h: 71px;
        min-height: calc(100svh - var(--nav-h));
        padding-top: clamp(1rem, 2.4vh, 3rem);
        padding-bottom: clamp(1.25rem, 3vh, 4rem);
    }

    /* .hero .hero-desc and .hero .hero-title exist earlier at 0,0,2,0,
       so these have to match that weight to win. */
    .hero .hero-title {
        font-size: clamp(2.4rem, min(4.35vw, 7.4vh), 4.6rem);
        margin-bottom: clamp(0.75rem, 1.9vh, 1.75rem);
        /* Smaller type means fewer lines, which exposed a bad rag
           ("...business with / an Amazon..."). Even the lines out. */
        text-wrap: balance;
    }

    .hero .hero-desc {
        font-size: clamp(0.98rem, min(1.32vw, 2.3vh), 1.55rem);
        margin-bottom: clamp(1rem, 2.6vh, 2.75rem);
        max-width: 46ch;
    }

    .hero-cta-wrapper { gap: clamp(0.5rem, 1.3vh, 1rem); }

    .hero-stats {
        margin-top: clamp(0.9rem, 2.5vh, 2.75rem);
        gap: clamp(1.5rem, 3vw, 2.75rem);
    }

    /* Close the middle gap by GROWING the portrait, not by shrinking it.
       Capping the wrapper width (the previous fix here) pinned a 400px
       photo to the right edge and opened the dead band it was meant to
       remove. Instead the photo tracks the viewport width and is cropped
       to the fold height, so it stays large and sits beside the copy. */
    .hero-image-wrapper {
        max-width: none;
        width: clamp(360px, 30vw, 620px);
    }
    /* The box and the orbit wrapper are shrink-to-fit, so without this the
       photo keeps sizing itself off its intrinsic ratio and ignores the
       wrapper width set above. */
    .hero-image-wrapper .image-box-orbit-wrapper,
    .hero-image-wrapper .image-box {
        width: 100% !important;
    }
    .hero-image-wrapper .hero-img {
        width: 100% !important;
        /* 6rem covers the hero's own vertical padding, so the photo can be
           tall without pushing the CTA below the fold. */
        height: clamp(420px, calc(100svh - var(--nav-h, 71px) - 6rem), 760px) !important;
        aspect-ratio: auto !important;
        /* Crop from the lower half so her head stays in frame. */
        object-position: center 20% !important;
    }

    /* The image column has to track the photo's real width. Left at
       1.25fr/1fr it kept its full share while the photo shrank inside
       it, opening a dead band between the copy and the portrait. `auto`
       sizes the column to the photo; the copy column absorbs the rest. */
    .hero .hero-grid {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: clamp(2.5rem, 4.5vw, 5rem);
    }
}

/* ==========================================================
   Upwork verified-proof strip (hero)
   ==========================================================
   Every other number in the hero is self-reported. These two are
   computed by Upwork, so the whole strip is a link out to the profile
   and the arrow signals that. Kept to a neutral surface with a single
   green accent on the mark, so it reads as a credential and does not
   compete with the orange CTA a few pixels above it.
   ========================================================== */
.upwork-proof {
    --uw-green: #14a800;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: clamp(0.9rem, 2.2vh, 1.6rem);
    padding: 0.6rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    text-decoration: none;
    max-width: 100%;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.upwork-proof:hover {
    border-color: rgba(20, 168, 0, 0.55);
    background: rgba(20, 168, 0, 0.08);
    transform: translateY(-1px);
}

.upwork-proof:focus-visible {
    outline: 2px solid var(--uw-green);
    outline-offset: 3px;
}

.upwork-proof-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.upwork-mark { display: block; flex-shrink: 0; }

.upwork-proof-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.upwork-proof-rule {
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.14);
    flex-shrink: 0;
}

.upwork-proof-creds {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    min-width: 0;
}

.upwork-cred {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.upwork-cred i { color: var(--uw-green); font-size: 0.95em; }

.upwork-proof-go {
    margin-left: 0.15rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    flex-shrink: 0;
    transition: color 0.25s ease, transform 0.25s ease;
}

.upwork-proof:hover .upwork-proof-go {
    color: var(--uw-green);
    transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
    .upwork-proof:hover { transform: none; }
    .upwork-proof:hover .upwork-proof-go { transform: none; }
}

/* Narrow screens: drop the divider and let the two credentials stack
   under the brand rather than forcing a horizontal scroll. */
@media (max-width: 560px) {
    .upwork-proof {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
        border-radius: 18px;
        padding: 0.7rem 0.9rem;
    }
    .upwork-proof-rule { display: none; }
    .upwork-proof-creds { gap: 0.35rem 0.85rem; }
    .upwork-cred { font-size: 0.78rem; }
}

/* ---------- Homepage blog slider ----------
   Reuses the .story-slider machinery from the case-study rail. The only
   differences are a tighter headline (blog titles run long) and a read-time
   line where the case-study card puts its metric. */
.blog-slider-home { position: relative; }
.blog-slider-home .service-category-card { display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.22rem; line-height: 1.32; }
.post-card p { color: #ccc; margin-bottom: 1rem; }
.post-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}
.post-meta i { font-size: 1em !important; margin: 0 !important; display: inline !important; color: var(--orange); }
.post-card .cs-more { padding-top: 1.25rem; }

/* Phone and tablet header: a visible "Free audit" button beside the menu button (31 Oct 2026).
   Below 1025px the desktop bar is hidden, so the audit link used to sit inside the menu. */
.nav-cta-mobile { display: none; }
@media (max-width: 1024px) {
    .nav-cta-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: 0.4rem;
        min-height: 40px;
        padding: 0 1rem;
        background: var(--orange);
        color: #0a070a;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.85rem;
        line-height: 1;
        border-radius: 999px;
        white-space: nowrap;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .nav-cta-mobile:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
}
