:root {
    --color-primary: #fcb918;
    --color-primary-dark: #c88700;
    --color-accent: #fcb918;
    --color-accent-dark: #b47900;
    --color-dark: #222957;
    --color-light: #ffffff;
    --color-muted: rgba(34, 41, 87, 0.75);
    --color-border: rgba(34, 41, 87, 0.08);
    --color-white: #ffffff;
    --color-success: #fcb918;
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-display: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --font-menu: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --shadow-sm: 0 6px 16px rgba(34, 41, 87, 0.08);
    --shadow-md: 0 16px 40px rgba(34, 41, 87, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --container-width: min(1200px, 92vw);
    /* Breakpoints */
    --bp-xs: 320px;
    --bp-sm: 375px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    --bp-2xl: 1536px;

    /* Fixed Design Width System - maintains 2560px native appearance */
    --design-width: 2560;
    --scale-factor: calc(100vw / var(--design-width));
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--color-dark);
    background-color: var(--color-light);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
}

/* Containers and layout utilities */
.container-wide {
    width: min(1400px, 94vw);
    margin: 0 auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.max-w-900 {
    max-width: 900px;
}

.max-w-1000 {
    max-width: 1000px;
}

.grid-auto-280 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rounded-md {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.shadow-sm {
    box-shadow: var(--shadow-sm);
}

.shadow-md {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: 0 8px 32px rgba(34, 41, 87, 0.12);
}

/* Social links base layout */
.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(252, 185, 24, 0.1);
    color: var(--color-primary);
    transition: all 0.25s ease;
}

/* Heading and text wrapping to prevent overflow */
h1,
h2,
h3,
.section-heading,
.section-subheading,
.categories-clean-title,
.hero-marquee__title,
.products-category-hero__title {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    text-wrap: balance;
}

/* Accessible focus outlines */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* Reduce focus outline radius for rounded elements */
.button:focus-visible,
.button-secondary:focus-visible,
.button-header-contact:focus-visible {
    outline-offset: 2px;
}

/* Header logo image size normalization */
.logo img {
    height: clamp(60px, 10vw, 100px);
    width: auto;
    object-fit: contain;
}

.section {
    padding: clamp(3.5rem, 4vw, 5.5rem) 0;
}

/* Spacing scale utilities (y-axis) */
.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.my-0 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-6 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-12 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.section-heading {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-family: var(--font-display);
    line-height: 1.15;
    color: var(--color-primary);
    text-align: center;
}

.section-subheading {
    font-family: var(--font-menu);
    margin-top: 0;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-muted);
    max-width: 46ch;
    text-align: center;
}

.button,
.button-secondary {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.button {
    background: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 2px 8px rgba(252, 185, 24, 0.25);
    position: relative;
    overflow: hidden;
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(252, 185, 24, 0.4);
    background: var(--color-primary-dark);
}

.button:hover::after {
    width: 300px;
    height: 300px;
}

.button span,
.button svg,
.button>* {
    position: relative;
    z-index: 1;
}

.button-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

.button-secondary:hover,
.button-secondary:focus {
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.badge {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(253, 185, 19, 0.18);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    width: fit-content;
}

.card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #0a1128;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 0.875rem 0;
}

.site-header .logo {
    display: flex;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 0.25rem 0;
    flex-shrink: 0;
}

.logo:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.logo img {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: filter 0.2s ease;
}

.logo:hover img {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}

.logo span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: linear-gradient(140deg, var(--color-accent), var(--color-accent-dark));
    color: var(--color-dark);
    font-weight: 700;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.site-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.site-nav a {
    font-family: var(--font-menu);
    font-weight: 600;
    font-size: 0.9375rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.25rem;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.site-nav a:hover {
    color: var(--color-primary);
}

.site-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.5rem;
    width: 100%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent-dark));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
    color: var(--color-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.search-trigger,
.nav-toggle {
    font-family: var(--font-menu);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    color: #ffffff;
    transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.search-trigger:hover,
.nav-toggle:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(252, 185, 24, 0.1);
}

.nav-toggle {
    display: none;
}

/* Header Contact Button - Simple & Clean */
.button-header-contact {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    border: 1.5px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.button-header-contact:hover {
    background: var(--color-primary);
    color: #0a1128;
    border-color: var(--color-primary);
}

/* Hero Marquee - Product Showcase Style */
.hero-marquee {
    position: relative;
    width: 100%;
    min-height: 810px;
    /* Fixed height based on 2560px design (75vh at 1080px height) */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1f45 0%, var(--color-dark) 50%, #2d3565 100%);
}

.hero-marquee__bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 75%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    /* Optimize background rendering */
    will-change: auto;
    contain: strict;
    transform: translateZ(0);
    background: #ffffff;
    /* White background for carousel area */
}

.hero-marquee__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.7) 70%,
            #ffffff 100%);
    z-index: 5;
    pointer-events: none;
}

/* Marquee Rows */
.hero-marquee__row {
    position: absolute;
    width: 100%;
    height: 35%;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-marquee__row--1 {
    top: -2%;
    opacity: 0.4;
}

.hero-marquee__row--2 {
    top: 32.5%;
    opacity: 0.5;
}

.hero-marquee__row--3 {
    top: 67%;
    opacity: 0.4;
}

/* Marquee Track - Infinite Scroll - Optimized for Performance */
.hero-marquee__track {
    display: flex;
    gap: 2rem;
    animation: marquee-scroll 60s linear infinite;
    will-change: transform;
    /* Force hardware acceleration */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.hero-marquee__track--reverse {
    animation: marquee-scroll-reverse 70s linear infinite;
}

.hero-marquee__track--fast {
    animation: marquee-scroll 45s linear infinite;
}

/* Optimized keyframes using translate3d for better performance */
@keyframes marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes marquee-scroll-reverse {
    from {
        transform: translate3d(-50%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
    }
}

/* Marquee Items - Optimized for smooth animation */
.hero-marquee__item {
    flex-shrink: 0;
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(252, 185, 24, 0.05);
    border: 1px solid rgba(252, 185, 24, 0.2);
    box-shadow: 0 8px 32px rgba(252, 185, 24, 0.15);
    position: relative;
    /* Disable hover animations during marquee to prevent jank */
    pointer-events: none;
    /* Force hardware acceleration on items too */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

.hero-marquee__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(252, 185, 24, 0.1) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Simplified hover - only visual changes, no transforms during animation */
.hero-marquee__item:hover::before {
    opacity: 1;
}

.hero-marquee__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Remove transform on image to prevent animation conflicts */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
}

/* Content Wrapper - Centered & Focused */
.hero-marquee__content-wrapper {
    position: relative;
    z-index: 20;
    width: 100%;
    padding: 96px 0;
    /* Fixed value instead of clamp(3rem, 6vw, 6rem) */
}

.hero-marquee__split {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    padding: 0 clamp(1rem, 2.5vw, 2rem) 0 clamp(1rem, 2vw, 2rem);
}

/* Anchor hero container to the far left for flush alignment */
.hero-marquee__content-wrapper .container {
    margin-left: 0;
    margin-right: auto;
}

.hero-marquee__content-column {
    flex: 0 1 clamp(360px, 25vw, 640px);
    max-width: clamp(360px, 25vw, 640px);
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    z-index: 30;
}

.hero-marquee__content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 0 clamp(1.5rem, 3vw, 2.5rem) 0 0;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    /* Lock backdrop inside the text column */
}

/* Add subtle backdrop to ensure text doesn't get lost */
.hero-marquee__content::before {
    content: '';
    position: absolute;
    left: -24px;
    right: -24px;
    top: -24px;
    bottom: -24px;
    background: radial-gradient(ellipse at center,
            rgba(34, 41, 87, 0.7) 0%,
            rgba(34, 41, 87, 0.4) 50%,
            transparent 100%);
    z-index: -1;
    pointer-events: none;
    border-radius: 20px;
}

/* Products Category Hero - Horizontal Layout */
.products-category-hero {
    padding: 4rem 0;
    background: var(--color-light);
}

.products-category-hero__header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-category-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.products-category-hero__subtitle {
    font-size: 1.125rem;
    color: var(--color-muted);
    max-width: 600px;
    margin: 0 auto;
}

.quick-category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.quick-category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-dark);
    font-weight: 600;
    font-family: var(--font-menu);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}

.quick-category-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: var(--color-primary-dark);
}

