/* CiCC Theme 4.0.0 — Foundation Bundle (variables + reset + typography + layout + components + header + footer + patterns) */
/* === SOURCE: variables.css === */
/* ============================================================
   CiCC Theme 5.0.0 — CSS Variables & Design System
   Layer: base/variables
   ============================================================ */

@layer base {
  :root {
    /* ── Colors ── */
    --cicc-navy:       #102a43;
    --cicc-blue:       #1261a0;
    --cicc-blue-600:   #0b4f83;
    --cicc-blue-light: #2f80ed;
    --cicc-blue-dark:  #0b4f83;
    --cicc-blue-100:   #eef2ff;
    --cicc-cyan:       #00bcd4;
    --cicc-green:      #16a34a; /* Keep for specific green elements if needed */
    --cicc-green-100:  #dcfce7;
    --cicc-orange:     #f97316; /* Keep for specific orange elements if needed */
    --cicc-orange-100: #fff7ed;
    --cicc-gold:       #f59e0b;
    --cicc-yellow:     #facc15;
    --cicc-slate:      #64748b;
    --cicc-red:        #ef4444;
    --cicc-red-100:    #fef2f2;
    --cicc-purple:     #7c3aed; /* Keep for specific purple elements if needed */
    --cicc-purple-100: #f5f3ff;
    --cicc-white:      #ffffff;

    /* CiCC 4.0.0 Fresh Academic Premium palette. */
    --cicc-ink:        #102a43;
    --cicc-azure:      #2f80ed;
    --cicc-cyan-fresh: #00a6c7;
    --cicc-teal:       #0f8b8d;
    --cicc-ice:        #f3fafc;
    --cicc-mist:       #eaf4f7;
    --cicc-violet:     #6557c5;
    --cicc-amber:      #b45309;

    /* Compatibility aliases for existing Gutenberg patterns and editor CSS. */
    --navy:     var(--cicc-navy);
    --blue:     var(--cicc-blue);
    --blue-600: var(--cicc-blue-600);
    --green:    var(--cicc-green);
    --orange:   var(--cicc-orange);
    --purple:   var(--cicc-purple);
    --cyan:     var(--cicc-cyan);
    --red:      var(--cicc-red);
    --white:    var(--cicc-white);
    --bg:       #f3fafc;

    --gray-50:  #f3fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #486581;
    --gray-700: #334e68;
    --gray-800: #243b53;
    --gray-900: #102a43;

    /* ── Typography ── */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

    /* ── Type Scale ── */
    --text-xs:   0.75rem;    /* 12px */
    --text-sm:   0.875rem;   /* 14px */
    --text-base: 1rem;       /* 16px */
    --text-lg:   1.125rem;   /* 18px */
    --text-xl:   1.25rem;    /* 20px */
    --text-2xl:  1.5rem;     /* 24px */
    --text-3xl:  1.875rem;   /* 30px */
    --text-4xl:  2.25rem;    /* 36px */
    --text-5xl:  3rem;       /* 48px */
    --text-6xl:  3.75rem;    /* 60px */

    /* ── Fluid Sizes (clamp) ── */
    --text-hero:   clamp(2.25rem, 5vw, 3.75rem);
    --text-h1:     clamp(2rem, 4vw, 3rem);
    --text-h2:     clamp(1.625rem, 3vw, 2.5rem);
    --text-h3:     clamp(1.25rem, 2vw, 1.5rem);

    /* ── Spacing ── */
    --space-1:  0.25rem;  /* 4px */
    --space-2:  0.5rem;   /* 8px */
    --space-3:  0.75rem;  /* 12px */
    --space-4:  1rem;     /* 16px */
    --space-5:  1.25rem;  /* 20px */
    --space-6:  1.5rem;   /* 24px */
    --space-8:  2rem;     /* 32px */
    --space-10: 2.5rem;   /* 40px */
    --space-12: 3rem;     /* 48px */
    --space-14: 3.5rem;   /* 56px */
    --space-16: 4rem;     /* 64px */
    --space-20: 5rem;     /* 80px */
    --space-24: 6rem;     /* 96px */
    --space-28: 7rem;     /* 112px */
    --space-32: 8rem;     /* 128px */

    /* ── Container ── */
    --container-max:      1320px;
    --container-padding:  clamp(12px, 4vw, 24px);

    /* ── Border Radius ── */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-2xl:  20px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-xs:   0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md:   0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl:   0 20px 25px -5px rgba(0,0,0,0.12), 0 10px 10px -5px rgba(0,0,0,0.06);
    --shadow-2xl:  0 25px 50px -12px rgba(0,0,0,0.25);
    --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);

    /* ── Transition ── */
    --transition-fast:  150ms ease;
    --transition-base:  300ms ease;
    --transition-slow:  500ms ease;
    --transition-spring: 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* ── Z-Index ── */
    --z-dropdown:  100;
    --z-sticky:    200;
    --z-overlay:   300;
    --z-modal:     400;
    --z-toast:     500;
    --z-tooltip:   600;

    /* ── Gradients ── */
    --gradient-hero:    linear-gradient(135deg, #0f172a 0%, #0057a3 40%, #3b82f6 100%);
    --gradient-hero-purple: linear-gradient(135deg, #0f172a 0%, #3b0764 40%, #7c3aed 100%);
    --gradient-hero-green:  linear-gradient(135deg, #0f172a 0%, #064e3b 40%, #16a34a 100%);
    --gradient-hero-orange: linear-gradient(135deg, #0f172a 0%, #7c2d12 40%, #f97316 100%);
    --gradient-hero-cyan:   linear-gradient(135deg, #0f172a 0%, #004d40 40%, #00bcd4 100%);
    --gradient-cta:     linear-gradient(135deg, #0f172a 0%, #0057a3 50%, #0077be 100%);
    --gradient-card:    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));

    /* ── Glass ── */
    --glass-bg:         rgba(255, 255, 255, 0.08);
    --glass-border:     rgba(255, 255, 255, 0.15);
    --glass-blur:       blur(12px);

    /* ── Animation ── */
    --ease-spring:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce:      cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth:      cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast:    150ms;
    --duration-normal:  300ms;
    --duration-slow:    600ms;

    /* ── Header Heights ── */
    --topbar-height:  36px;
    --header-height:  68px;
    --total-header-height: calc(var(--topbar-height) + var(--header-height));
  }
}

/* === SOURCE: reset.css === */
/* ============================================================
   CiCC Theme 5.0.0 — Reset & Base
   Layer: base/reset
   ============================================================ */

@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    min-height: 100vh;
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--cicc-white);
  }

  /* ── Images ── */
  img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
  }

  img:not([width]):not([height]) {
    max-width: 100%;
    height: auto;
  }

  /* ── Form Elements ── */
  input, button, textarea, select {
    font: inherit;
    color: inherit;
  }

  button {
    cursor: pointer;
    border: none;
    background: none;
  }

  /* ── Links ── */
  a {
    color: var(--cicc-blue);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  a:hover {
    color: var(--cicc-blue-600);
  }

  /* ── Lists ── */
  ul, ol {
    list-style: none;
  }

  /* ── Headings ── */
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    color: var(--gray-900);
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  h1 { font-size: var(--text-h1); }
  h2 { font-size: var(--text-h2); }
  h3 { font-size: var(--text-h3); }
  h4 { font-size: var(--text-xl); }
  h5 { font-size: var(--text-lg); }
  h6 { font-size: var(--text-base); text-transform: uppercase; letter-spacing: 0.05em; }

  p { overflow-wrap: break-word; }

  /* ── Focus ── */
  :focus-visible {
    outline: 2px solid var(--cicc-blue);
    outline-offset: 2px;
  }

  /* ── Selection ── */
  ::selection {
    background: var(--cicc-blue);
    color: var(--cicc-white);
  }

  /* ── Scroll anchor offset ── */
  :target,
  section[id],
  [id^="tab-"] {
    scroll-margin-block: calc(var(--total-header-height) + var(--space-4));
  }
}

