/* Critical CSS — inlined above the fold */

/* ─── Font Faces ─────────────────────────────── */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ─── Base ───────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ─── Dot Matrix Pattern (Brand Element) ─────── */
.dot-matrix-pattern {
    background-image: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 20px 20px;
}

.dot-matrix-pattern-dark {
    background-image: radial-gradient(circle, #4A4A49 1px, transparent 1px);
    background-size: 20px 20px;
}

.dot-matrix-pattern-red {
    background-image: radial-gradient(circle, #D32431 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ─── Section Headers (red accent line) ──────── */
.section-accent::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #D32431;
    margin-bottom: 1rem;
}

.section-accent-center::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #D32431;
    margin: 0 auto 1rem;
}

/* ─── Scroll Reveal ──────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Directional reveals */
[data-reveal="left"] {
    opacity: 0;
    transform: translateX(-30px);
}

[data-reveal="right"] {
    opacity: 0;
    transform: translateX(30px);
}

[data-reveal="scale"] {
    opacity: 0;
    transform: scale(0.95);
}

/* ─── Trust Marquee ──────────────────────────── */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trust-marquee {
    animation: marquee 20s linear infinite;
}

.trust-marquee:hover {
    animation-play-state: paused;
}

/* ─── Back to Top Button ─────────────────────── */
.back-to-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* ─── Alpine.js Cloak ────────────────────────── */
[x-cloak] {
    display: none !important;
}

/* ─── Header Dark/Light Mode ─────────────────── */
.header-dark .nav-link,
.header-dark nav a {
    color: rgba(255,255,255,0.85) !important;
}

.header-dark nav a:hover {
    color: #ffffff !important;
}

.header-dark nav .current > a {
    color: #ffffff !important;
}

/* Dropdown: transparent mode */
.header-dark .nav-dropdown {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
}

.header-dark .nav-dropdown a {
    color: rgba(255,255,255,0.85) !important;
}

.header-dark .nav-dropdown a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.1) !important;
}

/* Dropdown: scrolled mode */
.header-scrolled .nav-dropdown {
    background: white;
    border: 1px solid #f0f0f0;
}

.header-scrolled nav a {
    color: #4A4A49 !important;
}

.header-scrolled nav a:hover {
    color: #D32431 !important;
}

.header-scrolled nav .current > a {
    color: #D32431 !important;
}

/* ─── Active Nav Indicator ───────────────────── */
.nav-link-active {
    position: relative;
}

.nav-link-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #D32431;
    border-radius: 1px;
}

/* ─── Alternating Section Backgrounds ────────── */
.section-alt:nth-child(even) {
    background-color: #F9FAFB;
}

/* ─── Phone Wiggle Animation ─────────────────── */
@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-12deg); }
    20% { transform: rotate(12deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(-6deg); }
    60% { transform: rotate(6deg); }
    70% { transform: rotate(0deg); }
}

.phone-wiggle:hover svg {
    animation: phone-ring 0.8s ease-in-out;
    transform-origin: center;
}

/* ─── Shiny CTA Button ──────────────────────── */
@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false;
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: white;
    inherits: false;
}

.shiny-cta {
    --shiny-cta-bg: #D32431;
    --shiny-cta-bg-subtle: #B01E29;
    --shiny-cta-fg: #ffffff;
    --shiny-cta-highlight: #ff6b7a;
    --shiny-cta-highlight-subtle: #ffaab3;

    isolation: isolate;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    outline-offset: 4px;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 360px;
    color: var(--shiny-cta-fg);
    background:
        linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
        conic-gradient(
            from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
            transparent,
            var(--shiny-cta-highlight) var(--gradient-percent),
            var(--gradient-shine) calc(var(--gradient-percent) * 2),
            var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
            transparent calc(var(--gradient-percent) * 4)
        ) border-box;
    box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);
    transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}

.shiny-cta::before,
.shiny-cta::after {
    content: "";
    pointer-events: none;
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    z-index: -1;
}

.shiny-cta:active {
    translate: 0 1px;
}

/* Dots pattern on button */
.shiny-cta::before {
    --size: calc(100% - 6px);
    --position: 2px;
    --space: calc(var(--position) * 2);
    width: var(--size);
    height: var(--size);
    background: radial-gradient(
        circle at var(--position) var(--position),
        white calc(var(--position) / 4),
        transparent 0
    ) padding-box;
    background-size: var(--space) var(--space);
    background-repeat: space;
    mask-image: conic-gradient(
        from calc(var(--gradient-angle) + 45deg),
        black,
        transparent 10% 90%,
        black
    );
    border-radius: inherit;
    opacity: 0.4;
    z-index: -1;
}

