/* =============================================================
   HC Shop — Main Stylesheet  v1.0.0
   Brand: Himalayan Corp (Orange #E8631A + Navy #0D1B3E)
   Same design language as the main site — consistent identity.
   ============================================================= */

/* ── CSS Custom Properties (Design Tokens) ───────────────────────────────────
   Think of these as variables. Change one value here and it updates everywhere.
   This is the ONLY place brand colors, fonts, and spacing are defined.
   ─────────────────────────────────────────────────────────────────────────── */
:root {
    /* Brand colours — match himalayancorp.com.np exactly */
    --primary:        #E8631A;
    --primary-dark:   #C5521A;
    --primary-light:  rgba(232, 99, 26, 0.10);
    --navy:           #0D1B3E;
    --navy-light:     #152347;
    --navy-subtle:    rgba(13, 27, 62, 0.06);

    /* Neutral greys — systematic scale */
    --white:          #FFFFFF;
    --gray-50:        #F8FAFC;
    --gray-100:       #F1F5F9;
    --gray-200:       #E2E8F0;
    --gray-300:       #CBD5E1;
    --gray-400:       #94A3B8;
    --gray-500:       #64748B;
    --gray-600:       #475569;
    --gray-700:       #334155;
    --gray-800:       #1E293B;
    --gray-900:       #0F172A;

    /* Semantic colours */
    --success:        #16A34A;
    --success-light:  rgba(22, 163, 74, 0.10);
    --warning:        #D97706;
    --warning-light:  rgba(217, 119, 6, 0.10);
    --danger:         #DC2626;
    --danger-light:   rgba(220, 38, 38, 0.10);
    --info:           #0284C7;
    --info-light:     rgba(2, 132, 199, 0.10);

    /* Typography */
    --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-base: 16px;
    --line-height:    1.6;

    /* Spacing scale */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-5:  24px;
    --space-6:  32px;
    --space-7:  48px;
    --space-8:  64px;
    --space-9:  80px;
    --space-10: 96px;

    /* Border radius */
    --radius-sm:  6px;
    --radius:     10px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Shadows — elevation system */
    --shadow-xs:  0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.10);
    --shadow-lg:  0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl:  0 20px 60px rgba(0, 0, 0, 0.16);

    /* Transitions */
    --transition:     all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-w:      1280px;
    --header-h:   72px;
}

/* ── CSS Reset ───────────────────────────────────────────────────────────────
   Removes browser default margins/paddings so we start from a clean slate.
   ─────────────────────────────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* box-sizing: border-box means padding doesn't ADD to an element's width.
       e.g. a 200px div with 20px padding stays 200px total (default behaviour
       would make it 240px). Much easier to work with. */
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    /* Prevents iOS from auto-zooming text on orientation change */
}

body {
    font-family: var(--font);
    color: var(--gray-900);
    line-height: var(--line-height);
    background: var(--white);
    overflow-x: hidden;
    /* overflow-x: hidden prevents horizontal scrollbars from appearing
       if any element is slightly wider than the viewport */
}

img, video, svg {
    max-width: 100%;
    height: auto;
    display: block;
    /* display: block removes the small gap below images caused by inline baseline */
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul, ol { list-style: none; }

button {
    font-family: var(--font);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
}

input, select, textarea {
    font-family: var(--font);
    font-size: inherit;
}

/* ── Accessibility ───────────────────────────────────────────────────────────
   sr-only: visually hidden but readable by screen readers.
   Used for labels and descriptions that help blind users but shouldn't appear.
   ─────────────────────────────────────────────────────────────────────────── */
.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;
}

/* Focus visible ring — keyboard navigation indicator */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

/* ── Layout Utilities ────────────────────────────────────────────────────────
   .container centres content and limits width.
   .section adds consistent vertical padding to page sections.
   ─────────────────────────────────────────────────────────────────────────── */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.section {
    padding: var(--space-9) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-7);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-3);
}

.section-eyebrow::before {
    content: '';
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(26px, 3vw, 42px);
    /* clamp(min, preferred, max): minimum 26px, scales with viewport, max 42px */
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: var(--space-4);
}

.section-title span { color: var(--primary); }