.quick-category-square {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.quick-category-item:hover .quick-category-square {
    color: var(--color-primary-dark);
}

.quick-category-label {
    font-size: 0.9375rem;
}



@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-marquee__badge {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: rgba(252, 185, 24, 0.15);
    border: 1px solid rgba(252, 185, 24, 0.4);
    border-radius: 999px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out 0.1s both;
    position: relative;
    z-index: 1;
}

.hero-marquee__badge svg {
    animation: pulse 2s ease-in-out infinite;
}

.hero-marquee__title {
    font-family: var(--font-display);
    font-size: 64px;
    /* Fixed value - was clamp(2.5rem, 5vw, 4rem) */
    line-height: 1.15;
    margin: 0;
    color: var(--color-white);
    animation: fadeInUp 0.6s ease-out 0.1s both;
    overflow-wrap: anywhere;
    text-wrap: balance;
    position: relative;
    z-index: 1;
}

.hero-marquee__title-line {
    display: inline;
}

.hero-marquee__title-line--highlight {
    background: linear-gradient(120deg, var(--color-primary) 0%, #ffdb4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-marquee__description {
    font-family: var(--font-menu);
    font-size: 20px;
    /* Fixed value - was clamp(1.05rem, 1.6vw, 1.25rem) */
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 65ch;
    margin: 0;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    position: relative;
    z-index: 1;
}

.hero-marquee__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: flex-start;
    animation: fadeInUp 0.6s ease-out 0.3s both;
    position: relative;
    z-index: 1;
}

.hero-marquee__stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(252, 185, 24, 0.25);
    width: 100%;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    position: relative;
    z-index: 1;
}

.hero-marquee__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.hero-marquee__stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    /* Fixed value - was clamp(2rem, 4vw, 3rem) */
    line-height: 1;
    color: var(--color-primary);
    font-weight: 700;
}

.hero-marquee__stat-label {
    font-family: var(--font-menu);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.hero-marquee__stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(252, 185, 24, 0.25);
}

/* Performance optimizations */
.hero-marquee__row {
    /* Use contain for better rendering performance */
    contain: layout style paint;
}

/* Ensure seamless looping - prevent any visual gaps */
.hero-marquee__track::after {
    content: '';
    /* Add tiny padding to prevent subpixel gaps */
    flex: 0 0 0.1px;
}

