/* === Open Technologies — Premium Base Styles (global, loaded on every page) === */

/* ---------- Custom Properties now in main.css ---------- */

/* ==========================================================================
   1. DEPTH & SHADOWS — All cards get box-shadow + hover lift
   ========================================================================== */

/* Category cards */
.category-card {
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Method cards */
.method-card {
    box-shadow: var(--shadow-sm);
}

/* Blog cards */
.blog-card {
    box-shadow: var(--shadow-sm);
}

/* Contact info card */
.contact-info__card {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Testimonial card */
.testimonial-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Sitodruk table wrap */
.sitodruk-table-wrap {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   2. SECTION BACKGROUNDS — Off-white, subtle separators, warm tones
   ========================================================================== */

/* Cream sections — alternating warm tones */
.categories-section,
.methods-section,
.blog-section,
.contact-section {
    background-color: var(--bg-secondary);
}

/* Subtle radial warmth on cream */
.categories-section {
    background: radial-gradient(ellipse at 50% 0%, rgba(232, 197, 71, 0.04) 0%, var(--bg-secondary) 70%);
}
.methods-section {
    background: radial-gradient(ellipse at 50% 100%, rgba(232, 197, 71, 0.04) 0%, var(--bg-primary) 70%);
}
.contact-section {
    background: radial-gradient(ellipse at 30% 50%, rgba(232, 197, 71, 0.03) 0%, var(--bg-secondary) 60%);
}

/* Process section — cream primary */
.process-section {
    background-color: var(--bg-primary);
}

/* Testimonials — darker cream */
.testimonials-section {
    background-color: var(--bg-secondary);
}

/* Clients — cream primary */
.clients-section {
    background-color: var(--bg-primary);
}

/* Section separators — alternate gold and red */
.categories-section,
.sitodruk-section,
.methods-section,
.clients-section,
.blog-section {
    position: relative;
}
.categories-section::after,
.sitodruk-section::after,
.methods-section::after,
.clients-section::after,
.blog-section::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    pointer-events: none;
}
/* Gold separators */
.categories-section::after,
.methods-section::after,
.blog-section::after {
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
/* Gold separators (sitodruk + clients) */
.sitodruk-section::after,
.clients-section::after {
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

/* Sitodruk section — warm cream gradient */
.sitodruk-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Clients section — handled by .clients-section rule below */

/* ==========================================================================
   3. GOLD ACCENTS — Title underlines, links, icons, badges
   ========================================================================== */

/* Section title underlines: wider (60→100px), thicker (3→4px) */
.section-header__title::after {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-500), var(--color-gold));
    border-radius: 2px;
}

/* Sitodruk title underline — gold */
.sitodruk-section .section-header__title::after {
    background: linear-gradient(90deg, var(--gold-500), var(--gold-600));
}
/* CTA title underline — red */
.cta-section .section-header__title::after {
    background: linear-gradient(90deg, var(--red-500, #C41E3A), var(--red-600, #A01830));
}

/* "ZAPYTAJ O WYCENĘ →" links — gold accent */
.method-card__link {
    color: var(--gold-500);
    transition: color 0.3s ease, transform 0.3s ease;
}
.method-card__link:hover {
    color: var(--gold-400);
}

/* Sitodruk note link — gold */
.sitodruk-note a {
    color: var(--gold-500);
}
.sitodruk-note a:hover {
    color: var(--gold-400);
}

/* Icon circles in "Metody zdobienia" — gold background circle */
.method-card__icon {
    background: rgba(232, 197, 71, 0.1);
    border-radius: 50%;
    padding: 14px;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}
.method-card__icon svg {
    width: 40px;
    height: 40px;
}
.method-card:hover .method-card__icon {
    background: rgba(232, 197, 71, 0.2);
    color: var(--gold-500);
}

/* Badges (OD 30 SZT., PREMIUM, FULL-COLOR) — pill-shaped, gold bg */
.method-card__tag {
    background: rgba(232, 197, 71, 0.18);
    color: var(--gold-600);
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   4. TYPOGRAPHY ENHANCEMENT
   ========================================================================== */

/* Section headings — larger, tighter tracking */
.section-header__title {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

/* Section subtitles — darker, constrained */
.section-header__subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero stats — ensure gold and size */
.hero__stat-num {
    font-size: 3.5rem;
    color: var(--gold-500);
}

/* ==========================================================================
   5. CATEGORY CARDS — Icon-based cards (photo styles removed)
   ========================================================================== */

/* (Photo-card overlay/img/zoom styles removed — now using icon cards)
   See "ANIMATED CATEGORY ICONS" section below for current styles. */

/* ==========================================================================
   6. DECORATION METHODS — Gold left border → red on hover
   ========================================================================== */

.method-card {
    border-left-color: var(--gold-500);
    transition: all 0.4s ease, border-left-color 0.3s ease;
}
.method-card:hover {
    border-left-color: var(--accent-danger);
}

/* ==========================================================================
   7. PRICING SECTION — Borders, zebra striping, gold header accent
   ========================================================================== */

/* Sitodruk table — zebra striping */
.sitodruk-table tbody tr:nth-child(even) td {
    background: rgba(0, 0, 0, 0.02);
}

/* Sitodruk hover highlight — stronger gold tint */
.sitodruk-table tbody tr:hover td {
    background-color: rgba(232, 197, 71, 0.08);
}

/* Sitodruk header — gold bottom accent */
.sitodruk-table th {
    border-bottom: 3px solid var(--gold-500);
}

/* ==========================================================================
   8. CONTACT SECTION — Rounded inputs, gold focus, gradient submit
   ========================================================================== */

/* Form inputs — gold border on focus with subtle shadow */
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: var(--gold-500);
    box-shadow: 0 2px 0 0 var(--gold-500);
}

/* "WYŚLIJ WIADOMOŚĆ" button — gold/red gradient */
.contact-form__submit {
    background: linear-gradient(135deg, var(--accent-danger) 0%, var(--gold-500) 100%);
    border-color: transparent;
    color: #fff;
    transition: all 0.4s ease;
}
.contact-form__submit:hover {
    background: linear-gradient(135deg, var(--accent-danger-dark) 0%, var(--gold-600) 100%);
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(229, 57, 53, 0.35);
    transform: translateY(-3px) scale(1.02);
    color: #fff;
}

/* Contact info card — gold top accent */
.contact-info__card {
    border-top: 4px solid var(--gold-500);
}

/* ==========================================================================
   9. GLOBAL MICRO-INTERACTIONS
   ========================================================================== */

/* Buttons — subtle hover scale */
.btn:hover {
    transform: translateY(-3px) scale(1.02);
}
.btn:active {
    transform: translateY(-1px) scale(1);
}

/* Arrow links (→) shift right on hover */
.method-card__link:hover,
.blog-card__link:hover,
.sitodruk-note a:hover {
    letter-spacing: 0.06em;
}

/* Category card arrow — already shifts in main.css */

/* Blog read-more link — gold on hover */
.blog-card__link:hover {
    color: var(--gold-500);
}

/* ==========================================================================
   10. CTA SECTIONS — Larger buttons, glow on hover
   ========================================================================== */

.cta-section .btn {
    padding: 1.1rem 2.75rem;
}
.cta-section .btn--gold:hover {
    box-shadow: 0 0 30px rgba(232, 197, 71, 0.4), 0 8px 25px rgba(0, 0, 0, 0.25);
}
.cta-section .btn--outline:hover {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08), 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   STAGGERED GRID ANIMATIONS (used by scroll-animations.js)
   ========================================================================== */

.grid-animate {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.grid-animate.is-grid-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   HERO UPGRADE — Animated gradient, entrance animations, trust badges
   ========================================================================== */

/* --- Animated gradient background (light cycle, ~10s) --- */
.hero {
    background: linear-gradient(
        135deg,
        #FFFFFF 0%,
        #FAF8F5 25%,
        #FFFFFF 50%,
        #FAF8F5 75%,
        #FFFFFF 100%
    );
    background-size: 400% 400%;
    animation: heroGradientShift 10s ease infinite;
}

@keyframes heroGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- 4th floating shape --- */
.hero__shape--4 {
    width: 300px;
    height: 300px;
    top: 60%;
    right: 20%;
    opacity: 0.04;
    animation: heroFloat 18s ease-in-out infinite 3s;
}

/* Enhanced shape opacity for depth */
.hero__shape--1 { opacity: 0.08; }
.hero__shape--2 { opacity: 0.06; }
.hero__shape--3 { opacity: 0.09; }

/* --- Hero entrance keyframes --- */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroBounceUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    60% {
        opacity: 1;
        transform: translateY(-6px);
    }
    80% {
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero entrance sequence --- */
.hero-entrance {
    opacity: 0;
    animation-fill-mode: both;
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Badge: fades in first */
.hero-entrance--1 {
    animation-name: heroFadeUp;
    animation-delay: 0.3s;
}

/* Title line 1 */
.hero-entrance--2 {
    animation-name: heroFadeUp;
    animation-delay: 0.5s;
}

/* Title line 2 */
.hero-entrance--3 {
    animation-name: heroFadeUp;
    animation-delay: 0.7s;
}

/* Subtitle */
.hero-entrance--4 {
    animation-name: heroFadeUp;
    animation-delay: 0.9s;
}

/* CTA buttons — bounce up */
.hero-entrance--5 {
    animation-name: heroBounceUp;
    animation-delay: 1.1s;
    animation-duration: 0.8s;
}

/* Stats */
.hero-entrance--6 {
    animation-name: heroFadeUp;
    animation-delay: 1.3s;
}

/* Title lines — block display for staggered animation */
.hero__title-line {
    display: block;
}

/* --- Hero CTA buttons --- */
.btn--hero-primary {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    color: var(--color-dark);
    border: 2px solid transparent;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}
.btn--hero-primary:hover {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    box-shadow: 0 0 35px rgba(232, 197, 71, 0.5), 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.04);
    color: var(--color-dark);
}

.btn--hero-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(232, 197, 71, 0.6);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
}
.btn--hero-outline:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--color-dark);
    box-shadow: 0 0 25px rgba(232, 197, 71, 0.35), 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.04);
}

/* --- Stats labels — small caps, letter-spaced --- */
.hero__stat span {
    font-variant: small-caps;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.72rem;
    font-weight: 700;
}

/* ==========================================================================
   TRUST BADGES — Glassmorphism row overlapping hero bottom
   ========================================================================== */

.trust-badges {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding-bottom: 0;
}

.trust-badges__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    border-color: rgba(232, 197, 71, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.trust-badge__check {
    color: var(--gold-500);
    font-size: 1rem;
    font-weight: 800;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 168, 67, 0.12);
    border-radius: 50%;
    line-height: 1;
}

.trust-badge__text {
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   MEGA MENU — Full-width dropdowns for Produkty & Zdobienia
   ========================================================================== */

/* Positioning context for mega menus */
.header-main {
    position: relative;
}

.nav-menu__item--has-mega {
    position: static;
}

/* Base mega menu — centered dropdown below header */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-10px);
    width: 100%;
    max-width: 1100px;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease 0.15s, visibility 0.25s ease 0.15s, transform 0.25s ease 0.15s;
    z-index: 9999;
    pointer-events: none;
    padding-top: 0.5rem;
    border-top: none;
    box-shadow: none;
}
/* Bridge element to prevent gap between nav link and dropdown */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-menu__item--has-mega:hover > .mega-menu,
.nav-menu__item--has-mega.is-mega-open > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.mega-menu > .container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    padding: 2rem;
}

/* --- Products mega menu: 5-column grid --- */
.mega-menu__categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.25rem 1.5rem;
}