.section-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Topbar ──────────────────────────────────────────────────────────────────
   Small dark bar at very top showing contact info and quick links.
   ─────────────────────────────────────────────────────────────────────────── */
.hcs-topbar {
    background: var(--navy);
    padding: 9px 0;
    font-size: 12px;
}

.hcs-topbar__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.hcs-topbar__left,
.hcs-topbar__right {
    display: flex;
    align-items: center;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.hcs-topbar a {
    color: #CBD5E1;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.15s;
}

.hcs-topbar a:hover { color: var(--primary); }
.hcs-topbar i { color: var(--primary); font-size: 11px; }

/* ── Header / Navbar ─────────────────────────────────────────────────────────
   Sticky header: stays at top when scrolling.
   ─────────────────────────────────────────────────────────────────────────── */
.hcs-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--gray-200);
    transition: box-shadow 0.3s;
}

.hcs-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.hcs-nav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: var(--space-4);
}

/* Logo */
.hcs-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
    flex-shrink: 0;
}

.hcs-logo__icon {
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: var(--primary);
    font-size: 15px;
    letter-spacing: -1px;
    flex-shrink: 0;
}

/* Uploaded custom logo — sized to match the HC icon box exactly */
.hcs-logo__custom-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius);
    flex-shrink: 0;
    display: block;
}

.hcs-logo__text {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hcs-logo__sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-500);
    letter-spacing: 0.3px;
}

/* Desktop navigation menu */
.hcs-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    flex: 1;
    justify-content: center;
}

.hcs-nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

/* Active underline indicator */
.hcs-nav__link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.hcs-nav__link:hover,
.hcs-nav__link.is-active,
/* WP Walker adds these classes to <li> — target the link inside */
li.current-menu-item > .hcs-nav__link,
li.current-menu-item > a.hcs-nav__link,
li.current_page_item > .hcs-nav__link,
li.current_page_item > a.hcs-nav__link,
li.current-menu-ancestor > .hcs-nav__link,
li.current-page-ancestor > .hcs-nav__link,
li.current-menu-parent > .hcs-nav__link {
    color: var(--primary);
    background: var(--primary-light);
}

/* Show underline on active state */
li.current-menu-item > .hcs-nav__link::after,
li.current-menu-item > a.hcs-nav__link::after,
li.current_page_item > .hcs-nav__link::after,
.hcs-nav__link.is-active::after {
    transform: scaleX(1);
}

/* Nav right: search, cart, account */
.hcs-nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.hcs-nav__icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    font-size: 16px;
}

.hcs-nav__icon-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* Cart count badge */
.hcs-cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hcs-nav__cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
}

.hcs-nav__cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232, 99, 26, 0.40);
}

/* Hamburger button (mobile only) */
.hcs-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

.hcs-hamburger span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    display: block;
    transition: var(--transition);
}

.hcs-hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hcs-hamburger.is-active span:nth-child(2) { opacity: 0; }
.hcs-hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav drawer */
.hcs-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 100vw);
    height: 100vh;
    background: var(--navy);
    z-index: 1100;
    padding: 80px var(--space-6) var(--space-7);
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.hcs-mobile-nav.is-open { right: 0; }

.hcs-mobile-nav a {
    display: block;
    color: rgba(255, 255, 255, 0.80);
    padding: 13px 0;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: color 0.2s, padding-left 0.2s;
}

.hcs-mobile-nav a:hover {
    color: var(--primary);
    padding-left: 6px;
}

.hcs-mobile-nav__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.60);
    font-size: 18px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.hcs-mobile-nav__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.10); }

.hcs-mobile-nav__overlay {
    position: fixed;
    inset: 0; /* shorthand for top/right/bottom/left: 0 — covers full screen */
    background: rgba(0, 0, 0, 0.50);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.hcs-mobile-nav__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ── Buttons ─────────────────────────────────────────────────────────────────
   Consistent button styles used across the entire site.
   ─────────────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 13px 26px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 99, 26, 0.38);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-navy:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 27, 62, 0.28);
    color: var(--white);
}

.btn-sm {
    padding: 9px 18px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

/* Disabled state for all buttons */
.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── Badges ──────────────────────────────────────────────────────────────────
   Small labels on product cards.
   ─────────────────────────────────────────────────────────────────────────── */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1;
}