/* === SOURCE: typography.css === */
/* ============================================================
   CiCC Theme 5.0.0 — Typography & Fluid Type
   Layer: base/typography
   ============================================================ */

@layer base {
  /* ── Fluid Hero Heading ── */
  .hero-title {
    font-family: var(--font-heading);
    font-size: var(--text-hero);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--cicc-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

  .hero-subtitle {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── Section Title ── */
  .section-title {
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    line-height: 1.15;
  }

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

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

  .section-desc--light {
    color: rgba(255,255,255,0.75);
  }

  /* ── Section Tag (Pill) ── */
  .section-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 5px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--cicc-blue-100);
    color: var(--cicc-blue);
    margin-bottom: var(--space-4);
  }

  .section-tag--light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.2);
  }

  /* ── Badge ── */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
  }

  .badge--blue   { background: var(--cicc-blue-100); color: var(--cicc-blue); }
  .badge--green  { background: var(--cicc-green-100); color: var(--cicc-green); }
  .badge--orange { background: var(--cicc-orange-100); color: var(--cicc-orange); }
  .badge--red    { background: var(--cicc-red-100); color: var(--cicc-red); }
  .badge--gray   { background: var(--gray-100); color: var(--gray-600); }
  .badge--purple { background: #f3e8ff; color: var(--cicc-purple); }

  /* ── Stat Number ── */
  .stat-number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1;
    color: var(--cicc-white);
  }

  .stat-number--sm {
    font-size: var(--text-2xl);
  }

  .stat-number--lg {
    font-size: var(--text-5xl);
  }

  .stat-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.65);
    margin-top: var(--space-1);
    display: block;
  }

  /* ── Card Title ── */
  .card-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
  }

  .card-desc {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
  }

  /* ── Link with arrow ── */
  .link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--cicc-blue);
    transition: gap var(--transition-base);
  }
  .link-arrow:hover {
    gap: 10px;
    color: var(--cicc-blue-600);
  }

  /* ── Small / Meta ── */
  .text-meta {
    font-size: var(--text-xs);
    color: var(--gray-400);
    line-height: 1.5;
  }

  /* ── Price ── */
  .price {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--cicc-blue);
    line-height: 1;
  }

  .price del {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-left: var(--space-2);
  }

  /* ── Entry Content (Post/Page body) ── */
  .entry-content {
    color: var(--gray-800);
    line-height: 1.8;
  }
  .entry-content p {
    color: var(--gray-700);
    margin-bottom: 1.2em;
  }

  /* ── Blockquote ── */
  blockquote {
    border-left: 4px solid var(--cicc-blue);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-8) 0;
    background: var(--gray-50);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-style: italic;
    color: var(--gray-600);
  }
}

/* === SOURCE: layout.css === */
/* ============================================================
   CiCC Theme 5.0.0 — Layout: Container, Grid, Section
   Layer: base/layout
   ============================================================ */

html, body { overflow-x: hidden; }
@layer base {
  /* ── Container ── */
  .container {
    width: 100%;
    max-width: var(--container-max, 1320px);
    margin-inline: auto !important;
    padding-inline: var(--container-padding, 24px);
  }

  .container--narrow {
    max-width: 800px;
    margin-inline: auto !important;
  }

  .site-main {
    width: 100%;
  }

  .container--wide {
    max-width: 1400px;
    margin-inline: auto !important;
  }

  @media (max-width: 768px) {
    :root { --container-padding: clamp(12px, 4vw, 16px); }
  }

  /* ── Section ── */
  .section {
    padding: var(--space-20) 0;
  }

  .section--sm  { padding: var(--space-12) 0; }
  .section--lg  { padding: var(--space-28) 0; }
  .section--xl  { padding: var(--space-32) 0; }

  .section--alt {
    background: var(--gray-50);
  }

  .section--dark {
    background: var(--gray-900);
    color: var(--cicc-white);
  }

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

  @media (max-width: 768px) {
    .section { padding: var(--space-14) 0; }
    .section--lg { padding: var(--space-20) 0; }
  }

  /* ── Section Header ── */
  .section-header {
    text-align: center;
    margin-bottom: var(--space-14);
  }

  .section-header--left {
    text-align: left;
  }

  @media (max-width: 768px) {
    .section-header { margin-bottom: var(--space-10); }
  }

  /* ── Grid ── */
  .grid {
    display: grid;
    gap: var(--space-6);
  }

  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--5 { grid-template-columns: repeat(5, 1fr); }

  @media (max-width: 1024px) {
    .grid--5 { grid-template-columns: repeat(3, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 768px) {
    .grid--2,
    .grid--3,
    .grid--4,
    .grid--5 { grid-template-columns: 1fr; }
  }

  /* ── Two-column ── */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-10);
    align-items: start;
  }

  @media (max-width: 1024px) {
    .two-col { grid-template-columns: 1fr; }
  }
}

/* === SOURCE: components.css === */
/* ============================================================
   CiCC Theme 5.0.0 — Components
   Layer: components
   ============================================================ */