.mega-menu__cat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.25s ease;
    text-decoration: none;
}
.mega-menu__cat:hover {
    color: var(--gold-500);
    background: rgba(232, 197, 71, 0.06);
    padding-left: 1.25rem;
}

/* Gold dot before each category */
.mega-menu__cat::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-500);
    opacity: 0.3;
    flex-shrink: 0;
    transition: opacity 0.25s ease;
}
.mega-menu__cat:hover::before {
    opacity: 1;
}

/* --- Mega menu footer: "all products" + banner --- */
.mega-menu__footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-menu__all-link {
    color: var(--gold-500);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.25s ease;
}
.mega-menu__all-link:hover {
    color: var(--gold-400);
}

.mega-menu__banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.mega-menu__banner-badge {
    background: var(--red-500, #C41E3A);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.2rem 0.65rem;
    border-radius: 4px;
}
.mega-menu__banner-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.25s ease;
}
.mega-menu__banner-link:hover {
    color: var(--gold-500);
}

/* --- Methods mega menu: 6 cards in a row --- */
.mega-menu__methods {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.mega-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}
.mega-method:hover {
    border-bottom-color: var(--gold-500);
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-3px);
}

.mega-method__icon {
    width: 36px;
    height: 36px;
    color: var(--gold-500);
    margin-bottom: 0.75rem;
}
.mega-method__icon svg {
    width: 100%;
    height: 100%;
}