.badge-new      { background: var(--info-light);    color: var(--info); }
.badge-hot      { background: var(--danger-light);  color: var(--danger); }
.badge-limited  { background: var(--warning-light); color: var(--warning); }
.badge-sale     { background: var(--primary-light); color: var(--primary-dark); }
.badge-featured { background: var(--navy-subtle);   color: var(--navy); }
.badge-service  { background: var(--success-light); color: var(--success); }

/* ── Breadcrumb ──────────────────────────────────────────────────────────────*/
.hcs-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 13px;
    color: var(--gray-500);
    padding: var(--space-4) 0;
    flex-wrap: wrap;
}

.hcs-breadcrumb a {
    color: var(--gray-600);
    transition: color 0.15s;
}

.hcs-breadcrumb a:hover { color: var(--primary); }

.hcs-breadcrumb__sep { color: var(--gray-300); }

.hcs-breadcrumb span:last-child { color: var(--gray-900); font-weight: 500; }

/* ── Footer ──────────────────────────────────────────────────────────────────*/
.hcs-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--space-10) 0 0;
    margin-top: var(--space-10);
}

.hcs-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.hcs-footer__brand-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-3);
}

.hcs-footer__brand-name span { color: var(--primary); }

.hcs-footer__desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: var(--space-5);
}

.hcs-footer__heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.hcs-footer__links { display: flex; flex-direction: column; gap: var(--space-2); }

.hcs-footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.15s;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.hcs-footer__links a:hover { color: var(--primary); }

.hcs-footer__bottom {
    padding: var(--space-5) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.hcs-footer__bottom a { color: rgba(255, 255, 255, 0.55); }
.hcs-footer__bottom a:hover { color: var(--primary); }

/* ── Form elements ───────────────────────────────────────────────────────────*/
.hcs-input {
    width: 100%;
    height: 44px;
    padding: 0 var(--space-4);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.hcs-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 99, 26, 0.15);
}

.hcs-input::placeholder { color: var(--gray-400); }

/* ── Loading / Skeleton states ───────────────────────────────────────────────
   Used while AJAX is loading new products — shows animated placeholder
   so the page doesn't look broken. Better UX than a spinner.
   ─────────────────────────────────────────────────────────────────────────── */
.hcs-skeleton {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
    background-size: 200% 100%;
    animation: hcs-shimmer 1.5s infinite;
    border-radius: var(--radius);
}

@keyframes hcs-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}

/* ── VD Discount UI ──────────────────────────────────────────────────────────*/
.hcs-price { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }

.hcs-price__original {
    color: var(--gray-400);
    font-size: 14px;
    text-decoration: line-through;
}

.hcs-price__vd,
.hcs-price__sale {
    color: var(--primary-dark);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.hcs-price__badge--vd {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.hcs-vd-prompt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--primary);
    border: 1px dashed var(--primary);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.hcs-vd-prompt:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ── Responsive ──────────────────────────────────────────────────────────────
   Breakpoints:
   - Mobile:  < 640px
   - Tablet:  640px – 1024px
   - Desktop: > 1024px
   ─────────────────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .hcs-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }
}

@media (max-width: 768px) {
    .hcs-nav__menu,
    .hcs-topbar {
        display: none;
    }

    .hcs-hamburger {
        display: flex;
    }

    .hcs-nav__cta {
        display: none;
    }

    .section { padding: var(--space-7) 0; }

    .hcs-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .hcs-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }

    .section-title { font-size: 24px; }
}

/* ── ACF Block styles ────────────────────────────────────────────────────── */

/* Product Showcase block */
.hcs-showcase-block { padding: 56px 0; }
.hcs-showcase-block--bg-gray  { background: var(--gray-50); }
.hcs-showcase-block--bg-white { background: var(--white); }
.hcs-showcase-block--bg-navy  { background: var(--navy); }
.hcs-showcase-block--bg-navy .hcs-showcase-block__title,
.hcs-showcase-block--bg-navy .hcs-showcase-block__subtitle { color: var(--white); }

.hcs-showcase-block__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.hcs-showcase-block__title {
    font-size: clamp(20px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--navy);
    margin: 0;
}