@layer components {
  /* ===========================
     SCROLL PROGRESS BAR
     =========================== */
  .scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0057a3 0%, #D4A574 100%);
    transform: scaleX(0);
    transform-origin: left;
    z-index: 99999;
    pointer-events: none;
    transition: opacity 0.3s ease;
     opacity: 1;
     visibility: hidden;
  }
   .scroll-progress.visible {
     opacity: 1;
     visibility: visible;
  }

  /* ===========================
     BUTTONS
     =========================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.3;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  .btn:active {
    transform: translateY(0);
  }

  .btn--primary {
    background: var(--cicc-blue);
    color: var(--cicc-white);
    border-color: var(--cicc-blue);
  }
  .btn--primary:hover {
    background: var(--cicc-blue-600);
    border-color: var(--cicc-blue-600);
    color: var(--cicc-white);
  }

  .btn--accent {
    background: var(--cicc-orange);
    color: var(--cicc-white);
    border-color: var(--cicc-orange);
  }
  .btn--accent:hover {
    background: #ea580c;
    border-color: #ea580c;
    color: var(--cicc-white);
  }

  .btn--outline {
    background: transparent;
    color: var(--cicc-blue);
    border-color: var(--cicc-blue);
  }
  .btn--outline:hover {
    background: var(--cicc-blue);
    color: var(--cicc-white);
  }

  .btn--outline-white {
    background: transparent;
    color: var(--cicc-white);
    border-color: rgba(255,255,255,0.5);
  }
  .btn--outline-white:hover {
    background: var(--cicc-white);
    color: var(--cicc-blue);
    border-color: var(--cicc-white);
  }

  .btn--ghost {
    background: transparent;
    color: var(--cicc-blue);
    border-color: transparent;
  }
  .btn--ghost:hover {
    background: var(--cicc-blue-100);
    transform: none;
    box-shadow: none;
  }

  .btn--white {
    background: var(--cicc-white);
    color: var(--cicc-blue);
    border-color: var(--cicc-white);
  }
  .btn--white:hover {
    background: transparent;
    color: var(--cicc-white);
  }

  .btn--sm  { padding: 8px 18px; font-size: var(--text-xs); }
  .btn--lg  { padding: 16px 36px; font-size: var(--text-base); }
  .btn--full { width: 100%; }

  /* ===========================
     CARD
     =========================== */
  .card {
    background: var(--cicc-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-spring);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
  }

  .card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
  }

  .card__thumb {
    position: relative;
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
  }

  .card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--transition-spring);
  }

  .card:hover .card__thumb img {
    transform: scale(1.07);
  }

  .card__thumb .card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15,23,42,0.5) 0%, transparent 50%);
    z-index: 1;
  }

  .card__badges {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    display: flex;
    gap: var(--space-2);
    z-index: 2;
    flex-wrap: wrap;
  }

  .card__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    backdrop-filter: blur(4px);
    background: rgba(0,87,163,0.9);
    color: var(--cicc-white);
  }

  .card__badge--sale {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    left: auto;
    z-index: 2;
    background: rgba(239,68,68,0.92);
    animation: pulse-badge 2s infinite;
  }

  @keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
  }

  .card__badge--price {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    left: auto;
    z-index: 2;
    background: rgba(249,115,22,0.95);
    font-weight: 700;
  }

  .card__body {
    padding: var(--space-5) var(--space-6) var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }

  .card__body h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card__body p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card__footer {
    margin-top: auto;
    padding-top: var(--space-3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-100);
  }

  /* ===========================
     PILLAR CARD (icon card)
     =========================== */
  .pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--cicc-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-decoration: none;
    transition: all var(--transition-spring);
  }

  .pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
  }

  .pillar-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-5);
    font-size: 0;
    transition: transform var(--transition-base);
  }

  .pillar-card:hover .pillar-card__icon {
    transform: scale(1.1);
  }

  .pillar-card__icon svg {
    width: 36px;
    height: 36px;
  }

  .pillar-card h3 {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
  }

  .pillar-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
    flex: 1;
  }

  /* ===========================
     HERO
     =========================== */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--total-header-height);
  }

  .hero--sm {
    min-height: auto;
    padding: calc(var(--total-header-height) + var(--space-20)) 0 var(--space-16);
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .hero--blue .hero__bg {
    background: linear-gradient(135deg, #0f172a 0%, #0057a3 40%, #3b82f6 100%);
  }

  .hero--purple .hero__bg {
    background: linear-gradient(135deg, #0f172a 0%, #3b0764 40%, #7c3aed 100%);
  }

  .hero--green .hero__bg {
    background: linear-gradient(135deg, #0f172a 0%, #064e3b 40%, #16a34a 100%);
  }

  .hero--orange .hero__bg {
    background: linear-gradient(135deg, #0f172a 0%, #7c2d12 40%, #f97316 100%);
  }

  .hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--cicc-white);
    padding: var(--space-8) 0;
    max-width: 800px;
  }

  .hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 22px;
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(8px);
    margin-bottom: var(--space-6);
  }

  .hero__stats {
    display: flex;
    justify-content: center;
    gap: var(--space-10);
    margin-top: var(--space-10);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255,255,255,0.12);
  }

  .hero__stat {
    text-align: center;
  }

  .hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .hero__scroll-arrow {
    display: block;
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255,255,255,0.5);
    border-bottom: 2px solid rgba(255,255,255,0.5);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
  }

  @keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.4; }
    50% { transform: rotate(45deg) translateY(8px); opacity: 1; }
  }

  @media (max-width: 768px) {
    .hero__stats {
      flex-wrap: wrap;
      gap: var(--space-6);
    }
    .hero--sm {
      padding: calc(var(--total-header-height) + var(--space-12)) 0 var(--space-10);
    }
  }

  /* ===========================
     CTA
     =========================== */
  .cta-section {
    text-align: center;
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, #0f172a 0%, #0057a3 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .cta-section .container {
    position: relative;
    z-index: 1;
  }

  .cta-section__title {
    font-size: var(--text-h2);
    font-weight: 800;
    color: var(--cicc-white);
    margin-bottom: var(--space-4);
  }

  .cta-section__desc {
    font-size: var(--text-lg);
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-8);
  }

  .cta-section__actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
  }

  /* ===========================
     3 CARDS (Hero CTA)
     =========================== */
  .hero-cta-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  .hero-cta-card {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-spring);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
  }

  .hero-cta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.35);
  }

  .hero-cta-card .cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: var(--space-4);
    transition: transform var(--transition-base);
  }

  .hero-cta-card:hover .cta-icon {
    transform: scale(1.15);
  }

  .hero-cta-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-2);
    color: var(--gray-900);
  }

  .hero-cta-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: var(--space-5);
    flex: 1;
  }

  @media (max-width: 768px) {
    .hero-cta-cards { grid-template-columns: 1fr; }
  }

  /* ===========================
     FILTER BAR
     =========================== */
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    padding: var(--space-5) var(--space-6);
    background: var(--cicc-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-10);
  }

  .filter-bar__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: 500;
    border: 1.5px solid var(--gray-200);
    background: var(--cicc-white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
    line-height: 1.3;
    text-decoration: none;
  }

  .filter-bar__btn:hover {
    border-color: var(--cicc-blue);
    color: var(--cicc-blue);
    background: var(--cicc-blue-100);
  }

  .filter-bar__btn--active {
    background: var(--cicc-blue);
    border-color: var(--cicc-blue);
    color: var(--cicc-white);
  }

  .filter-bar__btn--active:hover {
    background: var(--cicc-blue-600);
    color: var(--cicc-white);
  }

  .filter-bar__btn .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 600;
    background: rgba(0,0,0,0.06);
  }

  .filter-bar__btn--active .count {
    background: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
  }

  /* ===========================
     PAGINATION
     =========================== */
  .pagination {
    display: flex;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-12);
  }

  .pagination a,
  .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: 1.5px solid var(--gray-200);
    background: var(--cicc-white);
    color: var(--gray-600);
  }

  .pagination a:hover {
    border-color: var(--cicc-blue);
    color: var(--cicc-blue);
  }

  .pagination .current {
    background: var(--cicc-blue);
    border-color: var(--cicc-blue);
    color: var(--cicc-white);
  }

  /* ===========================
     BREADCRUMB
     =========================== */
  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    align-items: center;
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--space-4);
    justify-content: center;
  }

  .breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
  }

  .breadcrumb a:hover {
    color: var(--cicc-white);
  }

  .breadcrumb__sep {
    color: rgba(255,255,255,0.35);
  }

  /* ===========================
     SECTION DIVIDER (SVG Wave)
     =========================== */
  .section-divider {
    position: relative;
    width: 100%;
    height: 80px;
    margin-top: -1px;
    overflow: hidden;
  }

  .section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .section-divider--flip {
    transform: rotate(180deg);
  }

  /* ===========================
     GLASS CARD
     =========================== */
  .card--glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .card--glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
  }

  /* ===========================
     GLOW BUTTON
     =========================== */
  .btn--glow {
    position: relative;
    overflow: hidden;
  }

  .btn--glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #06b6d4);
    z-index: -1;
     opacity: 1;
    transition: opacity var(--transition-base);
    filter: blur(8px);
  }

   .btn--glow:hover::after {
     opacity: 0.6;
  }

  /* ===========================
     ANIMATED FADE-IN
     =========================== */
  .fade-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in-left {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  }

  .fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .fade-in-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
  }

  .fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
  }

  .scale-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
  }

  .scale-in.visible {
    opacity: 1;
    transform: scale(1);
  }

  /* ===========================
     STAT COUNTER
     =========================== */
  .stat-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2);
  }

  .stat-counter__number {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--cicc-blue), var(--cicc-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .stat-counter__number--white {
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
  }

  .stat-counter__label {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
  }

  .stat-counter__label--light {
    color: rgba(255,255,255,0.6);
  }

  /* ===========================
     PROCESS STEPS (Horizontal)
     =========================== */
  .process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-6);
    counter-reset: process-step;
  }

  .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    counter-increment: process-step;
  }

  .process-step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--cicc-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    font-weight: 800;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 1;
  }

  .process-step::after {
    content: '';
    position: absolute;
    top: 28px;
    left: 56px;
    right: -56px;
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
  }

  .process-step:last-child::after {
    display: none;
  }

  .process-step h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-2);
  }

  .process-step p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .process-step::after { display: none; }
  }

  /* ===========================
     TESTIMONIAL CARD
     =========================== */
  .testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-8) var(--space-6);
    text-align: center;
    transition: all var(--transition-base);
  }

  .testimonial-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
  }

  .testimonial-card__stars {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    letter-spacing: 2px;
  }

  .testimonial-card__quote {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-5);
  }

  .testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0 auto var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: var(--text-base);
  }

  .testimonial-card__name {
    font-weight: 600;
    color: #fff;
    font-size: var(--text-sm);
  }

  .testimonial-card__role {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--text-xs);
    margin-top: 2px;
  }

  /* ===========================
     FEATURE GRID (Bento)
     =========================== */
  .feature-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .feature-bento > :first-child {
    grid-column: span 2;
  }

  @media (max-width: 768px) {
    .feature-bento {
      grid-template-columns: 1fr;
    }
    .feature-bento > :first-child {
      grid-column: span 1;
    }
  }

  /* ===========================
     APP CARD (Landing)
     =========================== */
  .app-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
  }

  .app-feature--reverse {
    direction: rtl;
  }

  .app-feature--reverse > * {
    direction: ltr;
  }

  @media (max-width: 768px) {
    .app-feature {
      grid-template-columns: 1fr;
      gap: var(--space-8);
    }
    .app-feature--reverse {
      direction: ltr;
    }
  }

  /* ===========================
     AUTHOR BOX
     =========================== */
  .author-box {
    display: flex;
    gap: var(--space-6);
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    align-items: center;
  }

  .author-box__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--cicc-blue), var(--cicc-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--text-2xl);
    font-weight: 700;
  }

  .author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .author-box__body h4 {
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-1);
  }

  .author-box__body p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
  }

  @media (max-width: 640px) {
    .author-box { flex-direction: column; text-align: center; }
  }

  /* ===========================
     RELATED POSTS
     =========================== */
  .related-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
  }

  @media (max-width: 768px) {
    .related-posts { grid-template-columns: 1fr; }
  }

  /* ===========================
     TABLE OF CONTENTS
     =========================== */
  .post-toc {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
  }

  .post-toc__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    user-select: none;
  }

  .post-toc__toggle {
    font-size: var(--text-xs);
    transition: transform 0.25s;
  }

  .post-toc__toggle--open {
    transform: rotate(180deg);
  }

  .post-toc__list {
    list-style: none;
    padding: 0;
    margin: var(--space-4) 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
  }

  .post-toc__list li a {
    display: block;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    color: var(--gray-600);
    text-decoration: none;
    transition: all var(--transition-fast);
    border-left: 2px solid transparent;
  }

  .post-toc__list li a:hover {
    background: var(--cicc-blue-100);
    color: var(--cicc-blue);
    border-left-color: var(--cicc-blue);
  }

  .post-toc__list .toc-h3 { padding-left: 28px; font-size: var(--text-xs); }

  /* ===========================
     READING PROGRESS BAR
     =========================== */
  .progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--cicc-blue), var(--cicc-purple));
    z-index: var(--z-toast);
    transition: width 0.1s linear;
  }

  /* ===========================
     SOCIAL SHARE
     =========================== */
  .social-share {
    display: flex;
    gap: var(--space-2);
    align-items: center;
  }

  .social-share__label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gray-500);
    margin-right: var(--space-2);
  }

  .social-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--gray-200);
    background: var(--cicc-white);
    color: var(--gray-500);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: 0.875rem;
  }

  .social-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
  }

  .social-share__btn--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
  .social-share__btn--li:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
  .social-share__btn--za:hover { background: #0068ff; color: #fff; border-color: #0068ff; }
  .social-share__btn--tw:hover { background: #000; color: #fff; border-color: #000; }

}

/* === SOURCE: header.css === */
/* ============================================================
   CiCC Theme 5.0.0 — Header (Unified across ecosystem)
   Class naming matches lean.vn / leansigmavn.com
   ============================================================ */

@layer components {
  /* ===========================
     TOP BAR
     =========================== */
  .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: #ffffff;
    border-bottom: 1px solid var(--gray-100);
    z-index: var(--z-sticky);
    display: flex;
  }

  .top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
    width: 100%;
  }

  .top-bar-left {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
  }

  .top-lang {
    color: var(--gray-400);
    text-decoration: none;
    font-weight: 500;
    font-size: 11px;
    transition: color var(--transition-fast);
    padding: 2px 6px;
    border-radius: 4px;
  }
  .top-lang:hover { color: var(--cicc-blue); background: var(--gray-100); }
  .top-lang.active { color: var(--cicc-blue); font-weight: 600; background: var(--cicc-blue-100); }

  .top-lang-sep { color: var(--gray-200); font-size: 9px; }
  .top-sep { color: var(--gray-200); font-size: 10px; margin: 0 4px; }

  .top-bar-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 16px;
  }

  .top-search-form-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 0 12px;
    width: 100%;
    height: 26px;
    transition: border 0.2s, background 0.2s;
  }
  .top-search-form-inline:focus-within {
    border-color: var(--cicc-blue);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(0,87,163,0.08);
  }

  .top-search-icon { flex-shrink: 0; color: var(--gray-300); }

  .top-search-form-inline input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--gray-700);
    font-size: 12px;
    min-width: 0;
  }

  .top-search-form-inline input::placeholder {
    color: var(--gray-400);
    font-size: 11px;
  }

  .top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .top-phone, .top-email, .top-login-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-500);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 500;
    transition: color var(--transition-fast);
    white-space: nowrap;
  }

  .top-phone svg, .top-email svg, .top-login-text svg {
    flex-shrink: 0;
    color: var(--gray-400);
  }

  .top-phone:hover, .top-email:hover, .top-login-text:hover { color: var(--cicc-blue); }
  .top-phone:hover svg, .top-email:hover svg, .top-login-text:hover svg { color: var(--cicc-blue); }

  .top-cta {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-left: 6px;
    color: #fff !important;
    letter-spacing: 0.02em;
    position: relative;
  }
  .top-cta--trial {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    box-shadow: 0 2px 8px rgba(22,163,74,0.3);
  }
  .top-cta--trial:hover {
    background: linear-gradient(135deg, #15803d, #16a34a);
    box-shadow: 0 4px 14px rgba(22,163,74,0.45);
    transform: translateY(-1px);
    color: #fff !important;
  }
  .top-cta--trial:active {
    transform: translateY(0);
  }
  .top-cta--contact {
    background: linear-gradient(135deg, #0057a3, #3b82f6);
    box-shadow: 0 2px 8px rgba(0,87,163,0.3);
  }
  .top-cta--contact:hover {
    background: linear-gradient(135deg, #004080, #0057a3);
    box-shadow: 0 4px 14px rgba(0,87,163,0.45);
    transform: translateY(-1px);
    color: #fff !important;
  }
  .top-cta--contact:active {
    transform: translateY(0);
  }

  .top-login-text {
    background: var(--cicc-blue-100);
    color: var(--cicc-blue);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
  }

  .top-btn-register {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: var(--cicc-orange);
    color: #ffffff;
    text-decoration: none;
    transition: all var(--transition-fast);
  }
  .top-btn-register:hover {
    background: #ea580c;
    color: #ffffff;
  }

  @media (max-width: 1024px) {
    .top-bar-center { display: none; }
    .top-phone span, .top-email { display: none; }
  }
  @media (max-width: 768px) {
    .top-bar { display: none !important; } /* Hide the entire top bar on small screens */
    .site-header { position: sticky !important; top: 0 !important; } /* Make header sticky to top */
    .header-inner { height: var(--header-height); align-items: center; }
    .logo { flex-grow: 1; }
    .header-actions { flex-shrink: 0; }
  }

  /* ===========================
     SITE HEADER
     =========================== */
  .site-header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    z-index: var(--z-sticky);
    transition: background 0.3s, border-bottom 0.3s, box-shadow 0.3s, transform 0.35s ease;
  }

  .site-header.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
  }

  .site-header.hidden {
    transform: translateY(-100%);
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 var(--container-padding);
    max-width: var(--container-max);
    margin: 0 auto;
  }

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
  }

  .logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
  }

  .logo-icon {
    font-size: 24px;
    line-height: 1;
  }

  .logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--cicc-navy);
    letter-spacing: -1px;
    line-height: 1;
  }

  .logo-text-suffix {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 0;
    display: block;
    line-height: 1.2;
  }

  /* ===========================
     NAVIGATION
     =========================== */
  .main-nav { display: flex; }

  .nav-list {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-list li {
    position: relative;
    display: flex;
    align-items: center;
    height: var(--header-height);
  }

  .nav-list > li > a {
    display: flex;
    align-items: center;
    font-size: 13px;
    padding: 0 10px;
    gap: 4px;
    padding: 6px 12px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
  }

  .nav-list > li > a:hover,
  .nav-list > .current-menu-item > a,
  .nav-list > .current_page_item > a {
    color: var(--cicc-blue);
    background: var(--cicc-blue-100);
  }

  .nav-arrow {
    font-size: 9px;
    margin-left: 2px;
    transition: transform 0.2s;
    display: inline-block;
  }

  .nav-list li:hover > a .nav-arrow {
    transform: rotate(180deg);
  }

  /* ===========================
     MEGA MENU
     =========================== */
  .nav-list li.menu-item-has-children { position: static; }

  .mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-6);
    z-index: var(--z-dropdown);
  }

  .nav-list li:hover .mega-menu {
    display: block;
    animation: megaFadeIn 0.2s ease;
  }

  @keyframes megaFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mega-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
  }

  .mega-inner--5col {
    grid-template-columns: repeat(5, 1fr);
  }

  .mega-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mega-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--gray-100);
  }

  .mega-count {
    font-size: 10px;
    font-weight: 700;
    color: var(--cicc-blue);
    background: var(--cicc-blue-100);
    display: inline-block;
    padding: 1px 10px;
    border-radius: 20px;
    margin-bottom: var(--space-2);
    letter-spacing: 0.02em;
  }

  .mega-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
    line-height: 1.3;
  }

  .mega-col a:hover {
    background: var(--cicc-blue-100);
    color: var(--cicc-blue);
    padding-left: 14px;
  }

  .mega-col a.mega-all {
    margin-top: 4px;
    font-weight: 700;
    color: var(--cicc-blue);
    font-size: 12px;
    border-top: 1px solid var(--gray-100);
    padding-top: 10px;
    border-radius: 0;
  }

  .mega-col a.mega-all:hover {
    background: none;
    color: var(--cicc-blue-600);
    padding-left: 14px;
  }
  .mega-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
  }
  .mega-feat-item:hover {
    background: var(--cicc-blue-100);
    color: var(--cicc-blue);
  }

  .mega-feat-icon {
    font-size: 18px;
    width: 32px;
    text-align: center;
  }

  .mega-feat-item small {
    font-weight: 400;
    font-size: 11px;
    color: var(--gray-400);
    display: block;
  }

  .mega-all {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cicc-blue);
    border-top: 1px solid var(--gray-100);
    padding-top: 10px;
  }
  .mega-feat-btn {
    padding: 10px;
    margin-top: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--cicc-blue);
    border: 1px dashed var(--gray-200);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
  }
  .mega-feat-btn:hover {
    background: var(--cicc-blue);
    color: #ffffff;
    border-color: var(--cicc-blue);
  }

  /* Sub-menu (regular dropdown for non-mega) */
  .nav-list ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: var(--z-dropdown);
  }

  .nav-list li:hover > ul.sub-menu {
    display: block;
    animation: headerFadeIn 0.2s ease;
  }

  @keyframes headerFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-list ul.sub-menu li { height: auto; }
  .nav-list ul.sub-menu a {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: var(--radius-md);
  }
  .nav-list ul.sub-menu a:hover {
    background: var(--gray-50);
  }

  /* ===========================
     HEADER ACTIONS
     =========================== */
  .header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  .btn-header-search {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    border: 2px solid #94a3b8;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  .btn-header-search:hover {
    background: linear-gradient(135deg, var(--cicc-blue-100), #eef2ff);
    border-color: var(--cicc-blue);
    box-shadow: 0 0 16px rgba(0,87,163,0.15);
    transform: scale(1.03);
  }
  .btn-header-search svg {
    stroke: var(--gray-400);
    transition: stroke 0.3s;
  }
  .btn-header-search:hover svg {
    stroke: var(--cicc-blue);
  }
  .btn-header-search span {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    transition: color 0.3s;
    letter-spacing: 0.02em;
  }
  .btn-header-search:hover span {
    color: var(--cicc-blue);
  }
  .mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: all var(--transition-fast);
    background: none;
    border: none;
    cursor: pointer;
  }
  .btn-header-search:hover {
    background: var(--gray-50);
    color: var(--cicc-blue);
  }

  .btn-header-trial {
    padding: 7px 18px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    background: transparent;
    color: var(--cicc-blue);
    border: 1.5px solid var(--cicc-blue);
  }
  .btn-header-trial:hover {
    background: var(--cicc-blue);
    color: #ffffff;
    transform: translateY(-1px);
  }

  .btn-header-register {
    padding: 7px 18px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    background: var(--cicc-orange);
    color: #ffffff;
  }
  .btn-header-register:hover {
    background: #ea580c;
    transform: translateY(-1px);
    color: #ffffff;
  }

  /* Mobile Toggle */
  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--gray-600);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
  }
  .mobile-toggle:hover {
    background: var(--gray-100);
  }

  .icon-menu { width: 24px; height: 24px; }

  @media (max-width: 1024px) {
    .main-nav { display: none; }
    .header-actions .btn-header-trial,
    .header-actions .btn-header-register { display: none; }
    .mobile-toggle { display: flex; }
  }

  @media (max-width: 480px) {
    .header-inner { min-width: 0; padding-left: 12px; padding-right: 12px; }
    .header-actions { gap: 4px; min-width: 0; }
    .header-actions .btn-header-search { display: none; }
    .mobile-toggle { flex: 0 0 auto; }
  }

  /* ===========================
     SEARCH OVERLAY
     =========================== */
  .search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15,23,42,0.97);
    align-items: center;
    justify-content: center;
    padding: var(--space-6);
    min-height: 300px;
  }
  .search-overlay--open { display: flex; }

  .search-overlay__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: var(--text-xl);
    border: none;
    cursor: pointer;
  }

  .search-overlay__box { width: 100%; max-width: 560px; }

  .search-overlay__box input {
    width: 100%;
    padding: 16px 24px;
    font-size: var(--text-lg);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    outline: none;
    font-family: inherit;
  }
  .search-overlay__box input:focus {
    border-color: var(--cicc-blue-light);
  }
  .search-overlay__box input::placeholder {
    color: rgba(255,255,255,0.4);
  }

  /* ===========================
     MOBILE NAV (Premium Overlay)
     =========================== */
  .mobile-nav {
    display: none;
    position: fixed;
    top: var(--total-header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: var(--z-overlay);
    padding: var(--space-6);
    overflow-y: auto;
  }
  .mobile-nav--open { display: block; }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
  }

  .mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ffffff;
    cursor: pointer;
    transition: background var(--transition-fast);
  }
  .mobile-close-btn:hover { background: rgba(255,255,255,0.2); }

  .mobile-search-form {
    margin-bottom: var(--space-6);
  }

  .mobile-search-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
  }
  .mobile-search-form input:focus {
    border-color: var(--cicc-blue-light);
  }
  .mobile-search-form input::placeholder {
    color: rgba(255,255,255,0.35);
  }

  .mobile-nav-group {
    margin-bottom: var(--space-5);
  }

  .mobile-nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.3);
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .mobile-nav-group a {
    display: block;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all var(--transition-fast);
  }
  .mobile-nav-group a:hover {
    color: #ffffff;
    padding-left: 8px;
  }

  .mobile-nav-contact {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }

  .mobile-nav-contact a {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  .mobile-nav-contact a:hover { color: #ffffff; }

  .mobile-eco {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
  }

  .mobile-eco > span {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.3);
    margin-bottom: var(--space-3);
  }

  .mobile-eco-links {
    display: flex;
    gap: var(--space-3);
  }

  .mobile-eco-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all var(--transition-fast);
  }
  .mobile-eco-links a:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
  }
}