.mega-method__name {
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.mega-method__desc {
    color: var(--color-gray-500);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Zdobienia CTA link */
.mega-menu__cta-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: color 0.25s ease;
    display: block;
    text-align: center;
    width: 100%;
}
.mega-menu__cta-link:hover {
    color: var(--gold-500);
}
.mega-menu__cta-link strong {
    color: var(--gold-500);
    font-weight: 800;
}

/* ==========================================================================
   NAV ENHANCEMENTS — Active indicator, gold hover, mobile CTA
   ========================================================================== */

/* Hover color → gold (override main.css red) */
.nav-menu__item > a:hover,
.nav-menu__item.is-active > a {
    color: var(--gold-500);
}

/* Active page gold underline */
.nav-menu__item > a {
    position: relative;
}
.nav-menu__item.is-active > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background: var(--gold-500);
    border-radius: 1px;
}

/* Hover underline animation */
.nav-menu__item:not(.nav-menu__item--has-mega) > a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.7rem;
    right: 0.7rem;
    height: 2px;
    background: var(--gold-500);
    border-radius: 1px;
    animation: navUnderlineIn 0.25s ease-out both;
}
@keyframes navUnderlineIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Mobile nav CTA button */
.mobile-navigation__cta {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    width: 100%;
}

/* ==========================================================================
   REDUCED MOTION — Disable hero entrance animations
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero {
        animation: none;
    }
    .hero-entrance {
        opacity: 1;
        animation: none;
    }
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */

@media (max-width: 992px) {
    /* Hide desktop mega menus on mobile — mobile nav handles these */
    .mega-menu {
        display: none !important;
    }
    .section-header__title {
        font-size: 2.2rem;
    }
    .method-card__icon {
        width: 64px;
        height: 64px;
        padding: 12px;
    }
    .method-card__icon svg {
        width: 36px;
        height: 36px;
    }
    .trust-badges__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .btn--hero-primary,
    .btn--hero-outline {
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 768px) {
    .section-header__title {
        font-size: 2rem;
    }
    .hero__stat-num {
        font-size: 2.75rem;
    }
    .section-header__title::after {
        width: 80px;
    }
    /* Hide section separators on mobile */
    .categories-section::after,
    .sitodruk-section::after,
    .methods-section::after,
    .clients-section::after,
    .blog-section::after {
        display: none;
    }
    .trust-badges {
        margin-top: -30px;
    }
    .trust-badges__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .trust-badge {
        padding: 1rem 1.25rem;
    }
    /* Faster entrance animations on tablet */
    .hero-entrance {
        animation-duration: 0.5s;
    }
    .hero-entrance--1 { animation-delay: 0.2s; }
    .hero-entrance--2 { animation-delay: 0.35s; }
    .hero-entrance--3 { animation-delay: 0.5s; }
    .hero-entrance--4 { animation-delay: 0.65s; }
    .hero-entrance--5 { animation-delay: 0.8s; }
    .hero-entrance--6 { animation-delay: 0.95s; }
}

@media (max-width: 480px) {
    .section-header__title {
        font-size: 1.6rem;
    }
    .section-header__title::after {
        width: 60px;
        height: 3px;
    }
    .method-card__icon {
        width: 56px;
        height: 56px;
        padding: 10px;
    }
    .method-card__icon svg {
        width: 32px;
        height: 32px;
    }
    .cta-section .btn {
        padding: 0.85rem 1.75rem;
    }
    .trust-badges__grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .trust-badge {
        padding: 0.85rem 1rem;
        gap: 0.5rem;
    }
    .trust-badge__text {
        font-size: 0.78rem;
    }
    .trust-badge__check {
        width: 24px;
        height: 24px;
        font-size: 0.85rem;
    }
    .btn--hero-primary,
    .btn--hero-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   HERO STATS ENHANCED — Icons, 4-column layout, suffix support
   ========================================================================== */

.hero__stat-icon {
    color: var(--gold-500);
    margin-bottom: 0.35rem;
    opacity: 0.65;
    display: block;
}

/* Override flex to 4-column grid for hero stats */
.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* "h" suffix — keep as part of the number */
.hero__stat-num--suffix {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
    .hero__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        flex-direction: unset;
        gap: 1.5rem;
    }
}
@media (max-width: 480px) {
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 1rem;
    }
    .hero__stat-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ==========================================================================
   CLIENT LOGOS — Two-row CSS marquee, grayscale → color on hover
   ========================================================================== */

.clients-section {
    background-color: var(--bg-secondary);
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
}

.client-logos {
    overflow: hidden;
    padding: 0.5rem 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.client-logos__row {
    display: flex;
    gap: 1.5rem;
    white-space: nowrap;
    width: max-content;
}

.client-logos__row--left {
    animation: marqueeLeft 40s linear infinite;
}

.client-logos__row--right {
    animation: marqueeRight 40s linear infinite;
    margin-top: 1.5rem;
}

@keyframes marqueeLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 8px;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.5s ease;
}

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

.client-logo img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

.client-logo__text {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-gray-500);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.5s ease;
}