.hcs-showcase-block__subtitle {
    font-size: 15px;
    color: var(--gray-600);
    margin: 4px 0 0;
}

.hcs-showcase-block__grid {
    display: grid;
    grid-template-columns: repeat( var(--showcase-cols, 4), 1fr );
    gap: 20px;
    align-items: stretch;
    list-style: none;
    padding: 0;
}

.hcs-showcase-block__grid li {
    display: flex;
    flex-direction: column;
}

.hcs-showcase-block__grid .hcs-product-card {
    height: 100%;
    flex: 1;
}

@media (max-width: 1024px) {
    .hcs-showcase-block__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .hcs-showcase-block__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* CTA Banner utility (reusable by both homepage and block) */
.hcs-cta-banner { background: var(--navy); padding: 56px 0; }
.hcs-cta-banner__inner { display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; }
.hcs-cta-banner__title { font-size:clamp(20px,2.5vw,32px); font-weight:800; color:#fff; margin-bottom:8px; }
.hcs-cta-banner__desc  { font-size:15px; color:rgba(255,255,255,.65); }
.hcs-cta-banner__actions { display:flex; gap:14px; flex-wrap:wrap; }

@media (max-width:768px) {
    .hcs-cta-banner__inner { flex-direction:column; text-align:center; }
    .hcs-cta-banner__actions { justify-content:center; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE — Hero, Category Carousel, Featured, Why, CTA
   All moved from front-page.php inline <style> to here for caching + overrides
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hcs-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 65%, #1a2d5a 100%);
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.hcs-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 72% 50%, rgba(232,99,26,.13) 0%, transparent 58%);
    pointer-events: none;
}
.hcs-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.hcs-hero__title {
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 12px 0 20px;
}
.hcs-hero__subtitle {
    font-size: 17px;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}
.hcs-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hcs-hero__trust {
    display: flex; gap: 20px; flex-wrap: wrap;
    font-size: 13px; color: rgba(255,255,255,.6);
}
.hcs-hero__trust span { display: flex; align-items: center; gap: 6px; }
.hcs-hero__trust i { color: var(--primary); }
.hcs-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex-shrink: 0; }
.hcs-hero__stat {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    text-align: center;
    min-width: 100px;
}
.hcs-hero__stat-num {
    display: block; font-size: 26px; font-weight: 900;
    color: var(--primary); line-height: 1; margin-bottom: 4px;
}
.hcs-hero__stat-label {
    font-size: 11px; color: rgba(255,255,255,.55);
    font-weight: 500; text-transform: uppercase; letter-spacing: .5px;
}

/* ── Category Carousel ─────────────────────────────────────────────────── */
.hcs-browse-header {
    display: flex; justify-content: space-between;
    align-items: flex-end; margin-bottom: 28px; gap: 16px; flex-wrap: wrap;
}
.hcs-browse-nav { display: flex; gap: 8px; flex-shrink: 0; }
.hcs-browse-nav__btn {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--gray-200); background: var(--white);
    color: var(--navy); font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--transition);
}
.hcs-browse-nav__btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.hcs-browse-nav__btn:disabled { opacity: .35; cursor: default; pointer-events: none; }
.hcs-categories-track-wrap { overflow: hidden; position: relative; }
.hcs-categories-track {
    display: flex; gap: 16px;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.hcs-category-card {
    flex: 0 0 200px;
    background: var(--white); border: 1.5px solid var(--gray-100);
    border-radius: var(--radius-lg); overflow: hidden;
    text-decoration: none; transition: var(--transition);
    display: flex; flex-direction: column;
}
.hcs-category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hcs-category-card__image { height: 130px; overflow: hidden; }
.hcs-category-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hcs-category-card:hover .hcs-category-card__image img { transform: scale(1.06); }
.hcs-category-card__icon-wrap { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.hcs-category-card__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hcs-category-card__name { font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.hcs-category-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.hcs-category-card__count { font-size: 11px; color: var(--gray-400); }
.hcs-category-card__arrow {
    width: 22px; height: 22px; background: var(--primary-light);
    border-radius: var(--radius-full); display: flex; align-items: center;
    justify-content: center; color: var(--primary); transition: var(--transition);
    flex-shrink: 0; font-size: 10px;
}
.hcs-category-card:hover .hcs-category-card__arrow { background: var(--primary); color: #fff; }

/* ── Featured Products Grid ────────────────────────────────────────────── */
/* Note: actual featured section uses hcs-product-grid, not hcs-featured-grid */
.hcs-featured-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; align-items: start; }
.hcs-featured-grid__item { display: flex; flex-direction: column; }
.hcs-featured-grid__item .hcs-product-card { height: 100%; flex: 1; }

/* ── Why cards ──────────────────────────────────────────────────────────── */
.hcs-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.hcs-why-card {
    padding: 26px 22px; background: var(--white);
    border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg); transition: var(--transition);
}
.hcs-why-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.hcs-why-card__icon {
    width: 48px; height: 48px; background: var(--primary-light);
    border-radius: var(--radius-md); display: flex; align-items: center;
    justify-content: center; font-size: 20px; color: var(--primary); margin-bottom: 14px;
}
.hcs-why-card__title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.hcs-why-card__desc { font-size: 13px; color: var(--gray-600); line-height: 1.65; }

/* ── CTA banner ─────────────────────────────────────────────────────────── */
.hcs-cta-banner { background: var(--navy); padding: 56px 0; }
.hcs-cta-banner__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.hcs-cta-banner__title { font-size: clamp(20px,2.5vw,32px); font-weight: 800; color: #fff; margin-bottom: 8px; }
.hcs-cta-banner__desc  { font-size: 15px; color: rgba(255,255,255,.65); }
.hcs-cta-banner__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════════════════════════════
   HOMEPAGE RESPONSIVE — complete coverage
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1024px — tablet landscape */
@media (max-width: 1024px) {
    .hcs-hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hcs-hero__stats { grid-template-columns: repeat(4,1fr); }
    .hcs-featured-grid { grid-template-columns: repeat(2,1fr); }
    /* product grid in featured section */
    .hcs-hero + * .hcs-product-grid,
    section .hcs-product-grid { grid-template-columns: repeat(3,1fr) !important; }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
    .hcs-hero { padding: 52px 0 44px; }
    .hcs-hero__title { font-size: clamp(24px,6vw,40px); }
    .hcs-hero__stats { grid-template-columns: repeat(2,1fr); gap: 10px; }
    .hcs-hero__trust { gap: 12px; font-size: 12px; }
    .hcs-featured-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
    .hcs-cta-banner__inner { flex-direction: column; text-align: center; }
    .hcs-cta-banner__actions { justify-content: center; flex-direction: column; align-items: center; }
    .hcs-cta-banner__actions .btn { width: 100%; max-width: 280px; justify-content: center; }
    /* Category carousel: swipe on mobile */
    .hcs-categories-track-wrap { overflow: visible; }
    .hcs-categories-track {
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        transform: none !important; /* disable JS transform on mobile */
    }
    .hcs-categories-track::-webkit-scrollbar { display: none; }
    .hcs-category-card { scroll-snap-align: start; }
    .hcs-browse-nav { display: none; } /* hide arrows on mobile — swipe instead */
    /* product grid on homepage */
    section .hcs-product-grid { grid-template-columns: repeat(2,1fr) !important; }
}

/* 480px — mobile */
@media (max-width: 480px) {
    .hcs-hero { padding: 40px 0 36px; }
    .hcs-hero__title { font-size: clamp(22px,7vw,34px); }
    .hcs-hero__subtitle { font-size: 14px; margin-bottom: 20px; }
    .hcs-hero__actions { flex-direction: column; gap: 10px; }
    .hcs-hero__actions .btn { width: 100% !important; justify-content: center; }
    .hcs-hero__stats { grid-template-columns: repeat(2,1fr); gap: 8px; }
    .hcs-hero__stat { padding: 12px 14px; }
    .hcs-hero__stat-num { font-size: 20px; }
    .hcs-hero__trust { flex-wrap: wrap; gap: 8px; }
    .hcs-category-card { flex: 0 0 160px; }
    .hcs-category-card__image { height: 100px; }
    .hcs-why-grid { grid-template-columns: 1fr; }
    .hcs-featured-grid { grid-template-columns: repeat(2,1fr); gap: 10px; }
    section .hcs-product-grid { grid-template-columns: repeat(2,1fr) !important; gap: 10px !important; }
}

/* 375px — small mobile (iPhone SE) */
@media (max-width: 375px) {
    .container { padding: 0 12px; }
    .hcs-hero__stat-num { font-size: 18px; }
    .hcs-hero__stats { grid-template-columns: repeat(2,1fr); gap: 6px; }
    .hcs-category-card { flex: 0 0 140px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER MOBILE FIX — prevent hamburger overflow
   ═══════════════════════════════════════════════════════════════════════════ */

/* Ensure header never causes horizontal scroll */
.hcs-header { overflow: hidden; }
.hcs-nav { overflow: hidden; }

/* Nav inner: tighter padding on mobile */
@media (max-width: 480px) {
    .hcs-nav__inner {
        padding: 0 12px !important;
        gap: 6px !important;
        height: 60px !important;
    }
    /* Logo: hide subtitle on tiny screens */
    .hcs-logo__sub { display: none; }
    .hcs-logo__text { font-size: 15px !important; }
    .hcs-logo__icon { width: 36px !important; height: 36px !important; font-size: 13px !important; }
    .hcs-logo__custom-img { width: 36px !important; height: 36px !important; }
    /* Actions: tighter */
    .hcs-nav__actions { gap: 2px !important; }
    .hcs-nav__icon-btn { width: 34px !important; height: 34px !important; font-size: 14px !important; }
    /* Cart badge: smaller */
    .hcs-cart-count {
        width: 16px !important; height: 16px !important;
        font-size: 9px !important;
        top: 0 !important; right: 0 !important;
    }
    /* Hamburger: tighter */
    .hcs-hamburger {
        width: 34px !important; height: 34px !important;
        padding: 4px !important;
    }
}

@media (max-width: 360px) {
    .hcs-nav__inner { padding: 0 8px !important; gap: 4px !important; }
    /* Show only icon in logo on very small screens */
    .hcs-logo__text { display: none; }
}

/* =============================================================================
   HC Shop — Pages CSS  (about, contact, 404)
   Add to end of: assets/css/main.css
   ============================================================================= */

/* ── Page Hero (shared: About + Contact) ─────────────────────────────────── */
.hcs-page-hero {
    background: var(--navy);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.hcs-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(232,99,26,0.18) 0%, transparent 65%);
    pointer-events: none;
}
.hcs-page-hero .hcs-breadcrumb a,
.hcs-page-hero .hcs-breadcrumb span { color: rgba(255,255,255,0.55); }
.hcs-page-hero .hcs-breadcrumb span:last-child { color: rgba(255,255,255,0.85); }
.hcs-page-hero .hcs-breadcrumb__sep { color: rgba(255,255,255,0.3); }
.hcs-page-hero__content { margin-top: 24px; max-width: 680px; }
.hcs-page-hero .section-eyebrow { color: var(--primary); }
.hcs-page-hero__title {
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 10px 0 16px;
    letter-spacing: -0.02em;
}
.hcs-page-hero__title span { color: var(--primary); }
.hcs-page-hero__subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 560px;
}

/* ── About: Stats Strip ───────────────────────────────────────────────────── */
.hcs-about-stats {
    background: var(--primary);
    padding: 32px 0;
}
.hcs-about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}
.hcs-about-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.hcs-about-stats__item:last-child { border-right: none; }
.hcs-about-stats__num {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hcs-about-stats__label {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    text-align: center;
}

/* ── About: Story ─────────────────────────────────────────────────────────── */
.hcs-about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hcs-about-story__image-wrap {
    position: relative;
}
.hcs-about-story__image-bg {
    background: var(--navy);
    border-radius: var(--radius-xl);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.hcs-about-story__image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 60%, rgba(232,99,26,0.25) 0%, transparent 70%);
}
.hcs-about-story__image-inner {
    font-size: 96px;
    color: rgba(255,255,255,0.08);
    z-index: 1;
}
.hcs-about-story__badge {
    position: absolute;
    bottom: -16px;
    right: -16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: var(--shadow-lg);
}
.hcs-about-story__badge i { font-size: 20px; }
.hcs-about-story__text { display: flex; flex-direction: column; gap: 16px; }
.hcs-about-story__text p { color: var(--gray-600); line-height: 1.8; font-size: 15px; }
.hcs-about-story__text .btn { align-self: flex-start; margin-top: 8px; }

/* ── About: Values ────────────────────────────────────────────────────────── */
.hcs-about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.hcs-about-value-card {
    background: #fff;
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.hcs-about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}
.hcs-about-value-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.hcs-about-value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.hcs-about-value-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── About: Services ──────────────────────────────────────────────────────── */
.hcs-about-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.hcs-about-service-card {
    padding: 28px 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: var(--transition);
}
.hcs-about-service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.hcs-about-service-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 16px;
}
.hcs-about-service-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}
.hcs-about-service-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }

/* ── About: CTA Banner ────────────────────────────────────────────────────── */
.hcs-about-cta {
    background: var(--navy);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.hcs-about-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(232,99,26,0.2) 0%, transparent 60%);
    pointer-events: none;
}
.hcs-about-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.hcs-about-cta__text h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.hcs-about-cta__text p { color: rgba(255,255,255,0.65); font-size: 16px; }
.hcs-about-cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Contact: Layout ──────────────────────────────────────────────────────── */
.hcs-contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: flex-start;
}

/* ── Contact: Form Card ───────────────────────────────────────────────────── */
.hcs-contact-form-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.hcs-contact-form-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.hcs-contact-form-card__title i { color: var(--primary); }
.hcs-contact-form-card__sub { color: var(--gray-500); font-size: 14px; margin-bottom: 28px; }

.hcs-contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hcs-contact-form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.hcs-contact-form__field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}
.hcs-contact-form__field label span { color: var(--primary); }
.hcs-contact-form__field input,
.hcs-contact-form__field select,
.hcs-contact-form__field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--gray-50);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.hcs-contact-form__field input:focus,
.hcs-contact-form__field select:focus,
.hcs-contact-form__field textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-light);
}
.hcs-contact-form__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.hcs-contact-form__field textarea { resize: vertical; min-height: 130px; }