/* Mobile nav: compact accordion hierarchy for focused navigation. */
@media(max-width:767px){
  .mobile-nav{padding:20px 16px 28px;background:linear-gradient(160deg,#0b1730 0%,#111d35 58%,#162947 100%);}
  .mobile-nav-header{max-width:420px;margin:0 auto 16px;padding-bottom:14px;}
  .mobile-nav-logo{font-size:22px;letter-spacing:-.04em;}
  .mobile-search-form{max-width:420px;margin:0 auto 14px;}
  .mobile-search-form input{height:46px;padding:0 14px;border-radius:13px!important;}
  .mobile-nav-list{max-width:420px;margin:0 auto;display:flex;flex-direction:column;gap:10px;}
  .mobile-nav-group{margin:0;padding:0 12px;border:1px solid rgba(148,163,184,.16);border-radius:14px;background:rgba(255,255,255,.045);overflow:hidden;}
  .mobile-nav-group.mobile-nav-ai-group{border-color:rgba(56,189,248,.38);background:linear-gradient(135deg,rgba(3,105,161,.82),rgba(14,116,144,.58));box-shadow:0 10px 26px rgba(2,132,199,.16);}
  .mobile-nav-label{min-height:44px;margin:0;padding:0;border:0;}
  .mobile-nav-group:not(.mobile-nav-ai-group) .mobile-nav-label{font-size:12px;letter-spacing:.08em;color:rgba(226,232,240,.72)!important;}
  .mobile-nav-group:not(.is-collapsed) .mobile-nav-label{border-bottom:1px solid rgba(148,163,184,.14);}
  .mobile-nav-group a{padding:11px 4px;border-bottom:1px solid rgba(148,163,184,.1);font-size:14px;}
  .mobile-nav-group a:last-child{border-bottom:0;}
  .mobile-nav-contact{max-width:420px;margin:4px auto 0;padding:14px 12px 0;border-top:1px solid rgba(148,163,184,.14);gap:8px;}
  .mobile-nav-contact a{font-size:12px;}
  .mobile-nav-contact .btn{min-height:44px;margin-top:4px;border-radius:12px;}
  .mobile-eco{max-width:420px;margin:4px auto 0;padding:12px;border-radius:14px;background:rgba(255,255,255,.055);}
  .mobile-eco-links{flex-wrap:wrap;gap:6px;}
  .mobile-eco-links a{padding:6px 10px;font-size:11px;}
  .mobile-search-form input{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.2)!important;}
  .mobile-search-form input::placeholder{color:rgba(255,255,255,.55)!important;}
  .mobile-nav-label{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;color:rgba(255,255,255,.55)!important;}
  .mobile-nav-label::after{content:'−';color:#7dd3fc;font-size:18px;font-weight:400;line-height:1;}
  .mobile-nav-group.is-collapsed .mobile-nav-label::after{content:'+';}
  .mobile-nav-group.is-collapsed>a{display:none;}
  .mobile-nav-group a{color:#dbeafe!important;padding:11px 0;font-size:15px;}
  .mobile-nav-group a:hover{color:#fff!important;background:rgba(255,255,255,.06);padding-left:10px;}
}

/* === SOURCE: footer.css === */
/* ============================================================
   CiCC Theme 5.0.0 — Footer (Unified across ecosystem)
   Class naming matches lean.vn / leansigmavn.com
   ============================================================ */

@layer components {
  .site-footer {
    background: var(--gray-900);
    color: rgba(255,255,255,0.7);
    padding-top: 60px;
  }

  /* ── Brand Row (3 ecosystem logos) ── */
  .footer-brand-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: var(--space-10);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-wrap: wrap;
  }

  .footer-brand-item {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: opacity var(--transition-fast);
  }
  .footer-brand-item:hover { opacity: 0.8; }

  .brand-logo-text {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
  }

  .brand-cicc {
    color: #ffffff;
  }

  .brand-lss {
    background: linear-gradient(135deg, #16a34a, #4ade80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .brand-lean {
    color: #60a5fa;
  }

  .brand-dot {
    color: #f97316;
  }

  .brand-sep {
    color: rgba(255,255,255,0.2);
    font-size: 18px;
    font-weight: 300;
  }

  /* ── Tags ── */
  .site-footer .tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.03em;
    white-space: nowrap;
  }

  .site-footer .tag-blue {
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
  }

  .site-footer .tag-green {
    background: rgba(22,163,74,0.15);
    color: #4ade80;
  }

  .site-footer .tag-orange {
    background: rgba(249,115,22,0.15);
    color: #fb923c;
  }

  .site-footer .tag-purple {
    background: rgba(124,58,237,0.15);
    color: #a78bfa;
  }

  /* ── Grid ── */
  .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .footer-col-about {
    max-width: 360px;
  }

  .footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-5);
  }

  .footer-social {
    display: flex;
    gap: 8px;
  }

  .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.4);
    transition: all var(--transition-fast);
    text-decoration: none;
  }

  .footer-social a:hover {
    background: var(--cicc-blue);
    color: #ffffff;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
  }

  .footer-col h4 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-4);
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .footer-links a:hover { color: #ffffff; }

  /* ── Contact List ── */
  .footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
  }

  .footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: rgba(255,255,255,0.3);
  }

  .footer-contact-item a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  .footer-contact-item a:hover { color: #ffffff; }

  /* ── Newsletter ── */
  .footer-newsletter {
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .footer-newsletter p {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: var(--space-3);
  }

  .footer-newsletter-form {
    display: flex;
    gap: 8px;
  }

  .footer-newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
    color: #ffffff;
    font-size: 12px;
    outline: none;
    font-family: inherit;
    min-width: 0;
  }

  .footer-newsletter-form input:focus {
    border-color: var(--cicc-blue);
  }

  .footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
  }

  .footer-newsletter-form button {
    padding: 8px 14px;
    border-radius: var(--radius-md);
    background: var(--cicc-blue);
    color: #ffffff;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
    white-space: nowrap;
  }

  .footer-newsletter-form button:hover {
    background: var(--cicc-blue-600);
  }

  /* ── Bottom ── */
  .footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    gap: 16px;
  }

  .footer-bottom a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    transition: color var(--transition-fast);
  }

  .footer-bottom a:hover { color: #ffffff; }

  .footer-bottom-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  /* ===========================
     RESPONSIVE
     =========================== */
  @media (max-width: 1024px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-col-about { max-width: none; }
  }

  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand-row { gap: 10px; }
    .brand-logo-text { font-size: 22px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
  }

  @media (max-width: 480px) {
    .brand-logo-text { font-size: 18px; }
    .brand-sep { font-size: 14px; }
  }

  /* ===========================
     MOBILE BOTTOM NAV
     =========================== */
  .mobile-bottom-nav {
    font-family: var(--font-body);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
  }

  .mobile-bottom-nav__item {
    position: relative;
  }

  .mobile-bottom-nav__item svg {
    display: block;
  }

  .mobile-bottom-nav__item span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.02em;
  }

  /* Safe area padding for the page so content isn't hidden behind nav */
  @media (max-width: 768px) {
    .site-main {
      padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }
  }
}