.client-logo:hover .client-logo__text {
    color: var(--gold-500);
}

/* Pause on hover */
.client-logos:hover .client-logos__row {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .client-logos__row--left,
    .client-logos__row--right {
        animation: none;
    }
}

@media (max-width: 768px) {
    .client-logo {
        width: 140px;
        height: 60px;
    }
    .client-logos__row {
        gap: 1rem;
    }
}

/* ==========================================================================
   TESTIMONIALS V2 — Glass cards with gold quote marks
   ========================================================================== */

.testimonials-section {
    background-color: var(--bg-primary);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card-v2 {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem 2rem;
    transition: all 0.4s ease;
    margin: 0;
    overflow: hidden;
}

.testimonial-card-v2:hover {
    transform: translateY(-6px);
    border-color: rgba(218, 165, 32, 0.2);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-card-v2__quote-mark {
    position: absolute;
    top: 12px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 1;
    color: var(--gold-500);
    opacity: 0.3;
    pointer-events: none;
}

.testimonial-card-v2__stars {
    color: var(--gold-500);
    font-size: 1rem;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
}

.testimonial-card-v2__quote {
    font-style: italic;
    color: var(--text-primary, var(--color-gray-300));
    line-height: 1.8;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.testimonial-card-v2__footer {
    display: flex;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
}

.testimonial-card-v2__name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    font-style: normal;
}

.testimonial-card-v2__role {
    font-size: 0.82rem;
    color: var(--color-gray-500);
    display: block;
    font-style: normal;
    margin-top: 0.15rem;
}

/* Mobile: horizontal scroll-snap */
@media (max-width: 768px) {
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    .testimonial-card-v2 {
        flex-shrink: 0;
        width: 85vw;
        max-width: 340px;
        scroll-snap-align: center;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .testimonials-grid {
        gap: 1.25rem;
    }
    .testimonial-card-v2 {
        padding: 2rem 1.5rem 1.5rem;
    }
    .testimonial-card-v2__quote {
        font-size: 1rem;
    }
}

/* ==========================================================================
   PORTFOLIO — Dark section, grid with hover overlays, filter tabs
   ========================================================================== */

.portfolio-section {
    background: var(--bg-secondary);
    padding-top: 5rem;
    padding-bottom: 5rem;
    position: relative;
}

.portfolio-section .section-header__title {
    color: var(--text-primary);
}

.portfolio-section .section-header__subtitle {
    color: var(--text-muted);
}

/* Filter tabs */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.portfolio-filter {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.portfolio-filter:hover,
.portfolio-filter.is-active {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--color-dark);
}

/* Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.portfolio-item__bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item__bg {
    transform: scale(1.08);
}

.portfolio-item__placeholder {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-align: center;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    text-align: center;
}

.portfolio-item__meta {
    color: var(--gold-500);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.portfolio-section__cta {
    text-align: center;
    margin-top: 2.5rem;
}

.portfolio-section__cta a {
    color: var(--gold-500);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.portfolio-section__cta a:hover {
    color: var(--gold-400);
}

/* Portfolio responsive */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio-filters {
        gap: 0.35rem;
    }
    .portfolio-filter {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .portfolio-item__title {
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   BLOG V2 — Homepage blog section redesign
   ========================================================================== */

.blog-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card-v2 {
    background: var(--bg-elevated);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.blog-card-v2__thumb {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.blog-card-v2__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-v2:hover .blog-card-v2__thumb img {
    transform: scale(1.06);
}

.blog-card-v2__thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    transition: opacity 0.35s ease;
    opacity: 0;
}

.blog-card-v2:hover .blog-card-v2__thumb-overlay {
    opacity: 1;
}

.blog-card-v2__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-elevated) 100%);
    color: var(--color-gray-300, #ccc);
}

.blog-card-v2__cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gold-500);
    color: var(--color-dark);
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    z-index: 2;
}

.blog-card-v2__body {
    padding: 1.5rem;
}

.blog-card-v2__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: var(--color-gray-500, #888);
}

.blog-card-v2__reading {
    position: relative;
    padding-left: 0.75rem;
}

.blog-card-v2__reading::before {
    content: '\00B7';
    position: absolute;
    left: 0;
    font-weight: 800;
}

.blog-card-v2__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.65rem;
}

.blog-card-v2__title a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.25s ease;
}