.hcs-contact-success, .hcs-contact-error {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 14px;
}
.hcs-contact-success { background: var(--success-light); color: var(--success); border: 1px solid rgba(22,163,74,0.2); }
.hcs-contact-success i { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.hcs-contact-success strong { display: block; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.hcs-contact-success p { color: var(--success); margin: 0; }
.hcs-contact-error { background: var(--danger-light); color: var(--danger); border: 1px solid rgba(220,38,38,0.2); }
.hcs-contact-error i { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

/* ── Contact: Info Cards ──────────────────────────────────────────────────── */
.hcs-contact-info { display: flex; flex-direction: column; gap: 12px; }
.hcs-contact-info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}
a.hcs-contact-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.hcs-contact-info-card__icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.hcs-contact-info-card__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    margin-bottom: 3px;
}
.hcs-contact-info-card__value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}
.hcs-contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    margin-top: 4px;
}

/* ── 404 Page ─────────────────────────────────────────────────────────────── */
.hcs-404 {
    padding: 80px 0 100px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}
.hcs-404__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

/* 404 Number Illustration */
.hcs-404__visual { position: relative; }
.hcs-404__number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
}
.hcs-404__digit {
    font-size: clamp(80px, 15vw, 140px);
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.04em;
}
.hcs-404__zero {
    width: clamp(80px, 15vw, 140px);
    height: clamp(80px, 15vw, 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    border: 4px solid var(--primary);
}
.hcs-404__cog {
    font-size: clamp(40px, 7vw, 70px);
    color: var(--primary);
    animation: hcs-spin 6s linear infinite;
}
@keyframes hcs-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Floating sparks */
.hcs-404__sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hcs-404__sparks span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: hcs-spark 3s ease-in-out infinite;
    opacity: 0;
}
.hcs-404__sparks span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.hcs-404__sparks span:nth-child(2) { top: 20%; right: 15%; animation-delay: 0.5s; background: var(--navy); }
.hcs-404__sparks span:nth-child(3) { bottom: 15%; left: 10%; animation-delay: 1s; width: 6px; height: 6px; }
.hcs-404__sparks span:nth-child(4) { bottom: 20%; right: 20%; animation-delay: 1.5s; background: var(--navy); }
.hcs-404__sparks span:nth-child(5) { top: 50%; left: 5%; animation-delay: 2s; width: 5px; height: 5px; }
.hcs-404__sparks span:nth-child(6) { top: 40%; right: 5%; animation-delay: 2.5s; }
@keyframes hcs-spark {
    0%   { opacity: 0; transform: scale(0) translateY(0); }
    50%  { opacity: 1; transform: scale(1) translateY(-20px); }
    100% { opacity: 0; transform: scale(0) translateY(-40px); }
}