/* Inner shimmer */
.shiny-cta::after {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(
        -50deg,
        transparent,
        var(--shiny-cta-highlight),
        transparent
    );
    mask-image: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
}

.shiny-cta > span {
    position: relative;
    z-index: 1;
}

/* Breathe glow on span */
.shiny-cta > span::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
    transition: opacity 800ms cubic-bezier(0.25, 1, 0.5, 1);
    animation: shiny-breathe 4.5s linear infinite;
}

.shiny-cta,
.shiny-cta::before,
.shiny-cta::after {
    animation: gradient-angle 3s linear infinite paused,
        gradient-angle 7.5s linear infinite reverse paused;
    animation-composition: add;
}

.shiny-cta:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shiny-cta-highlight-subtle);
}

.shiny-cta:is(:hover, :focus-visible),
.shiny-cta:is(:hover, :focus-visible)::before,
.shiny-cta:is(:hover, :focus-visible)::after {
    animation-play-state: running;
}

.shiny-cta:is(:hover, :focus-visible) > span::before {
    opacity: 1;
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg;
    }
}

@keyframes shiny-breathe {
    from, to { scale: 1; }
    50% { scale: 1.2; }
}

/* ─── Animated Underline ─────────────────────── */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #D32431;
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-underline:hover::after,
.animated-underline.is-visible::after {
    transform-origin: bottom left;
    transform: scaleX(1);
}

/* Hover-only underline variant (no auto-trigger) */
.animated-underline-hover {
    position: relative;
    display: inline-block;
    cursor: default;
}

.animated-underline-hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #D32431;
    transform-origin: bottom right;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.animated-underline-hover:hover::after {
    transform-origin: bottom left;
    transform: scaleX(1);
}

/* Auto-trigger underline when revealed */
[data-reveal].revealed .animated-underline::after {
    transform-origin: bottom left;
    transform: scaleX(1);
    transition-delay: 0.3s;
}

/* ─── Hover Link Preview ─────────────────────── */
.hover-preview {
    position: fixed;
    z-index: 50;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8) translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.hover-preview.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.hover-preview-inner {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 8px;
    min-width: 200px;
}

.hover-preview-inner img {
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}

.hover-preview-title {
    font-size: 0.75rem;
    color: #4A4A49;
    text-align: center;
    padding: 4px 8px 2px;
    font-weight: 500;
}

/* ─── Contact Card Hover ─────────────────────── */
.contact-card {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.contact-card:hover .contact-card-icon {
    background: #D32431;
    color: white;
    transform: scale(1.1);
}

.contact-card-icon {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Circular Process Diagram ───────────────── */
.process-circle {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid #D32431;
}

@media (min-width: 768px) {
    .process-circle {
        width: 360px;
        height: 360px;
    }
}

.process-step {
    position: absolute;
    width: 80px;
    text-align: center;
}

.process-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #D32431;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
}

/* ─── Shimmer Text ──────────────────────────── */
@keyframes shimmer-slide {
    0% { background-position-x: 250%; }
    100% { background-position-x: -100%; }
}

.shimmer-text {
    display: inline-block;
    color: currentColor;
    background: currentColor linear-gradient(
        to right,
        currentColor 0%,
        rgba(255,255,255,0.6) 40%,
        rgba(255,255,255,0.6) 60%,
        currentColor 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-repeat: no-repeat;
    background-size: 50% 200%;
    animation: shimmer-slide 3s linear infinite;
    animation-delay: 1.5s;
}

/* Dark variant for light backgrounds */
.shimmer-text-dark {
    background: currentColor linear-gradient(
        to right,
        currentColor 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.5) 60%,
        currentColor 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-repeat: no-repeat;
    background-size: 50% 200%;
    animation: shimmer-slide 3s linear infinite;
    animation-delay: 1.5s;
}

/* ─── Text Roll (Nav Hover) ─────────────────── */
.text-roll {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 1;
}

.text-roll .text-roll-top,
.text-roll .text-roll-bottom {
    display: inline-flex;
}

.text-roll .text-roll-bottom {
    position: absolute;
    inset: 0;
}

.text-roll .text-roll-char {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: pre;
}

.text-roll:hover .text-roll-top .text-roll-char {
    transform: translateY(-100%);
}

.text-roll:hover .text-roll-bottom .text-roll-char {
    transform: translateY(0);
}

.text-roll .text-roll-bottom .text-roll-char {
    transform: translateY(100%);
}

/* ─── Spotlight Cards (Cursor Glow) ─────────── */
.spotlight-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        350px circle at var(--x, 50%) var(--y, 50%),
        rgba(211, 36, 49, 0.12),
        transparent 60%
    );
    z-index: 0;
    pointer-events: none;
}

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