.blog-card-v2__title a:hover {
    color: var(--gold-500);
}

.blog-card-v2__excerpt {
    font-size: 0.88rem;
    color: var(--color-gray-500, #888);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.blog-card-v2__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-500);
    text-decoration: none;
    transition: all 0.25s ease;
}

.blog-card-v2__link svg {
    transition: transform 0.25s ease;
}

.blog-card-v2__link:hover {
    color: var(--gold-600);
}

.blog-card-v2__link:hover svg {
    transform: translateX(4px);
}

.blog-section__cta {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .blog-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid-v2 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   SMOOTH SCROLL & SELECTION
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

::selection {
    background: var(--gold-500);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--gold-500);
    color: var(--bg-primary);
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-500);
    outline-offset: 2px;
}

/* ==========================================================================
   PAGE LOADER
   ========================================================================== */

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1),
                opacity 0.4s ease;
}

.page-loader.is-loaded {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.page-loader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: loaderFadeIn 0.5s ease both;
}

@keyframes loaderFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.page-loader__icon {
    display: block;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

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

.page-loader__text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.2em;
}

/* ==========================================================================
   MOBILE BOTTOM BAR — Sticky CTA for mobile
   ========================================================================== */

.mobile-bottom-bar {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 60px;
    }

    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: var(--bg-primary);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 9999;
        transition: transform 0.3s ease;
    }

    .mobile-bottom-bar.is-hidden {
        transform: translateY(100%);
    }

    .mobile-bottom-bar__btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-decoration: none;
        transition: all 0.25s ease;
    }

    .mobile-bottom-bar__btn--call {
        color: #1A1A1A;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mobile-bottom-bar__btn--call:hover {
        background: rgba(0, 0, 0, 0.04);
        color: var(--gold-600);
    }

    .mobile-bottom-bar__btn--quote {
        background: var(--red-500, #C41E3A);
        color: #fff;
    }

    .mobile-bottom-bar__btn--quote:hover {
        background: var(--red-600, #A01830);
    }
}

/* ==========================================================================
   DESKTOP FLOATING CTA — Gold pill button, bottom-right
   ========================================================================== */

.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: var(--red-500, #C41E3A);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
    pointer-events: none;
}

.floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    animation: floatingCtaPulse 3s ease-in-out infinite 1s;
}

.floating-cta:hover {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 8px 35px rgba(196, 30, 58, 0.5);
    color: #fff;
    animation: none;
}

@keyframes floatingCtaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(196, 30, 58, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(196, 30, 58, 0.55), 0 0 15px rgba(196, 30, 58, 0.2); }
}

@media (min-width: 768px) {
    .floating-cta {
        display: inline-flex;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 9998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFFFFF;
    color: var(--gold-500);
    border: 2px solid rgba(232, 197, 71, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-500);
    color: var(--bg-primary);
    border-color: var(--gold-500);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 197, 71, 0.3);
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 76px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* ==========================================================================
   FOOTER — Light background, dark text, gold accents
   ========================================================================== */

.site-footer {
    background: var(--bg-primary);
}

.footer-main {
    background: var(--bg-secondary);
    padding: 4rem 0 0;
}

.footer-main__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

.footer-main__col--brand {
    padding-right: 1rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo__text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: 0.1em;
}

.footer-main__desc {
    font-size: 0.85rem;
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.footer-main__social {
    display: flex;
    gap: 0.75rem;
}

.footer-main__social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #6B7280;
    transition: all 0.3s ease;
}

.footer-main__social-link:hover {
    background: var(--gold-500);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-main__heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    position: relative;
}

.footer-main__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gold-500);
    border-radius: 1px;
}

.footer-main__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-main__links li {
    margin-bottom: 0.5rem;
}

.footer-main__links a {
    color: #6B7280;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-main__links a:hover {
    color: var(--gold-600);
    padding-left: 0.35rem;
}

/* Contact column */
.footer-main__contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-main__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
    color: #4B5563;
}

.footer-main__contact li svg {
    flex-shrink: 0;
    color: var(--gold-500);
    margin-top: 0.1rem;
}

.footer-main__contact a {
    color: #4B5563;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-main__contact a:hover {
    color: var(--gold-600);
}

/* Newsletter */
.footer-newsletter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 0;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-newsletter__text h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.2rem;
}

.footer-newsletter__text p {
    font-size: 0.82rem;
    color: #6B7280;
}

.footer-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-newsletter__row {
    display: flex;
    gap: 0.5rem;
}