/* 404 Content */
.hcs-404__content { max-width: 520px; }
.hcs-404__content .section-eyebrow { display: block; margin-bottom: 12px; }
.hcs-404__title {
    font-size: clamp(22px, 3.5vw, 34px);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 14px;
    line-height: 1.25;
}
.hcs-404__desc {
    color: var(--gray-500);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* 404 Search */
.hcs-404__search { margin-bottom: 24px; }
.hcs-404__search-wrap {
    display: flex;
    align-items: center;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-full);
    padding: 6px 6px 6px 18px;
    gap: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.hcs-404__search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    background: #fff;
}
.hcs-404__search-wrap i { color: var(--gray-400); flex-shrink: 0; }
.hcs-404__search-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    font-family: var(--font);
    color: var(--gray-900);
    outline: none;
    min-width: 0;
}
.hcs-404__search-wrap input::placeholder { color: var(--gray-400); }

/* 404 Quick Links */
.hcs-404__links {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hcs-404__link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--gray-200);
    color: var(--gray-700);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    background: #fff;
}
.hcs-404__link:hover {
    border-color: var(--navy);
    color: var(--navy);
    background: var(--gray-50);
}
.hcs-404__link--primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.hcs-404__link--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
}

/* 404 Categories */
.hcs-404__categories { width: 100%; max-width: 560px; }
.hcs-404__categories-label {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.hcs-404__categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.hcs-404__cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #fff;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: var(--transition);
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
}
.hcs-404__cat-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    color: var(--primary);
}
.hcs-404__cat-card img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.hcs-404__cat-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
}

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