/* === SOURCE: patterns.css === */
/**
 * CiCC Theme 5.0.0 — Pattern Styles (Design System)
 * Cards, Grids, Sections, Listings
 */

/* ===========================
   MODERN CARDS
   =========================== */
.cicc-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
}

.cicc-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cicc-card__thumb {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}

.cicc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cicc-card:hover .cicc-card__thumb img {
  transform: scale(1.08);
}

.cicc-card__thumb .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15,23,42,0.6) 0%, transparent 50%);
  z-index: 1;
}

.cicc-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.cicc-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.cicc-card__badge--cat {
  background: rgba(0, 87, 163, 0.9);
  color: #fff;
}

.cicc-card__badge--date {
  background: rgba(15, 23, 42, 0.75);
  color: rgba(255,255,255,0.9);
}

.cicc-card__badge--price {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(249, 115, 22, 0.95);
  color: #fff;
  font-weight: 700;
}

.cicc-card__badge--sale {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cicc-card__body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cicc-card__body h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cicc-card__body p {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cicc-card__footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
}

.cicc-card__price {
  font-size: 1.375rem;
  font-weight: 800;
  color: #0057a3;
}

.cicc-card__price del {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #94a3b8;
  margin-left: 8px;
  text-decoration: line-through;
}

.cicc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0057a3;
  transition: gap 0.3s ease;
}