.spotlight-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        300px circle at var(--x, 50%) var(--y, 50%),
        rgba(211, 36, 49, 0.35),
        transparent 50%
    );
    z-index: -1;
    border-radius: inherit;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    padding: 1px;
    pointer-events: none;
}

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

.spotlight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(211, 36, 49, 0.08);
}

/* ─── Elevation Shadow (subtle top-right depth) */
.shadow-elevation {
    box-shadow: 5px -3px 18px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.04);
}

.shadow-elevation-hover {
    box-shadow: 8px -5px 28px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
}

/* ─── 3D Tilt Cards ─────────────────────────── */
.tilt-card {
    perspective: 800px;
}

.tilt-card-inner {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

.tilt-card-inner .tilt-card-content {
    transform: translateZ(30px);
}

.tilt-card-inner img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tilt-card:hover .tilt-card-inner img {
    transform: translateZ(40px) scale(1.03);
}

/* ─── Expanding Cards ───────────────────────── */
.expanding-cards {
    display: flex;
    gap: 12px;
    height: 400px;
}

.expanding-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    flex: 1;
    transition: flex 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.expanding-card.active {
    flex: 5;
}

.expanding-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.7s ease, transform 0.7s ease;
}

.expanding-card:not(.active) img {
    filter: brightness(0.6);
}

.expanding-card.active img {
    transform: scale(1.05);
}

.expanding-card .expanding-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.5s ease 0.2s;
}

.expanding-card.active .expanding-card-overlay {
    opacity: 1;
}

.expanding-card .expanding-card-title {
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    position: absolute;
    bottom: 16px;
    left: 50%;
    translate: -50% 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.expanding-card.active .expanding-card-title {
    writing-mode: horizontal-tb;
    transform: none;
    position: relative;
    bottom: auto;
    left: auto;
    translate: none;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .expanding-cards {
        flex-direction: column;
        height: auto;
    }
    .expanding-card {
        height: 80px;
    }
    .expanding-card.active {
        height: 300px;
        flex: auto;
    }
    .expanding-card .expanding-card-title {
        writing-mode: horizontal-tb;
        transform: none;
        position: absolute;
        bottom: auto;
        left: auto;
        translate: none;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
    }
}

/* ─── Image Accordion ───────────────────────── */
.image-accordion {
    display: flex;
    gap: 8px;
    height: 450px;
}

.image-accordion-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    width: 60px;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-accordion-item.active {
    width: 400px;
}

.image-accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-accordion-item .accordion-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: all 0.5s ease;
}

.image-accordion-item.active .accordion-label {
    transform: translateX(-50%) rotate(0deg);
    bottom: 24px;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .image-accordion {
        flex-direction: column;
        height: auto;
    }
    .image-accordion-item {
        width: 100%;
        height: 60px;
    }
    .image-accordion-item.active {
        width: 100%;
        height: 350px;
    }
    .image-accordion-item .accordion-label {
        transform: translateX(-50%) rotate(0deg);
    }
}

/* ─── Hover Preview (Spring Physics) ────────── */
.hover-preview-spring {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    will-change: transform, opacity;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.15s ease;
}

.hover-preview-spring.active {
    opacity: 1;
}

.hover-preview-spring .preview-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 20px rgba(0,0,0,0.08);
    padding: 8px;
    transform-origin: center;
    will-change: transform;
}

.hover-preview-spring .preview-card img {
    width: 192px;
    height: 112px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.hover-preview-spring .preview-card .preview-title {
    font-size: 0.75rem;
    color: #4A4A49;
    text-align: center;
    padding: 6px 8px 2px;
    font-weight: 500;
}

/* ─── Circular Gallery (3D Product Showcase) ── */
.circular-gallery {
    -webkit-user-select: none;
    user-select: none;
}

.cg-card {
    transition: opacity 0.3s ease, box-shadow 0.3s ease;
}

.cg-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ─── Circular Flow (Kreislauf Layout) ─────── */

.flow-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: scale 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    cursor: default;
}