/* Tablet: ≤ 900px */
@media ( max-width: 900px ) {
    .hcs-about-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .hcs-about-stats__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .hcs-about-stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.2); }
    .hcs-about-stats__item:nth-last-child(-n+2) { border-bottom: none; }

    .hcs-about-story { grid-template-columns: 1fr; gap: 40px; }
    .hcs-about-story__image-wrap { max-width: 480px; margin: 0 auto; }

    .hcs-about-values { grid-template-columns: repeat(2, 1fr); }
    .hcs-about-services { grid-template-columns: repeat(2, 1fr); }
    .hcs-about-cta__inner { flex-direction: column; text-align: center; }
    .hcs-about-cta__actions { justify-content: center; }

    .hcs-contact-layout { grid-template-columns: 1fr; }
    .hcs-contact-info { order: -1; }

    .hcs-404__categories-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: ≤ 600px */
@media ( max-width: 600px ) {
    .hcs-page-hero { padding: 40px 0 36px; }
    .hcs-page-hero__content { margin-top: 16px; }

    .hcs-about-stats { padding: 24px 0; }
    .hcs-about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }

    .hcs-about-values { grid-template-columns: 1fr; }
    .hcs-about-services { grid-template-columns: 1fr; }
    .hcs-about-cta { padding: 44px 0; }
    .hcs-about-cta__actions .btn { width: 100%; justify-content: center; }

    .hcs-contact-form-card { padding: 24px 20px; }
    .hcs-contact-form__row { grid-template-columns: 1fr; gap: 0; }

    .hcs-404 { padding: 48px 0 64px; min-height: unset; }
    .hcs-404__inner { gap: 28px; }
    .hcs-404__links { flex-direction: column; align-items: center; }
    .hcs-404__link { width: 100%; max-width: 280px; justify-content: center; }
    .hcs-404__categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hcs-404__search-wrap { flex-wrap: wrap; border-radius: var(--radius-md); }
    .hcs-404__search-wrap .btn { width: 100%; justify-content: center; }
}