.cicc-card:hover .cicc-card__link {
  gap: 10px;
}

/* ===========================
   FEATURED / LARGE CARDS
   =========================== */
.cicc-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cicc-card--featured .cicc-card__thumb {
  height: 100%;
  min-height: 320px;
}

.cicc-card--featured .cicc-card__body {
  padding: 32px;
}

.cicc-card--featured .cicc-card__body h3 {
  font-size: 1.375rem;
}

/* ===========================
   HERO SECTIONS
   =========================== */
.cicc-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.cicc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cicc-hero--gradient-navy {
  background: linear-gradient(135deg, #0f172a 0%, #0057a3 40%, #0077be 100%);
  color: #fff;
}

.cicc-hero--gradient-purple {
  background: linear-gradient(135deg, #0f172a 0%, #3b0764 40%, #7c3aed 100%);
  color: #fff;
}

.cicc-hero--gradient-green {
  background: linear-gradient(135deg, #0f172a 0%, #064e3b 40%, #16a34a 100%);
  color: #fff;
}

.cicc-hero--gradient-orange {
  background: linear-gradient(135deg, #0f172a 0%, #7c2d12 40%, #f97316 100%);
  color: #fff;
}

.cicc-hero--sm {
  padding: 120px 0 60px;
}

.cicc-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cicc-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.cicc-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.cicc-hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 32px;
}

.cicc-hero__stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.cicc-hero__stat {
  text-align: center;
}

.cicc-hero__stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.cicc-hero__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ===========================
   FILTER BAR
   =========================== */
.cicc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 20px 24px;
  background: #f8fafc;
  border-radius: 16px;
  margin-bottom: 40px;
}

.cicc-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cicc-filter__btn:hover {
  border-color: #0057a3;
  color: #0057a3;
  background: rgba(0,87,163,0.04);
}

.cicc-filter__btn--active {
  background: #0057a3;
  border-color: #0057a3;
  color: #fff;
}

.cicc-filter__btn--active:hover {
  background: #004080;
  color: #fff;
}

.cicc-filter__btn .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 100px;
  font-size: 0.6875rem;
  font-weight: 600;
  background: rgba(0,0,0,0.06);
}

.cicc-filter__btn--active .count {
  background: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}

/* ===========================
   SECTION STYLES
   =========================== */
.cicc-section {
  padding: 80px 0;
}

.cicc-section--alt {
  background: #f8fafc;
}

.cicc-section--dark {
  background: #0f172a;
  color: #fff;
}

.cicc-section--sm {
  padding: 48px 0;
}

.cicc-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.cicc-section__header h2 {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 800;
  margin: 0 0 12px;
  color: #0f172a;
}

.cicc-section__header p {
  font-size: 1.0625rem;
  color: #64748b;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.cicc-section--dark .cicc-section__header h2 {
  color: #fff;
}

.cicc-section--dark .cicc-section__header p {
  color: rgba(255,255,255,0.7);
}

/* ===========================
   MODERN GRID
   =========================== */
.cicc-grid {
  display: grid;
  gap: 28px;
}

.cicc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cicc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cicc-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .cicc-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cicc-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cicc-card--featured { grid-column: span 1; grid-template-columns: 1fr; }
  .cicc-card--featured .cicc-card__thumb { min-height: 200px; }
}