.footer-newsletter__form input[type="email"] {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    padding: 0.7rem 1rem;
    color: #1A1A1A;
    font-size: 0.85rem;
    min-width: 250px;
    transition: border-color 0.25s ease;
}

.footer-newsletter__form input[type="email"]::placeholder {
    color: #9CA3AF;
}

.footer-newsletter__form input[type="email"]:focus {
    border-color: var(--gold-500);
    outline: none;
}

/* S20: Newsletter consent + message (audit #2) */
.oh-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #6B7280;
    line-height: 1.35;
    cursor: pointer;
}
.oh-newsletter-consent input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--gold-500);
}
.oh-newsletter-consent a {
    color: var(--gold-500);
    text-decoration: underline;
}
.footer-newsletter__msg {
    font-size: 0.82rem;
    margin-top: 0.25rem;
    padding: 0.4rem 0;
}
.footer-newsletter__msg--success {
    color: #16a34a;
}
.footer-newsletter__msg--error {
    color: #dc2626;
}

/* Bottom bar */
.footer-bottom {
    background: #F3F4F6;
    padding: 1.25rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-bottom__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom__copy {
    font-size: 0.78rem;
    color: #6B7280;
}

.footer-bottom__links {
    font-size: 0.78rem;
}

.footer-bottom__links a {
    color: #6B7280;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom__links a:hover {
    color: var(--gold-600);
}

.footer-bottom__sep {
    color: rgba(0, 0, 0, 0.2);
    margin: 0 0.5rem;
}

/* Footer responsive */
@media (max-width: 992px) {
    .footer-main__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .footer-main__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-newsletter__form {
        flex-direction: column;
        width: 100%;
    }
    .footer-newsletter__form input {
        min-width: 0;
        width: 100%;
    }
    .footer-bottom__inner {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ==========================================================================
   ANIMATED CATEGORY ICONS — Mega Menu + Homepage
   ========================================================================== */

/* --- A. Mega menu icon animations --- */

.mega-menu__cat-thumb .oh-cat-icon {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.mega-menu__cat:hover .oh-cat-icon {
    transform: scale(1.1) translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(218, 165, 32, 0.3));
}

/* Draw-in animation for mega menu */
.mega-menu__cat-thumb .oh-cat-icon path,
.mega-menu__cat-thumb .oh-cat-icon line,
.mega-menu__cat-thumb .oh-cat-icon circle,
.mega-menu__cat-thumb .oh-cat-icon rect,
.mega-menu__cat-thumb .oh-cat-icon polyline,
.mega-menu__cat-thumb .oh-cat-icon ellipse {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: ohDrawIcon 0.8s ease forwards;
    animation-play-state: paused;
}

/* Play animation when mega menu parent li has is-mega-open */
.nav-menu__item.is-mega-open .mega-menu__cat-thumb .oh-cat-icon path,
.nav-menu__item.is-mega-open .mega-menu__cat-thumb .oh-cat-icon line,
.nav-menu__item.is-mega-open .mega-menu__cat-thumb .oh-cat-icon circle,
.nav-menu__item.is-mega-open .mega-menu__cat-thumb .oh-cat-icon rect,
.nav-menu__item.is-mega-open .mega-menu__cat-thumb .oh-cat-icon polyline,
.nav-menu__item.is-mega-open .mega-menu__cat-thumb .oh-cat-icon ellipse {
    animation-play-state: running;
}

/* Also play on hover (CSS-only fallback) */
.nav-menu__item--has-mega:hover .mega-menu__cat-thumb .oh-cat-icon path,
.nav-menu__item--has-mega:hover .mega-menu__cat-thumb .oh-cat-icon line,
.nav-menu__item--has-mega:hover .mega-menu__cat-thumb .oh-cat-icon circle,
.nav-menu__item--has-mega:hover .mega-menu__cat-thumb .oh-cat-icon rect,
.nav-menu__item--has-mega:hover .mega-menu__cat-thumb .oh-cat-icon polyline,
.nav-menu__item--has-mega:hover .mega-menu__cat-thumb .oh-cat-icon ellipse {
    animation-play-state: running;
}

/* Staggered delays per category */
.mega-menu__cat:nth-child(1) .oh-cat-icon * { animation-delay: 0.05s; }
.mega-menu__cat:nth-child(2) .oh-cat-icon * { animation-delay: 0.10s; }
.mega-menu__cat:nth-child(3) .oh-cat-icon * { animation-delay: 0.15s; }
.mega-menu__cat:nth-child(4) .oh-cat-icon * { animation-delay: 0.20s; }
.mega-menu__cat:nth-child(5) .oh-cat-icon * { animation-delay: 0.25s; }
.mega-menu__cat:nth-child(6) .oh-cat-icon * { animation-delay: 0.30s; }
.mega-menu__cat:nth-child(7) .oh-cat-icon * { animation-delay: 0.35s; }
.mega-menu__cat:nth-child(8) .oh-cat-icon * { animation-delay: 0.40s; }
.mega-menu__cat:nth-child(9) .oh-cat-icon * { animation-delay: 0.45s; }
.mega-menu__cat:nth-child(10) .oh-cat-icon * { animation-delay: 0.50s; }

@keyframes ohDrawIcon {
    to { stroke-dashoffset: 0; }
}

/* --- B. Homepage category card redesign (icon cards) --- */

.category-card {
    aspect-ratio: auto;
    background: #fff;
    border: 1px solid var(--border-default, rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    padding: 2rem 1rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: visible;
}

.category-card__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(218, 165, 32, 0.06);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.category-card:hover .category-card__icon {
    background: rgba(218, 165, 32, 0.12);
    transform: scale(1.05) translateY(-3px);
}

.category-card:hover {
    border-color: rgba(218, 165, 32, 0.4);
    box-shadow: 0 8px 24px rgba(218, 165, 32, 0.1);
}

.category-card__content {
    position: static;
    padding: 0;
    z-index: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card__name {
    font-weight: 700;
    color: var(--text-primary, #1A1A1A);
    text-shadow: none;
    font-size: 0.95rem;
}

.category-card:hover .category-card__name {
    transform: none;
}

.category-card__arrow {
    color: var(--gold-500);
    transition: transform 0.3s ease;
    display: inline-block;
}

.category-card:hover .category-card__arrow {
    transform: translateX(4px);
}

/* Draw animation triggered by IntersectionObserver adding is-visible */
.category-card .oh-cat-icon path,
.category-card .oh-cat-icon line,
.category-card .oh-cat-icon circle,
.category-card .oh-cat-icon rect,
.category-card .oh-cat-icon polyline,
.category-card .oh-cat-icon ellipse {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

.category-card.is-visible .oh-cat-icon path,
.category-card.is-visible .oh-cat-icon line,
.category-card.is-visible .oh-cat-icon circle,
.category-card.is-visible .oh-cat-icon rect,
.category-card.is-visible .oh-cat-icon polyline,
.category-card.is-visible .oh-cat-icon ellipse {
    animation: ohDrawIcon 0.8s ease forwards;
}

/* --- C. Responsive adjustments for icon cards --- */

@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .category-card {
        padding: 1.5rem 0.75rem 1.25rem;
    }
    .category-card__icon {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .category-card {
        padding: 1.25rem 0.5rem 1rem;
        gap: 0.75rem;
    }
    .category-card__icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }
    .category-card__name {
        font-size: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mega-menu__cat-thumb .oh-cat-icon path,
    .mega-menu__cat-thumb .oh-cat-icon line,
    .mega-menu__cat-thumb .oh-cat-icon circle,
    .mega-menu__cat-thumb .oh-cat-icon rect,
    .mega-menu__cat-thumb .oh-cat-icon polyline,
    .mega-menu__cat-thumb .oh-cat-icon ellipse,
    .category-card .oh-cat-icon path,
    .category-card .oh-cat-icon line,
    .category-card .oh-cat-icon circle,
    .category-card .oh-cat-icon rect,
    .category-card .oh-cat-icon polyline,
    .category-card .oh-cat-icon ellipse {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        animation: none;
    }
}

/* ==========================================================================
   404 PAGE — Dark themed
   ========================================================================== */

.error-404-section {
    background: var(--bg-primary);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.error-404 {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.error-404__code {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
    margin-bottom: 1.5rem;
}

.error-404__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.error-404__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.error-404__search {
    margin-bottom: 2rem;
}

.error-404__search form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.25s ease;
}

.error-404__search form:focus-within {
    border-color: var(--gold-500);
}

.error-404__search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.85rem 1.25rem;
    color: #fff;
    font-size: 0.92rem;
    outline: none;
}

.error-404__search-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.error-404__search-btn {
    background: transparent;
    border: none;
    padding: 0.85rem 1.25rem;
    color: var(--gold-500);
    cursor: pointer;
    transition: color 0.25s ease;
}

.error-404__search-btn:hover {
    color: var(--gold-400);
}

.error-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .error-404__code {
        font-size: 5rem;
    }
    .error-404__title {
        font-size: 1.35rem;
    }
}