.flow-card:hover {
    border-color: rgba(211, 36, 49, 0.3);
    box-shadow: 0 8px 30px rgba(211, 36, 49, 0.12);
    z-index: 3 !important;
    scale: 1.05;
}


/* Mobile: stack vertically */
@media (max-width: 768px) {
    #circular-flow {
        height: auto !important;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    #circular-flow .flow-card {
        position: relative !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    #circular-flow .flow-card:hover {
        scale: 1.02;
    }
    #flow-canvas {
        display: none;
    }
}


/* ─── Sticky Scroll Cards ───────────────────── */
.scroll-stack-card {
    position: sticky;
    top: calc(5rem + 3px);
    min-height: calc(100vh - 5rem - 3px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

@media (min-width: 1024px) {
    .scroll-stack-card {
        top: calc(6rem + 3px);
        min-height: calc(100vh - 6rem - 3px);
    }
}

.scroll-stack-card-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 2rem;
}

/* ─── Testimonial Scroll ────────────────────── */
@keyframes testimonial-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.testimonial-column {
    animation: testimonial-scroll var(--duration, 25s) linear infinite;
}

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

.testimonial-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: rgba(211, 36, 49, 0.2);
}

/* ─── Scroll Expansion Hero ─────────────────── */
.scroll-expand-hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.seh-viewport {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.seh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transition: opacity 0.1s ease;
}

.seh-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seh-media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    max-width: 98vw;
    max-height: 92vh;
}

.seh-media img,
.seh-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seh-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    border-radius: 16px;
    z-index: 2;
    transition: opacity 0.1s ease;
}

.seh-text-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
    pointer-events: none;
    white-space: nowrap;
}

.seh-title-left,
.seh-title-right {
    transition: none;
}

.seh-content {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.7s ease;
}

.seh-info {
    transition: opacity 0.15s ease;
}

.seh-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* ─── Quick-Nav (Sticky Product Navigation) ─── */
.quick-nav {
    position: sticky;
    top: calc(5rem + 3px);
    z-index: 40;
    background: white;
    border-bottom: 1px solid #f0f0f0;
    transition: box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
    .quick-nav {
        top: calc(6rem + 3px);
    }
}

.quick-nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.quick-nav-link {
    position: relative;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.quick-nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #D32431;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-nav-link.qn-active,
.quick-nav-link:hover {
    color: #D32431;
}

.quick-nav-link.qn-active::after {
    transform: scaleX(1);
}

/* ─── Color Switcher ─────────────────────────── */
.cs-image {
    display: none;
}

.cs-image.cs-visible {
    display: block;
}

.cs-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.cs-btn:hover {
    transform: scale(1.1);
}

.cs-btn.cs-active {
    box-shadow: 0 0 0 3px white, 0 0 0 5px #D32431;
}

/* ─── Accordion ──────────────────────────────── */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.accordion-open .accordion-content {
    /* max-height set via JS */
}

.accordion-icon {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

/* ─── Hover Slider (Animated Slideshow) ─────── */

/* Stacked image grid */
.hs-images-wrap {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.hs-image {
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    transition: clip-path 0.75s cubic-bezier(0.33, 1, 0.68, 1);
    border-radius: 12px;
}

.hs-image.hs-active {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.hs-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav items */
.hs-nav-item {
    border-left: 3px solid transparent;
    padding-left: 1.5rem;
    cursor: default;
    transition: border-color 0.3s ease;
    outline: none;
}

.hs-nav-item.hs-active {
    border-left-color: #D32431;
}

.hs-title-text {
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.3;
    color: #4A4A49;
}

.hs-nav-item.hs-active .hs-title-text,
.hs-nav-item:hover .hs-title-text {
    opacity: 1;
    color: #4A4A49;
}

.hs-num-text {
    transition: color 0.3s ease, opacity 0.3s ease;
    opacity: 0.25;
    color: #4A4A49;
}

.hs-nav-item.hs-active .hs-num-text {
    opacity: 1;
    color: #D32431;
}

.hs-nav-item:hover .hs-num-text {
    opacity: 0.7;
}

/* Detail panel (description + specs) */
.hs-detail {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.35s ease;
}

.hs-detail.hs-active {
    max-height: 300px;
    opacity: 1;
}

/* Tag badge on image */
.hs-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    transition: opacity 0.3s ease;
}