@media (max-width: 768px) {
  .cicc-grid--2,
  .cicc-grid--3,
  .cicc-grid--4 { grid-template-columns: 1fr; }
  .cicc-hero__stats { flex-wrap: wrap; gap: 24px; }
  .cicc-section { padding: 48px 0; }
}

/* ===========================
   PAGINATION
   =========================== */
.cicc-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 48px;
}

.cicc-pagination a,
.cicc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cicc-pagination a {
  background: #fff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
}

.cicc-pagination a:hover {
  border-color: #0057a3;
  color: #0057a3;
  background: rgba(0,87,163,0.04);
}

.cicc-pagination .current {
  background: #0057a3;
  border-color: #0057a3;
  color: #fff;
}

/* ===========================
   CTA
   =========================== */
.cicc-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #0f172a 0%, #0057a3 50%, #0077be 100%);
  position: relative;
  overflow: hidden;
}

.cicc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cicc-cta .container {
  position: relative;
  z-index: 1;
}

.cicc-cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.cicc-cta p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 32px;
}

.cicc-cta p strong {
  color: #fbbf24;
}

.cicc-cta__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   RESPONSIVE FOR MOBILE
   =========================== */
@media (max-width: 640px) {
  .cicc-card__thumb { height: 180px; }
  .cicc-card__body { padding: 16px 20px 20px; }
  .cicc-card__body h3 { font-size: 0.9375rem; }
  .cicc-filter { padding: 16px; border-radius: 12px; }
}