/* Scale hero section proportionally to maintain 2560px design appearance */
/* Using transform: scale for better cross-browser support */
/* Remove desktop scale hack to avoid blurry text and layout distortion */
/* The hero now relies on responsive sizing defined below */

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-marquee {
        /* Reset scale for smaller screens */
        scale: 1;
        transform: none;
    }

    .hero-marquee__item {
        width: 240px;
        height: 240px;
    }

    .hero-marquee__track {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-marquee__bg {
        width: 55%;
    }

    .hero-marquee__gradient-overlay {
        width: 75%;
    }

    .hero-marquee__split {
        padding-left: clamp(16px, 4vw, 32px);
        padding-right: 0;
    }

    .hero-marquee__content-column {
        flex: 0 0 70%;
        max-width: 70%;
        margin-right: auto;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .hero-marquee__content-column {
        flex: 0 0 70%;
        max-width: 70%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-marquee__title {
        font-size: 3rem;
    }

    .hero-marquee__description {
        font-size: 1.125rem;
    }

    .hero-marquee__stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero-marquee {
        min-height: auto;
        padding: 0;
        scale: 1 !important;
        transform: none !important;
    }

    .hero-marquee__bg {
        width: 100%;
        opacity: 0.3;
    }

    .hero-marquee__gradient-overlay {
        width: 100%;
        background: linear-gradient(to bottom,
                rgba(34, 41, 87, 0.95) 0%,
                rgba(34, 41, 87, 0.85) 50%,
                rgba(34, 41, 87, 0.9) 100%);
    }

    .hero-marquee__row {
        height: 200px;
    }

    .hero-marquee__row--1 {
        top: 0;
    }

    .hero-marquee__row--2 {
        top: 220px;
    }

    .hero-marquee__row--3 {
        top: 440px;
    }

    .hero-marquee__item {
        width: 180px;
        height: 180px;
    }

    .hero-marquee__track {
        gap: 1rem;
    }

    .hero-marquee__content-wrapper {
        padding: 3rem 0;
    }

    .hero-marquee__split {
        padding: 0 1.5rem;
        gap: 2rem;
    }

    .hero-marquee__content-column {
        flex: 1 1 auto;
        max-width: 100%;
        display: block;
        margin-right: 0;
    }

    .hero-marquee__content {
        padding: 2rem 1rem;
        text-align: center;
        align-items: center;
    }

    .hero-marquee__content::before {
        left: -20px;
        right: -20px;
        top: -20px;
        bottom: -20px;
    }

    .hero-marquee__title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-marquee__description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-marquee__actions {
        justify-content: center;
        width: 100%;
    }

    .hero-marquee__stats {
        gap: 1.5rem;
        justify-content: center;
        padding-top: 1rem;
        margin-top: 1rem;
    }

    .hero-marquee__stat-number {
        font-size: 2rem;
    }

    .hero-marquee__stat-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-marquee__content-wrapper {
        padding: 2rem 0;
    }

    .hero-marquee__split {
        padding: 0 1rem;
    }

    .hero-marquee__content {
        padding: 1.5rem 0.5rem;
    }

    .hero-marquee__title {
        font-size: clamp(1.75rem, 10vw, 2.5rem);
    }

    .hero-marquee__description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .hero-marquee__badge {
        font-size: 0.8125rem;
        padding: 0.5rem 1.25rem;
    }

    .hero-marquee__actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-marquee__actions .button,
    .hero-marquee__actions .button-secondary {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .hero-marquee__stats {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-marquee__stat-number {
        font-size: 1.75rem;
    }

    .hero-marquee__stat-label {
        font-size: 0.75rem;
    }

    .hero-marquee__item {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 400px) {
    .hero-marquee__title {
        font-size: clamp(1.5rem, 12vw, 2rem);
    }

    .hero-marquee__description {
        font-size: 0.875rem;
    }

    .hero-marquee__content {
        padding: 1rem 0.25rem;
    }

    .hero-marquee__badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    .hero-marquee__stats {
        gap: 0.75rem;
    }

    .hero-marquee__stat-number {
        font-size: 1.5rem;
    }
}

/* Mobile landscape optimization */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-marquee {
        min-height: auto;
    }

    .hero-marquee__content-wrapper {
        padding: 1.5rem 0;
    }

    .hero-marquee__content {
        gap: 1rem;
    }

    .hero-marquee__stats {
        margin-top: 0.5rem;
        padding-top: 0.75rem;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero-marquee__track {
        animation: none !important;
    }

    .hero-marquee__item {
        transition: none;
    }
}

/* Hero - Modern SaaS Style */
.hero-modern {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 6vw, 6rem);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-modern__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-modern__bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0D1B2A 0%, #1f2f42 50%, #0a1520 100%);
}

.hero-modern__bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.3), transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.2), transparent 70%);
    bottom: -100px;
    left: -50px;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-modern .container {
    position: relative;
    z-index: 1;
}

.hero-modern__grid {
    display: grid;
    gap: clamp(3rem, 5vw, 5rem);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-modern__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-modern__content {
    color: var(--color-white);
}

.hero-modern__badge {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(253, 185, 19, 0.1);
    border: 1px solid rgba(253, 185, 19, 0.2);
    border-radius: 999px;
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out;
}

.hero-modern__badge svg {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-modern__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-modern__title-line {
    display: block;
}

.hero-modern__title-line--highlight {
    background: linear-gradient(120deg, var(--color-primary) 0%, #ffcd4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-modern__description {
    font-family: var(--font-menu);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    max-width: 54ch;
    margin: 0 0 2.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-modern__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.button--large {
    padding: 1.125rem 2.25rem;
    font-size: 1.05rem;
    gap: 0.75rem;
    line-height: 1;
}

.button svg {
    transition: transform var(--transition-fast);
    position: relative;
    z-index: 1;
}

.button:hover svg {
    transform: translateX(4px);
}

.hero-modern__stats {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out 0.4s both;
    overflow-x: auto;
}

.hero-modern__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-modern__stat-number {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1;
    color: var(--color-primary);
}

.hero-modern__stat-label {
    font-family: var(--font-menu);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-modern__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-modern__visual {
    position: relative;
    animation: fadeIn 0.8s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-modern__cards {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 1.75rem;
    width: 100%;
    max-width: 380px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.hero-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(253, 185, 19, 0.4);
    box-shadow: 0 16px 48px rgba(253, 185, 19, 0.25), 0 0 0 1px rgba(253, 185, 19, 0.1);
    transform: translateY(-4px) scale(1.02);
}

.hero-card--1 {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-card--2 {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-card--3 {
    margin-left: 1rem;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.hero-card__tag {
    font-family: var(--font-menu);
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(253, 185, 19, 0.15);
    border: 1px solid rgba(253, 185, 19, 0.3);
    color: var(--color-primary);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(253, 185, 19, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
}

.hero-card__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.hero-card__description {
    font-family: var(--font-menu);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.hero-card__meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-card__meta-item {
    font-family: var(--font-menu);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-card__meta-item svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

@media (max-width: 1023px) {
    .hero-modern__cards {
        height: auto;
        display: grid;
        gap: 1.5rem;
    }

    .hero-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        max-width: 100%;
    }

    .hero-card--1,
    .hero-card--2,
    .hero-card--3 {
        animation: none;
    }
}

@media (max-width: 640px) {
    .hero-modern {
        min-height: auto;
        padding: 4rem 0 3rem;
    }

    .hero-modern__stats {
        gap: 1.5rem;
    }

    .hero-modern__stat-divider {
        display: none;
    }
}

/* Featured categories - Modern Design */
.section--categories {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.section-header-modern__content {
    flex: 1;
    min-width: 280px;
}

.category-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.category-card-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(13, 27, 42, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(13, 27, 42, 0.06);
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #ffcd4d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(253, 185, 19, 0.2);
    border-color: rgba(253, 185, 19, 0.2);
}

.category-card-modern:hover::before {
    transform: scaleX(1);
}

.category-card-modern__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(253, 185, 19, 0.1), rgba(253, 185, 19, 0.05));
    color: var(--color-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-modern:hover .category-card-modern__icon {
    background: linear-gradient(135deg, var(--color-primary), #ffcd4d);
    color: var(--color-dark);
    transform: scale(1.05);
}

.category-card-modern__content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-card-modern__content h3 {
    margin: 0;
    font-size: 1.35rem;
    font-family: var(--font-display);
    color: var(--color-dark);
    line-height: 1.3;
}

.category-card-modern__content p {
    font-family: var(--font-menu);
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.category-card-modern__link {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.category-card-modern__link span {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-modern:hover .category-card-modern__link span {
    transform: translateX(4px);
}

/* Category-specific accent colors */
.category-card-modern--apparel:hover {
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15);
}

.category-card-modern--drinkware:hover {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
}

.category-card-modern--bags:hover {
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15);
}

.category-card-modern--tech:hover {
    box-shadow: 0 12px 32px rgba(251, 146, 60, 0.15);
}

.category-card-modern--stationery:hover {
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.15);
}

.category-card-modern--branding:hover {
    box-shadow: 0 12px 32px rgba(253, 185, 19, 0.2);
}

@media (max-width: 768px) {
    .section-header-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Featured categories & grids */
.category-grid,
.feature-grid,
.services-grid,
.catalog-grid,
.brand-row,
.product-grid {
    display: grid;
    gap: 1.5rem;
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.category-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.category-card::after {
    content: '';
    position: absolute;
    inset: auto -30% -30% auto;
    width: 80%;
    height: 80%;
    background: linear-gradient(140deg, rgba(3, 120, 255, 0.25), rgba(13, 27, 42, 0.08));
    transform: rotate(15deg);
    border-radius: 40%;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.category-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
}

.category-card p {
    font-family: var(--font-menu);
    margin: 0;
    color: var(--color-muted);
}

/* Why Choose Section - Full Width Split Layout */
.section--why-choose {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 4vw, 5.5rem) 0;
}

.section-heading--centered {
    text-align: center;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* Full width container with safe padding */
.why-choose-container {
    width: 100%;
    max-width: min(1600px, 100%);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Two column split: 50/50 image and features */
.why-choose-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 32px);
    align-items: start;
}

/* Left column: Image */
.why-choose-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.why-choose-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(34, 41, 87, 0.12);
    display: block;
}

/* Right column: 2x2 grid of feature cards */
.why-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
    height: 100%;
}

/* Feature cards with equal heights */
.why-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--color-white);
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border-radius: var(--radius-md);
    border: 1px solid rgba(13, 27, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.why-feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(253, 185, 19, 0.3);
    box-shadow: 0 8px 24px rgba(13, 27, 42, 0.08);
}

/* Icon styling */
.why-feature-card__icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(252, 185, 24, 0.1);
    color: var(--color-primary);
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.why-feature-card__icon svg {
    color: var(--color-primary);
}

.why-feature-card:hover .why-feature-card__icon {
    background: linear-gradient(135deg, var(--color-primary), #ffcd4d);
    transform: scale(1.05);
}

.why-feature-card:hover .why-feature-card__icon svg {
    color: var(--color-dark);
}

.why-feature-card__icon--speed {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
}

.why-feature-card__icon--speed svg {
    color: #3b82f6;
}

.why-feature-card:hover .why-feature-card__icon--speed {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.why-feature-card:hover .why-feature-card__icon--speed svg {
    color: var(--color-white);
}

.why-feature-card__icon--custom {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.08));
}

.why-feature-card__icon--custom svg {
    color: #8b5cf6;
}

.why-feature-card:hover .why-feature-card__icon--custom {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.why-feature-card:hover .why-feature-card__icon--custom svg {
    color: var(--color-white);
}

.why-feature-card__icon--support {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.08));
}

.why-feature-card__icon--support svg {
    color: #10b981;
}

.why-feature-card:hover .why-feature-card__icon--support {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.why-feature-card:hover .why-feature-card__icon--support svg {
    color: var(--color-white);
}

/* Card content with balanced text */
.why-feature-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.why-feature-card__content h3 {
    margin: 0;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-family: var(--font-display);
    color: var(--color-dark);
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    max-width: 100%;
}

.why-feature-card__content p {
    font-family: var(--font-menu);
    margin: 0;
    color: var(--color-muted);
    line-height: 1.5;
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Responsive breakpoints */
/* Desktop large: 1280px+ - maintain 50/50 split with 2x2 grid */
@media (min-width: 1280px) {
    .why-choose-container {
        max-width: 1600px;
    }
}

/* Desktop: 1024px-1279px - maintain 50/50 split with 2x2 grid */
@media (max-width: 1279px) and (min-width: 1024px) {
    .why-choose-split {
        gap: 24px;
    }

    .why-choose-image {
        min-height: 350px;
    }
}

/* Tablet: 768px-1023px - single column, image first, 2x2 grid */
@media (max-width: 1023px) and (min-width: 768px) {
    .why-choose-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .why-choose-image {
        min-height: 400px;
        max-width: 100%;
    }

    .why-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet small and mobile: below 768px - single column, 1x4 stack */
@media (max-width: 767px) {
    .why-choose-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .why-choose-image {
        min-height: 300px;
    }

    .why-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-feature-card {
        padding: 1.25rem;
    }
}

/* Mobile small: 480px and below - adjust padding */
@media (max-width: 480px) {
    .why-choose-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .why-choose-image {
        min-height: 250px;
    }

    .why-feature-card__icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        margin-bottom: 12px;
    }
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
    display: grid;
    gap: 0.75rem;
}

.feature-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(13, 27, 42, 0.08);
    display: grid;
    place-items: center;
    color: var(--color-primary);
    font-size: 1.3rem;
}

/* Modern brands section */
.brands-modern {
    position: relative;
    overflow: hidden;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.brands-modern__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(13, 27, 42, 0.02) 0%,
            rgba(253, 185, 19, 0.03) 50%,
            rgba(13, 27, 42, 0.02) 100%);
    pointer-events: none;
}

.brands-modern__bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 185, 19, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.brands-modern__bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13, 27, 42, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 30px);
    }
}

.brands-modern__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 1;
}

.brands-modern__badge {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(253, 185, 19, 0.1);
    border: 1px solid rgba(253, 185, 19, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.brands-modern__badge svg {
    color: var(--color-primary);
}

.brands-modern__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .brands-modern__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Layout: Horizontal Scrollable Carousel */
@media (max-width: 767px) {

    /* Remove container padding on mobile to allow full-width scrolling */
    .brands-modern .container {
        padding-left: 0;
        padding-right: 0;
    }

    .brands-modern__grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.25rem;
        padding: 0 calc(50vw - 140px) 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    /* Hide scrollbar for Chrome/Safari */
    .brands-modern__grid::-webkit-scrollbar {
        display: none;
    }

    .brand-card-modern {
        flex: 0 0 200px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-width: 200px;
    }

    /* Add scroll indicator hint */
    .brands-modern__grid::after {
        content: '';
        flex: 0 0 1px;
        height: 1px;
    }

    /* Keep header and footer padding */
    .brands-modern__header,
    .brands-modern__footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.brand-card-modern {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid rgba(13, 27, 42, 0.06);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.brand-card-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(253, 185, 19, 0.05) 0%,
            rgba(13, 27, 42, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.brand-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 27, 42, 0.08);
    border-color: rgba(253, 185, 19, 0.2);
}

.brand-card-modern:hover::before {
    opacity: 1;
}

.brand-card-modern__shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.brand-card-modern:hover .brand-card-modern__shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.brand-card-modern img {
    max-width: 75%;
    max-height: 48px;
    height: auto;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transition: all 0.35s ease;
    filter: grayscale(20%) opacity(0.85);
}

.brand-card-modern:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

.brand-card-modern__name {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--color-dark);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.brand-card-modern:hover .brand-card-modern__name {
    color: var(--color-primary);
    transform: scale(1.05);
}

/* Individual brand card styles for variety */
.brand-card-modern[data-brand="puma"]:hover {
    border-color: rgba(13, 27, 42, 0.15);
}

.brand-card-modern[data-brand="adidas"]:hover {
    border-color: rgba(13, 27, 42, 0.15);
}

.brand-card-modern[data-brand="helly"]:hover {
    border-color: rgba(0, 114, 188, 0.2);
}

.brand-card-modern[data-brand="northface"]:hover {
    border-color: rgba(13, 27, 42, 0.15);
}

.brand-card-modern[data-brand="stanley"]:hover {
    border-color: rgba(24, 91, 62, 0.2);
}

.brand-card-modern[data-brand="cotopaxi"]:hover {
    border-color: rgba(253, 185, 19, 0.3);
}

.brands-modern__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(13, 27, 42, 0.08);
    position: relative;
    z-index: 1;
}

.brands-modern__footer .button-secondary {
    white-space: nowrap;
    margin-bottom: 0.5rem;
}

.brands-modern__footer p {
    font-family: var(--font-menu);
    margin: 0;
    font-size: 0.75rem;
    color: var(--color-muted);
    font-weight: 400;
    text-align: center;
    opacity: 0.7;
    line-height: 1.4;
}

/* Legacy support - hide old styles if they exist */
.brand-row {
    display: none;
}

.brand-card {
    display: none;
}

.newsletter {
    display: grid;
    gap: 1.5rem;
    background: linear-gradient(140deg, #fcb918 0%, #e6a815 100%);
    padding: clamp(2.5rem, 4vw, 3.5rem);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(252, 185, 24, 0.25);
}

.newsletter .button {
    background: var(--color-dark);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(34, 41, 87, 0.3);
}

.newsletter .button:hover {
    background: #1a237e;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 41, 87, 0.4);
}

.newsletter .button::after {
    background: rgba(255, 255, 255, 0.2);
}

.newsletter p {
    font-family: var(--font-menu);
}

.newsletter form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.newsletter input[type="email"] {
    font-family: var(--font-menu);
    flex: 1 1 260px;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
}

/* Products Page */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group label {
    font-weight: 600;
    color: var(--color-muted);
}

.filter-group select,
.filter-group input[type="range"],
.filter-group input[type="search"] {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    min-width: 180px;
    background: var(--color-white);
}

.filter-group input[type="search"] {
    min-width: 220px;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: grid;
    gap: 1.25rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-card .product-content {
    padding: 0 1.5rem 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.product-card h3 {
    margin: 0;
    font-size: 1.15rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.tag {
    display: inline-flex;
    background: rgba(13, 27, 42, 0.06);
    color: var(--color-primary);
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

/* Catalogs */
.catalog-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.catalog-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    display: grid;
    gap: 0.85rem;
}

.catalog-meta {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.catalog-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Services */
.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* 3x2 Grid for "What You'll Discover" section */
.discover-grid-3x2 {
    grid-template-columns: repeat(3, 1fr) !important;
}

@media (max-width: 1023px) {
    .discover-grid-3x2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .discover-grid-3x2 {
        grid-template-columns: 1fr !important;
    }
}

.service-card {
    padding: 2rem;
    display: grid;
    gap: 1rem;
}

.service-card img {
    border-radius: var(--radius-sm);
    height: 200px;
    object-fit: cover;
}

/* About */
@media (min-width: 768px) {
    .sticky-content {
        position: sticky;
        top: calc(var(--header-height, 90px) + 2rem);
        align-self: start;
    }
}

.timeline {
    display: grid;
    gap: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.6rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-primary);
}

.testimonial-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.testimonial-card p {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-card strong {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.contact-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

/* New Contact Page Styles */
.contact-details-list {
    display: flex !important;
    flex-direction: column;
    gap: 2rem !important;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-details-list .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(252, 185, 24, 0.15);
    color: var(--color-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details-list .icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.contact-details-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--color-heading);
    font-size: 1.125rem;
}

.section-map {
    width: 100%;
    line-height: 0;
}


.contact-form-iframe {
    width: 100%;
    border: none;
    display: block;
    min-height: 600px;
}

@media (max-width: 768px) {
    .contact-form-iframe {
        min-height: 500px;
    }
}

form {
    display: grid;
    gap: 1rem;
}

form label {
    font-weight: 600;
}

form input,
form textarea,
form select {
    font-family: var(--font-menu);
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 1rem;
    resize: vertical;
}

form textarea {
    min-height: 140px;
}

/* Form groups and styling */
.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
}

.form-group .required {
    color: #e74c3c;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(252, 185, 24, 0.1);
}

/* Form messages */
.form-messages {
    margin-bottom: 1.5rem;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    line-height: 1.6;
}

.form-message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Submit button loading state */
button[data-submit-btn]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    min-height: 320px;
}

/* Pay invoice */
.pay-wrapper {
    display: grid;
    gap: 1.5rem;
    background: var(--color-white);
    padding: clamp(2rem, 3vw, 2.75rem);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.pay-wrapper--centered {
    max-width: 600px;
    margin: 0 auto;
}

.pay-card {
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.pay-icon {
    width: clamp(64px, 12vw, 80px);
    height: clamp(64px, 12vw, 80px);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(252, 185, 24, 0.15), rgba(252, 185, 24, 0.08));
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.pay-icon svg {
    width: clamp(32px, 6vw, 40px);
    height: clamp(32px, 6vw, 40px);
    color: var(--color-primary);
}

.pay-card:hover .pay-icon {
    background: linear-gradient(135deg, var(--color-primary), #ffcd4d);
    transform: scale(1.05);
}

.pay-card:hover .pay-icon svg {
    color: var(--color-dark);
}

.pay-title {
    margin: 0 0 1rem;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--color-dark);
    font-weight: 600;
}

.pay-description {
    margin: 0 0 2rem;
    color: var(--color-muted);
    font-size: clamp(0.9375rem, 2vw, 1.05rem);
    line-height: 1.6;
}

.pay-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pay-button {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    width: 100%;
    justify-content: center;
}

.pay-contact {
    color: var(--color-muted);
    font-size: clamp(0.875rem, 2vw, 0.9rem);
    margin: 2rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
}

.pay-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.pay-link:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

.pay-wrapper .note {
    background: rgba(253, 185, 19, 0.12);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--color-primary);
    color: var(--color-dark);
    font-weight: 600;
}

/* Footer */
.site-footer {
    font-family: var(--font-menu);
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-grid nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-grid nav a,
.footer-grid nav span {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
    line-height: 1.8;
    display: block;
}

.footer-grid nav a:hover {
    color: var(--color-primary);
}

.footer-grid strong {
    display: block;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-main-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-main-column p {
    line-height: 1.7;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive footer layout */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-logo {
    display: inline-block;
    width: fit-content;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(252, 185, 24, 0.15), rgba(252, 185, 24, 0.08));
    border-radius: 12px;
    border: 2px solid rgba(252, 185, 24, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.footer-logo:hover {
    background: linear-gradient(135deg, rgba(252, 185, 24, 0.25), rgba(252, 185, 24, 0.15));
    border-color: rgba(252, 185, 24, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(252, 185, 24, 0.2);
}

.footer-logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.1) drop-shadow(0 2px 8px rgba(252, 185, 24, 0.3));
    transition: filter 0.3s ease;
}

.footer-logo:hover img {
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(252, 185, 24, 0.5));
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

/* Social Links Modern Hover Effects */
.social-links a {
    transition: all 0.25s ease !important;
}

.social-links a:hover {
    background: rgba(252, 185, 24, 0.2) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(252, 185, 24, 0.3) !important;
}

.social-links a:active {
    transform: translateY(0) scale(0.98) !important;
}

.footer-bottom {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--color-primary);
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(13, 27, 42, 0.85);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 2000;
}

.search-modal.active {
    visibility: visible;
    opacity: 1;
}

.search-panel {
    width: min(720px, 96vw);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.25rem;
    display: grid;
    gap: 1.5rem;
}

.search-panel header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-panel input[type="search"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    font-size: 1rem;
}

.search-results {
    display: grid;
    gap: 1rem;
    max-height: 320px;
    overflow-y: auto;
}

.search-result {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    background: rgba(13, 27, 42, 0.05);
    border: 1px solid transparent;
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.search-result:hover {
    background: rgba(13, 27, 42, 0.06);
    border-color: rgba(13, 27, 42, 0.2);
}

/* Utility */
.split {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.highlight {
    color: var(--color-primary);
}

.hidden {
    display: none !important;
}

@media (max-width: 960px) {
    .site-header .container {
        padding: 0.75rem 0;
    }

    .site-nav {
        position: fixed;
        top: calc(var(--header-height) + 16px);
        right: 16px;
        bottom: auto;
        left: 16px;
        background: #0a1128;
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity var(--transition), transform var(--transition);
        z-index: 999;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.nav-open .site-nav {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .nav-actions {
        position: absolute;
        right: 60px;
    }

    .nav-toggle {
        display: inline-flex;
        position: absolute;
        right: 0;
    }

    .site-nav a::after {
        display: none;
    }
}

/* Global responsive container max-width tiers */
@media (min-width: 1024px) {
    .container {
        width: min(1200px, 90vw);
    }
}

@media (min-width: 1280px) {
    .container {
        width: min(1280px, 88vw);
    }
}

@media (min-width: 1536px) {
    .container {
        width: min(1400px, 84vw);
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-metrics {
        gap: 1rem;
    }

    .newsletter form {
        flex-direction: column;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select,
    .filter-group input[type="search"],
    .filter-group input[type="range"] {
        width: 100%;
    }

    .search-panel {
        padding: 1.75rem;
    }

    .search-panel header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-panel header button {
        width: 100%;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.modal-open {
    overflow: hidden;
}

/* Services page */
.services-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark) 0%, #0d1021 100%);
    color: var(--color-white);
    padding: clamp(4.5rem, 6vw, 6.75rem) 0 clamp(3rem, 5vw, 5.5rem);
}

.services-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(252, 185, 24, 0.15), transparent 70%);
    top: -200px;
    right: -100px;
    z-index: 0;
    pointer-events: none;
}

.services-hero::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, rgba(252, 185, 24, 0.1), transparent 70%);
    bottom: -100px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

.services-hero>.container {
    position: relative;
    z-index: 1;
}

.services-hero>.container:first-of-type {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.services-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    max-width: 100%;
    width: 100%;
}

.services-hero__content h1 {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0.5rem 0;
    max-width: 24ch;
}

.services-hero__eyebrow {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    color: rgba(253, 185, 19, 0.9);
}

.services-hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.services-hero__panel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: grid;
    gap: 1.25rem;
}

.services-hero__panel h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    color: var(--color-white);
}

.services-hero__panel p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.services-hero__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
}

.services-hero__list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.services-hero__list li::before {
    content: '•';
    color: var(--color-accent);
    font-size: 1.35rem;
    line-height: 1;
}

.services-hero__panel-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.services-hero__panel-metrics strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.services-hero__panel-metrics span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.services-hero__logos {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 720px) {
    .services-hero__logos {
        grid-template-columns: auto 1fr;
        align-items: center;
    }
}

.services-hero__logos span {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.services-hero__logos-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.services-hero__logos-list li {
    background: rgba(255, 255, 255, 0.15);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 500;
}

.stat-cards,
.feature-tiles,
.support-grid,
.security-grid {
    display: grid;
    gap: 1.5rem;
}

.stat-cards {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    color: var(--color-dark);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.service-card__icon {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(252, 185, 24, 0.1);
    border-radius: 50%;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-card:hover .service-card__icon {
    background: var(--color-primary);
    color: var(--color-dark);
}

.service-card strong {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.feature-tiles {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-tile {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: grid;
    gap: 0.85rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid transparent;
}

.feature-tile--accent {
    border-top-color: var(--color-accent);
}

.feature-tile h3 {
    margin: 0;
    font-size: 1.15rem;
}

.feature-tile p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.services-platform {
    background: var(--color-light);
}

.services-platform__grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .services-platform__grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

.platform-intro {
    display: grid;
    gap: 1.5rem;
}

.accordion-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
}

.accordion-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.5rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.25rem;
    align-items: start;
}

.accordion-item h3 {
    margin: 0;
    font-size: 1.05rem;
}

.accordion-item p {
    margin: 0.35rem 0 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.accordion-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(13, 27, 42, 0.06);
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.services-platform__media {
    background: linear-gradient(140deg, rgba(253, 185, 19, 0.35), rgba(13, 27, 42, 0.2));
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: grid;
    gap: 1.5rem;
}

.services-platform__media::after {
    content: '';
    position: absolute;
    inset: 12%;
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(13, 27, 42, 0.18);
    pointer-events: none;
}

.services-platform__media>* {
    position: relative;
    z-index: 1;
}

.services-platform__media img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.services-platform__media-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: grid;
    gap: 0.75rem;
    box-shadow: var(--shadow-sm);
}

.services-platform__media-card strong {
    font-size: 1.9rem;
    color: var(--color-primary);
}

.services-roi-band {
    background: var(--color-dark);
    color: var(--color-white);
    padding: clamp(3rem, 4vw, 3.75rem) 0;
}

.services-roi-band .container {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

@media (min-width: 720px) {
    .services-roi-band .container {
        grid-template-columns: 1fr auto;
    }
}

.services-roi-band p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.75);
}

.button-secondary--light {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.button-secondary--light:hover,
.button-secondary--light:focus {
    background-color: #ffffff;
    color: var(--color-dark);
    border-color: #ffffff;
}

.support-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.support-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: grid;
    gap: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.support-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(13, 27, 42, 0.08);
    color: var(--color-primary);
}

.support-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.support-card--sun .support-card__icon {
    background: rgba(253, 185, 19, 0.25);
    color: var(--color-dark);
}

.support-card--orchid .support-card__icon {
    background: rgba(13, 27, 42, 0.08);
    color: var(--color-dark);
}

.support-card--mint .support-card__icon {
    background: rgba(253, 185, 19, 0.2);
    color: var(--color-dark);
}

.support-card--coral .support-card__icon {
    background: rgba(13, 27, 42, 0.85);
    color: var(--color-white);
}

.security-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.security-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--color-primary);
    display: grid;
    gap: 0.85rem;
}

.security-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.services-final-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0D1B2A 0%, #1a2a3a 55%, var(--color-primary) 100%);
    color: var(--color-white);
    padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.services-final-cta::before,
.services-final-cta::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.18), transparent 70%);
    top: -140px;
    right: -120px;
}

.services-final-cta::after {
    top: auto;
    right: auto;
    bottom: -150px;
    left: -120px;
}

.services-final-cta .container {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .services-final-cta .container {
        grid-template-columns: 1.2fr auto;
        align-items: center;
    }
}

.services-final-cta p {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.82);
}

.services-final-cta__people {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.services-final-cta__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: grid;
    place-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-white);
}

.services-final-cta__avatar:nth-child(2) {
    background: rgba(253, 185, 19, 0.3);
    color: var(--color-dark);
}





.services-roi-band__actions,
.services-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 900px) {
    .services-final-cta__actions {
        justify-content: flex-end;
    }
}


















.newsletter .section-heading {
    color: var(--color-dark);
}

.services-roi-band .section-heading,
.services-final-cta .section-heading {
    color: var(--color-white);
}

/* Photo Category Cards */
.category-card-photo {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(34, 41, 87, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.category-card-photo:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(252, 185, 24, 0.25), 0 0 0 2px rgba(252, 185, 24, 0.15);
}

.category-card-photo__image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
}

/* Blurred background layer */
.category-card-photo__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(20px);
    transform: scale(1.1);
    opacity: 0.6;
    z-index: 1;
    transition: opacity 800ms ease-in-out;
}

.category-card-photo__image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    z-index: 2;
}

/* Ensure category carousel images have proper transition */
.category-card-photo__image img[data-category-img] {
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-photo:hover .category-card-photo__image img {
    transform: scale(1.08);
}

.category-card-photo__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(34, 41, 87, 0.4) 100%);
    opacity: 0.7;
    transition: opacity 0.4s ease;
    z-index: 3;
    pointer-events: none;
}

.category-card-photo:hover .category-card-photo__overlay {
    opacity: 0.5;
}

.category-card-photo__content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--color-white);
}

.category-card-photo__content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--color-dark);
    line-height: 1.2;
}

.category-card-photo__content p {
    font-family: var(--font-menu);
    margin: 0;
    color: var(--color-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

.category-card-photo__link {
    font-family: var(--font-menu);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-photo:hover .category-card-photo__link {
    gap: 0.75rem;
}

/* Responsive adjustments for photo cards */
@media (max-width: 768px) {
    .category-card-photo__image {
        height: 220px;
    }

    .category-card-photo__content {
        padding: 1.5rem;
    }
}

/* Clean Categories Section - Modern Minimal Design with Responsive Scaling */
.section--categories-clean {
    padding: clamp(5rem, 10vw, 8rem) 0;
    background: #ffffff;
}

.section--categories-clean .container-full {
    padding-left: clamp(1rem, 2vw, 2rem);
    padding-right: clamp(1rem, 2vw, 2rem);
}

.container-full {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
}

.categories-clean-header {
    text-align: center;
    margin-bottom: clamp(3.5rem, 6vw, 5rem);
}

.categories-clean-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 1.25rem;
    line-height: 1.1;
    overflow-wrap: anywhere;
    text-wrap: balance;
    letter-spacing: -0.02em;
}

.categories-clean-subtitle {
    font-family: var(--font-menu);
    font-size: clamp(1.125rem, 1.8vw, 1.35rem);
    color: #666;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

/* Desktop: Fully responsive grid that scales to screen edges */
.categories-clean-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 1.5vw, 2rem);
    width: 100%;
}

.category-clean-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: clamp(12px, 1.2vw, 16px);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.category-clean-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.category-clean-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: clamp(1rem, 2vw, 2rem);
}

.category-clean-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-clean-card:hover .category-clean-card__image img {
    transform: scale(1.08);
}

.category-clean-card__label {
    padding: clamp(1rem, 1.5vw, 2rem) clamp(0.75rem, 1vw, 1.5rem);
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.2vw, 1.35rem);
    font-weight: 600;
    color: var(--color-dark);
    background: #ffffff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    transition: color 0.3s ease;
}

.category-clean-card:hover .category-clean-card__label {
    color: var(--color-primary);
}

/* Tablet Layout: 3 columns */
@media (max-width: 1024px) {
    .categories-clean-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: clamp(1.25rem, 2vw, 1.75rem);
    }
}

/* Mobile Layout: Horizontal Swipeable Carousel */
@media (max-width: 768px) {
    .section--categories-clean {
        padding: clamp(3.5rem, 8vw, 5rem) 0;
    }

    .categories-clean-header {
        margin-bottom: clamp(2.5rem, 5vw, 3rem);
        padding: 0 1.5rem;
    }

    /* Mobile carousel wrapper */
    .section--categories-clean .container-full {
        padding: 0;
    }

    .categories-clean-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 1.25rem;
        padding: 0 calc(50vw - 140px) 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE/Edge */
    }

    /* Hide scrollbar for Chrome/Safari */
    .categories-clean-grid::-webkit-scrollbar {
        display: none;
    }

    .category-clean-card {
        flex: 0 0 280px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .category-clean-card__image {
        aspect-ratio: 1 / 1;
        padding: 1.5rem;
    }

    .category-clean-card__label {
        padding: 1.25rem 1rem;
        font-size: 1.05rem;
    }

    /* Add scroll indicator hint */
    .categories-clean-grid::after {
        content: '';
        flex: 0 0 1px;
        height: 1px;
    }
}

@media (max-width: 480px) {
    .category-clean-card {
        flex: 0 0 260px;
    }

    .categories-clean-grid {
        padding: 0 calc(50vw - 130px) 1.5rem;
    }

    .categories-clean-header {
        padding: 0 1rem;
    }
}

/* COMPREHENSIVE RESPONSIVE BREAKPOINTS - Mobile First Approach */

/* Extra Small: 320px - 374px */
@media (max-width: 374px) {
    html {
        font-size: 14px;
    }

    .section-heading {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
}

/* Small: 375px - 479px */
@media (max-width: 479px) {
    .hero-marquee__title {
        font-size: clamp(1.25rem, 8vw, 2rem);
    }

    .hero-marquee__description {
        font-size: 0.9375rem;
    }

    .category-grid-modern {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Medium: 480px - 640px */
@media (min-width: 480px) and (max-width: 640px) {
    .hero-marquee__title {
        font-size: clamp(1.5rem, 7vw, 2.25rem);
    }

    .category-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet: 641px - 1023px */
@media (min-width: 641px) and (max-width: 1023px) {
    .hero-marquee__title {
        font-size: clamp(1.75rem, 5vw, 2.75rem);
    }

    .category-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop: 1024px - 1279px */
@media (min-width: 1024px) and (max-width: 1279px) {
    .category-grid-modern {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop: 1280px+ */
@media (min-width: 1280px) {
    .category-grid-modern {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* UNIVERSAL MOBILE FIXES */
@media (max-width: 640px) {
    .section {
        padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    }

    .container,
    .container-wide,
    .why-choose-container {
        padding-left: clamp(1rem, 3vw, 1.5rem);
        padding-right: clamp(1rem, 3vw, 1.5rem);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .split {
        grid-template-columns: 1fr;
    }
}

.quick-category-label {
    font-size: 0.75rem;
}


/* Utility Classes */
.d-block {
    display: block;
}

.d-inline-block {
    display: inline-block;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.w-full {
    width: 100%;
}

.h-auto {
    height: auto;
}

.h-full {
    height: 100%;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-primary {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

.text-muted {
    color: var(--color-muted);
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.8);
}

.font-size-sm {
    font-size: 0.875rem;
}

.font-size-lg {
    font-size: 1.1rem;
}

.font-size-xl {
    font-size: 1.35rem;
}

.bg-transparent {
    background: transparent;
}

.bg-white-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.bg-dark-gradient {
    background: linear-gradient(135deg, #0D1B2A 0%, #1f2f42 100%);
}

.bg-light-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.bg-glass-dark {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bg-glass-light {
    background: rgba(255, 255, 255, 0.05);
}

.object-contain {
    object-fit: contain;
}

.object-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

.pointer-events-none {
    pointer-events: none;
}

.transition-base {
    transition: all 0.3s ease;
}

.border-top {
    border-top: 1px solid var(--color-border);
}

.border-none {
    border: none;
}

.border-radius-lg {
    border-radius: var(--radius-lg);
}

/* Component Specific Utilities */
.logo-img-lg {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.feature-icon-lg {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--color-primary);
}

.feature-icon-md {
    width: 28px;
    height: 28px;
}

.fw-600 {
    font-weight: 600;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.align-start {
    align-items: flex-start;
}

.opacity-85 {
    opacity: 0.85;
}

.lh-1-4 {
    line-height: 1.4;
}

.grid-responsive-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-responsive-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-responsive-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

.rounded-sm {
    border-radius: var(--radius-sm);
}

.pt-8 {
    padding-top: 2rem;
}

/* New Hero Section - Moved from index.html */
/* Fully Responsive from Mobile (320px) to 2K Monitors (2560px) */

.hero-split-modern {
    min-height: calc(100vh - var(--header-height, 90px));
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vh, 4rem) 0;
}

/* Hero Glow Effects - Removed */
.hero-glow {
    display: none !important;
}

.hero-split-modern__container {
    width: 100%;
    max-width: 1600px;
    /* Increased for 2K monitors */
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
    min-height: clamp(600px, 80vh, 900px);
}

.hero-split-modern__left {
    padding-right: clamp(1rem, 3vw, 3rem);
    position: relative;
    z-index: 10;
}

.hero-split-modern__eyebrow {
    font-family: var(--font-sans);
    font-size: clamp(0.875rem, 1vw, 1rem);
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: clamp(1rem, 2vh, 1.5rem);
    display: block;
}

.hero-split-modern__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.15;
    color: var(--color-dark);
    margin: 0 0 clamp(1rem, 2vh, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-split-modern__title .highlight {
    color: var(--color-primary);
}

.hero-split-modern__description {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    line-height: 1.7;
    color: var(--color-muted);
    margin: 0 0 clamp(2rem, 3vh, 2.5rem);
    max-width: 600px;
}

.hero-split-modern__buttons {
    display: flex;
    gap: clamp(0.75rem, 1.5vw, 1rem);
    flex-wrap: wrap;
    margin-bottom: clamp(2rem, 3vh, 3rem);
}

.hero-split-modern__buttons .button {
    padding: clamp(0.875rem, 1.2vw, 1.125rem) clamp(1.5rem, 2vw, 2.25rem);
    font-size: clamp(0.9375rem, 1vw, 1.0625rem);
    border-radius: 8px;
    white-space: nowrap;
}

.hero-split-modern__buttons .button-secondary {
    padding: clamp(0.875rem, 1.2vw, 1.125rem) clamp(1.5rem, 2vw, 2.25rem);
    font-size: clamp(0.9375rem, 1vw, 1.0625rem);
    border-radius: 8px;
    background: transparent;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
    white-space: nowrap;
}

.hero-split-modern__right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 4vh, 3rem) 0;
}

.hero-split-modern__image-container {
    position: relative;
    width: 100%;
    max-width: clamp(520px, 50vw, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-split-modern__circle {
    width: clamp(500px, 48vw, 760px);
    height: clamp(500px, 48vw, 760px);
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-rotator {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-rotator__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    will-change: opacity;
    pointer-events: none;
}

.hero-rotator__image.is-active {
    opacity: 1;
}

.hero-split-modern__circle .hero-rotator__image {
    object-fit: contain;
    padding: 0;
    box-sizing: border-box;
}

.hero-split-modern__mobile-rotator {
    display: none;
}


/* 2K Monitor Optimization (2560px and above) */
@media (min-width: 2560px) {
    .hero-split-modern__container {
        max-width: 1800px;
    }

    .hero-split-modern__title {
        font-size: 4.5rem;
    }

    .hero-split-modern__description {
        font-size: 1.35rem;
    }

    .hero-split-modern__circle {
        width: 840px;
        height: 840px;
    }

}

/* Large Desktop (1920px - 2559px) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .hero-split-modern__container {
        max-width: 1600px;
    }
}

/* Desktop (1440px - 1919px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .hero-split-modern__container {
        max-width: 1400px;
    }
}

/* Standard Desktop (1280px - 1439px) */
@media (min-width: 1280px) and (max-width: 1439px) {
    .hero-split-modern__container {
        max-width: 1200px;
    }
}

/* Small Desktop / Large Tablet (1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-split-modern__container {
        max-width: 1024px;
        gap: 3rem;
    }

    .hero-split-modern__circle {
        width: 520px;
        height: 520px;
    }

}

/* Tablet (768px - 1023px) - Background Image Layout */
@media (max-width: 1023px) {
    .hero-split-modern {
        background: var(--color-dark);
        min-height: calc(100vh - var(--header-height, 90px));
        padding: 0;
        position: relative;
        display: flex;
        align-items: stretch;
        overflow: hidden;
    }

    /* Mobile background rotator replaces static image */
    .hero-split-modern::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            radial-gradient(circle at 20% 30%, rgba(252, 185, 24, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(252, 185, 24, 0.1) 0%, transparent 50%),
            linear-gradient(135deg, rgba(34, 41, 87, 0.95) 0%, rgba(34, 41, 87, 0.98) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .hero-split-modern::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: 
            linear-gradient(180deg, rgba(34, 41, 87, 0.7) 0%, rgba(34, 41, 87, 0.85) 50%, rgba(34, 41, 87, 0.9) 100%),
            radial-gradient(ellipse at top left, rgba(252, 185, 24, 0.12) 0%, transparent 60%),
            radial-gradient(ellipse at bottom right, rgba(252, 185, 24, 0.08) 0%, transparent 60%);
        z-index: 2;
        pointer-events: none;
    }
    
    /* Hero glow effects removed */

    .hero-split-modern__container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 2rem 2rem 2.5rem;
        min-height: calc(100vh - var(--header-height, 90px));
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        z-index: 3;
    }

    .hero-split-modern__left {
        text-align: center;
        padding-right: 0;
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-split-modern__eyebrow {
        color: rgb(255, 255, 255);
        opacity: 0.95;
    }

    .hero-split-modern__title {
        color: rgb(255, 255, 255);
    }

    .hero-split-modern__title .highlight {
        color: var(--color-primary);
    }

    .hero-split-modern__description {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        color: rgba(255, 255, 255, 0.9);
    }

    .hero-split-modern__buttons {
        justify-content: center;
        margin-bottom: 2.5rem;
    }

    /* Mobile-specific image rotator layer */
    .hero-split-modern__mobile-rotator {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 1;
        overflow: hidden;
        pointer-events: none;
    }

    .hero-split-modern__mobile-rotator .hero-rotator__image {
        object-fit: cover;
    }

    /* Keep right container but hide circle */
    .hero-split-modern__right {
        display: block;
        padding: 0;
        order: 1;
    }

    .hero-split-modern__image-container {
        display: none;
    }

    .hero-split-modern__circle {
        display: none;
    }


    /* Fix Request Quote button visibility */
    .hero-split-modern__buttons .button-secondary {
        background: var(--color-white);
        border: 2px solid var(--color-white);
        color: var(--color-dark);
    }

    .hero-split-modern__buttons .button-secondary:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-2px);
    }
}

/* Mobile Large (640px - 767px) */
@media (max-width: 767px) {
    .hero-split-modern {
        min-height: calc(75vh - var(--header-height, 90px));
    }
    
    .hero-split-modern__container {
        padding: 1.75rem 1.5rem 2rem;
        min-height: calc(75vh - var(--header-height, 90px));
    }

    .hero-split-modern__title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-split-modern__description {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    .hero-split-modern__buttons {
        margin-bottom: 2rem;
    }

}

/* Mobile Medium (480px - 639px) */
@media (max-width: 639px) {
    .hero-split-modern {
        min-height: calc(75vh - var(--header-height, 90px));
    }
    
    .hero-split-modern__container {
        padding: 1.5rem 1.25rem 1.75rem;
        min-height: calc(75vh - var(--header-height, 90px));
    }

    .hero-split-modern__eyebrow {
        font-size: 0.8125rem;
        margin-bottom: 0.75rem;
    }

    .hero-split-modern__title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-split-modern__description {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .hero-split-modern__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 0.75rem;
        margin-bottom: 1.75rem;
    }

    .hero-split-modern__buttons .button,
    .hero-split-modern__buttons .button-secondary {
        width: 100%;
        padding: 0.9375rem 1.5rem;
        font-size: 0.9375rem;
    }

}

/* Mobile Small (375px - 479px) */
@media (max-width: 479px) {
    .hero-split-modern {
        min-height: calc(75vh - var(--header-height, 90px));
    }
    
    .hero-split-modern__container {
        padding: 1.25rem 1rem 1.5rem;
        min-height: calc(75vh - var(--header-height, 90px));
    }

    .hero-split-modern__eyebrow {
        font-size: 0.75rem;
        margin-bottom: 0.625rem;
    }

    .hero-split-modern__title {
        font-size: 1.625rem;
        margin-bottom: 0.625rem;
    }

    .hero-split-modern__description {
        font-size: 0.8125rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-split-modern__buttons {
        max-width: 340px;
        margin-bottom: 1.5rem;
    }

}

/* Mobile Extra Small (320px - 374px) */
@media (max-width: 374px) {
    .hero-split-modern {
        min-height: calc(75vh - var(--header-height, 90px));
    }
    
    .hero-split-modern__container {
        padding: 1rem 0.875rem 1.25rem;
        min-height: calc(75vh - var(--header-height, 90px));
    }

    .hero-split-modern__title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-split-modern__description {
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }

    .hero-split-modern__buttons {
        max-width: 280px;
        margin-bottom: 1.25rem;
    }

    .hero-split-modern__buttons .button,
    .hero-split-modern__buttons .button-secondary {
        padding: 0.8125rem 1.25rem;
        font-size: 0.875rem;
    }

}

/* Landscape Mode Optimization for Mobile/Tablet */
@media (max-height: 600px) and (orientation: landscape) {

    .hero-split-modern::before,
    .hero-split-modern::after {
        display: block;
    }

    .hero-split-modern__container {
        min-height: 80vh;
        padding: 1.5rem 1.25rem;
    }

    .hero-split-modern__buttons {
        margin-bottom: 1.5rem;
    }

}

/* Header visibility on mobile hero background */
@media (max-width: 1023px) {
    .site-header {
        position: relative;
        z-index: 100;
        background: rgba(10, 17, 40, 0.95);
    }

    .site-header .logo img {
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    }

    .button-header-contact {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        border: 1px solid var(--color-primary);
        color: var(--color-primary);
    }

    .button-header-contact:hover {
        background: var(--color-primary);
        color: #0a1128;
    }

    .nav-toggle {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .nav-toggle:hover {
        background: #ffffff;
        color: var(--color-primary);
    }
}

/* Sleek Fade-In Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Initial hidden state for hero elements - High specificity to prevent flash */
html body .hero-split-modern .hero-split-modern__eyebrow,
html body .hero-split-modern .hero-split-modern__title,
html body .hero-split-modern .hero-split-modern__description,
html body .hero-split-modern .hero-split-modern__buttons,
html body .hero-split-modern .hero-split-modern__image-container {
    opacity: 0;
}

/* First active hero image - will be animated via JavaScript */
html body .hero-rotator__image.is-active.animate-on-load {
    opacity: 0;
}

/* Animation classes with sleek easing */
.animate-fade-in-up {
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.animate-fade-in {
    animation: fadeIn 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    .hero-split-modern__eyebrow,
    .hero-split-modern__title,
    .hero-split-modern__description,
    .hero-split-modern__buttons,
    .hero-split-modern__image-container,
    .hero-rotator__image.is-active.animate-on-load {
        opacity: 1;
        animation: none;
    }
}

/* Scroll-triggered fade-in animations */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements */
.fade-in-on-scroll-child {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-on-scroll-child.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion for scroll animations */
@media (prefers-reduced-motion: reduce) {
    .fade-in-on-scroll,
    .fade-in-on-scroll-child {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Products Quick Category Grid */  .quick-category-grid  {
          display:  grid;
          grid-template-columns:  repeat(auto-fill,  minmax(160px,  1fr));
          gap:  2rem;
          margin-top:  2rem;
          margin-bottom:  3rem;
      
}

    .quick-category-item  {
          display:  flex;
          flex-direction:  column;
          align-items:  center;
          text-align:  center;
          text-decoration:  none;
          color:  var(--color-dark);
          transition:  var(--transition);
          padding:  1rem;
          border-radius:  var(--radius-md);
      
}

    .quick-category-item:hover  {
          background:  rgba(255,  255,  255,  0.5);
          transform:  translateY(-4px);
      
}

    .quick-category-square  {
          width:  80px;
          height:  80px;
          display:  flex;
          align-items:  center;
          justify-content:  center;
          background:  rgba(252,  185,  24,  0.1);
          border-radius:  20px;
          margin-bottom:  1rem;
          color:  var(--color-primary);
          transition:  var(--transition);
          border:  1px solid rgba(252,  185,  24,  0.2);
      
}

    .quick-category-item:hover .quick-category-square  {
          background:  var(--color-primary);
          color:  var(--color-dark);
          box-shadow:  var(--shadow-md);
          border-color:  var(--color-primary);
          transform:  scale(1.05);
      
}

    .quick-category-label  {
          font-weight:  600;
          font-size:  1rem;
          color:  var(--color-dark);
          transition:  var(--transition);
      
}

    .quick-category-item:hover .quick-category-label  {
          color:  var(--color-primary);
      
}

/* Redesign Services Page Styles */

/* Hero Section */
.services-hero-redesign {
    padding: 6rem 1.5rem;
    background-color: #ffffff;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.services-hero-redesign .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Small accent circle on desktop */
@media (min-width: 769px) {
    .services-hero-redesign.video-hero .hero-content::before {
        content: '';
        position: absolute;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(252, 185, 24, 0.12) 0%, rgba(252, 185, 24, 0.04) 50%, transparent 70%);
        border-radius: 50%;
        bottom: 10%;
        right: 15%;
        animation: float 16s ease-in-out infinite 6s;
        z-index: -1;
    }
}

.services-hero-redesign h1,
.hero-title-rotator {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--color-dark);
}

/* Text Rotator Styles */
.hero-title-rotator {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.25em; /* Slightly tighter gap */
    width: 100%;
}

.rotating-words {
    position: relative;
    display: inline-flex;
    justify-content: flex-start; /* Align text to the left next to "Your" */
    width: auto;
    height: 1.1em; /* Match line-height to prevent layout shift */
    color: var(--color-primary);
    vertical-align: bottom;
    transition: width 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.rotating-word {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1.1;
}

.rotating-word.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.rotating-word.fade-out {
    position: absolute;
    opacity: 0;
    transform: translateY(-20px);
}

.services-hero-redesign .hero-subheadline {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.button-contrast {
    background-color: var(--color-primary) !important;
    color: var(--color-dark) !important;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 0 2px 8px rgba(252, 185, 24, 0.25);
}

.button-contrast:hover,
.button-contrast:focus {
    background-color: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(252, 185, 24, 0.4);
}

.button-contrast::after {
    display: none;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-white);
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item strong {
    font-size: 2rem;
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.stat-item span {
    font-size: 0.875rem;
    color: var(--color-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Service Pillars */
.service-pillars {
    background-color: var(--color-white);
    padding: 6rem 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    transition: transform var(--transition);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.pillar-icon {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    padding: 1rem;
    background: rgba(252, 185, 24, 0.1);
    border-radius: 12px;
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    font-weight: 700;
}

.pillar-card p {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background-color: #f9fafb;
}

.process-steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

@media (max-width: 768px) {
    .process-steps-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-steps-container::before {
        display: none;
    }
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
    background: transparent;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 8px #f9fafb;
}

.process-step h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    font-weight: 600;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.5;
}

/* Connecting line for desktop */
@media (min-width: 769px) {
    .process-steps-container::before {
        content: '';
        position: absolute;
        top: 24px;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background-color: #e2e8f0;
        z-index: 1;
    }
}

/* Final CTA */
.final-cta-redesign {
    padding: 8rem 0;
    background-color: var(--color-white);
    text-align: center;
}

.final-cta-redesign h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
    color: var(--color-dark);
}

/* Contact Hero (Dark Static Background) */
.services-hero-redesign.contact-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-color: var(--color-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    background-image: radial-gradient(#ffffff 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.services-hero-redesign.contact-hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.services-hero-redesign.contact-hero h1 {
    color: #ffffff;
}

.services-hero-redesign.contact-hero .hero-subheadline {
    color: rgba(255, 255, 255, 0.85);
}

/* Services Video Hero Additions */
.services-hero-redesign.video-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background-color: transparent; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.services-hero-redesign.video-hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.services-hero-redesign.video-hero .hero-subheadline {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Stats within Hero */
.hero-stats {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.hero-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stats .stat-item strong {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-item span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.services-hero-redesign .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Additional floating circles on desktop */
@media (min-width: 769px) {
    .services-hero-redesign.video-hero .container::before {
        content: '';
        position: absolute;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(252, 185, 24, 0.1) 0%, rgba(252, 185, 24, 0.03) 50%, transparent 70%);
        border-radius: 50%;
        top: 50%;
        right: -50px;
        animation: float 18s ease-in-out infinite 2s;
        z-index: -1;
    }
    
    .services-hero-redesign.video-hero .container::after {
        content: '';
        position: absolute;
        width: 350px;
        height: 350px;
        background: radial-gradient(circle, rgba(34, 41, 87, 0.08) 0%, rgba(34, 41, 87, 0.02) 50%, transparent 70%);
        border-radius: 50%;
        top: 20%;
        left: -80px;
        animation: float 22s ease-in-out infinite 4s;
        z-index: -1;
    }
}

/* Desktop: White background with floating circles */
@media (min-width: 769px) {
    .services-hero-redesign.video-hero {
        background-color: #ffffff;
        color: var(--color-dark);
    }
    
    .video-background {
        display: none;
    }
    
    /* Floating circles background */
    .services-hero-redesign.video-hero::before {
        content: '';
        position: absolute;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(252, 185, 24, 0.15) 0%, rgba(252, 185, 24, 0.05) 50%, transparent 70%);
        border-radius: 50%;
        top: -100px;
        right: 10%;
        animation: float 20s ease-in-out infinite;
        z-index: 0;
    }
    
    .services-hero-redesign.video-hero::after {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(34, 41, 87, 0.12) 0%, rgba(34, 41, 87, 0.04) 50%, transparent 70%);
        border-radius: 50%;
        bottom: -50px;
        left: 5%;
        animation: float 15s ease-in-out infinite reverse;
        z-index: 0;
    }
    
    .services-hero-redesign.video-hero h1 {
        color: var(--color-dark);
        text-shadow: none;
    }
    
    .services-hero-redesign.video-hero .hero-subheadline {
        color: var(--color-muted);
        text-shadow: none;
    }
    
    .hero-stats {
        border-top: 1px solid rgba(34, 41, 87, 0.1);
    }
    
    .hero-stats .stat-item strong {
        color: var(--color-dark);
        text-shadow: none;
    }
    
    .hero-stats .stat-item span {
        color: var(--color-muted);
    }
}

/* Floating animation */
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(40px, 10px) scale(1.02);
    }
}

@media (max-width: 768px) {
    .hero-stats {
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        gap: 1.5rem;
    }
}

/* Mobile: Force 2-column grid for All Products section */
@media (max-width: 640px) {
    .quick-category-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

  /* Responsive Catalog Wrapper */
.responsive-catalog-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 550px; /* Default height to prevent collapse before load */
}

.responsive-catalog-wrapper iframe {
    width: 100% !important;
    max-width: 100%;
    border: none;
}

@media (max-width: 768px) {
    .responsive-catalog-wrapper {
        /* On mobile, we might want to let the height adjust if the iframe does, 
           but since it's fixed 550px by script, we ensure container fits it. */
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

