/* Tradesmen Collection — Global styles */

/* =========================================
       01. GLOBAL COLOR VARIABLES
    ========================================= */

    :root {
      --color-promo: #f7ca02;
      --color-header: #262626;
      --color-menu: #202020;
      --color-menu-border: #383838;
      --color-light: #f5f5f5;
      --color-white: #ffffff;
      --color-muted: #b7b7b7;
      --color-accent: #f7ca02;
      --color-border: #e5e5e5;

      --header-max-width: 1375px;
      --mobile-menu-width: 340px;
    }

    /* =========================================
       02. RESET & GLOBAL
    ========================================= */

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--color-white);
    }

    body.menu-open {
      overflow: hidden;
    }

    a {
      text-decoration: none;
    }

    button {
      font: inherit;
    }

    .header-container {
      width: min(100% - 40px, var(--header-max-width));
      margin-inline: auto;
    }

    /* =========================================
       03. PROMOTIONAL BAR
    ========================================= */

    .promo-bar {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: var(--color-promo);
      color: #111;
    }

    .promo-content {
      min-height: 49px;
      padding: 8px 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 24px;
      text-align: center;
    }

    .promo-text {
      font-size: 14px;
      font-weight: 700;
      line-height: 1.4;
    }

    .promo-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 30px;
      border-radius: 4px;
      background: #151515;
      color: var(--color-white);
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
    }

    .promo-button:hover {
      background: #383838;
    }

    /* =========================================
       04. DESKTOP HEADER
    ========================================= */

    .header-main {
      background: var(--color-header);
      color: var(--color-white);
    }

    .header-top {
      height: 67px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }

    .header-logo {
      color: var(--color-white);
      font-size: 21px;
      letter-spacing: -1px;
      white-space: nowrap;
    }

    .logo-symbol {
      color: var(--color-accent);
      font-size: 22px;
    }

    .header-logo strong {
      font-weight: 750;
    }

    .header-utilities {
      display: flex;
      align-items: center;
      gap: 26px;
    }

    .header-utilities a {
      color: var(--color-muted);
      font-size: 12px;
      white-space: nowrap;
    }

    .header-utilities a:hover {
      color: var(--color-white);
    }

    /* =========================================
       05. DESKTOP PRIMARY NAVIGATION
    ========================================= */

    .primary-nav {
      min-height: 47px;
      display: flex;
      align-items: center;
      gap: 36px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .primary-nav::-webkit-scrollbar {
      display: none;
    }

    .primary-nav a {
      display: flex;
      align-items: center;
      align-self: stretch;
      color: var(--color-muted);
      font-size: 15px;
      white-space: nowrap;
    }

    .primary-nav a:hover {
      color: var(--color-white);
    }

    .primary-nav a.active {
      color: var(--color-white);
      border-bottom: 3px solid var(--color-accent);
    }

    /* =========================================
       06. DESKTOP SECONDARY NAVIGATION
    ========================================= */

    .secondary-nav {
      background: var(--color-light);
      border-bottom: 1px solid var(--color-border);
    }

    .secondary-nav .header-container {
      min-height: 47px;
      display: flex;
      align-items: center;
      gap: 20px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .secondary-nav .header-container::-webkit-scrollbar {
      display: none;
    }

    .secondary-nav a {
      color: #777;
      font-size: 11px;
      white-space: nowrap;
    }

    .secondary-nav a:hover {
      color: #111;
    }

    /* =========================================
       07. MOBILE HEADER
    ========================================= */

    .mobile-header {
      display: none;
    }

    .mobile-icon-button {
      width: 44px;
      height: 44px;
      padding: 10px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 0;
      background: transparent;
      color: var(--color-white);
      cursor: pointer;
    }

    .mobile-icon-button svg {
      width: 24px;
      height: 24px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    /* =========================================
       08. MOBILE MENU OVERLAY
    ========================================= */

    .mobile-menu-overlay {
      position: fixed;
      inset: 0;
      z-index: 1100;
      background: rgba(0, 0, 0, 0.65);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-overlay.is-visible {
      opacity: 1;
      visibility: visible;
    }

    /* =========================================
       09. MOBILE SLIDE-OUT MENU
    ========================================= */

    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      bottom: 0;
      z-index: 1200;

      width: min(100%, var(--mobile-menu-width));
      background: var(--color-menu);
      color: var(--color-white);

      display: flex;
      flex-direction: column;

      transform: translateX(-100%);
      visibility: hidden;
      transition: transform 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu.is-open {
      transform: translateX(0);
      visibility: visible;
    }

    /* Menu Header */

    .mobile-menu-top {
      min-height: 76px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--color-menu-border);

      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .mobile-menu-title {
      font-size: 17px;
      font-weight: 700;
    }

    .mobile-menu-close {
      width: 40px;
      height: 40px;
      border: 0;
      background: #353535;
      color: #fff;
      border-radius: 6px;
      font-size: 25px;
      cursor: pointer;
    }

    /* Scrollable Menu Content */

    .mobile-menu-content {
      flex: 1;
      overflow-y: auto;
      padding: 18px 20px 28px;
      overscroll-behavior: contain;
    }

    .mobile-menu-label {
      margin: 18px 0 10px;
      color: #888;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
    }

    .mobile-menu-link,
    .mobile-submenu-toggle {
      width: 100%;
      min-height: 48px;
      padding: 12px 4px;

      display: flex;
      align-items: center;
      justify-content: space-between;

      border: 0;
      border-bottom: 1px solid var(--color-menu-border);
      background: transparent;

      color: #f5f5f5;
      font-size: 15px;
      font-weight: 500;
      text-align: left;
      cursor: pointer;
    }

    .mobile-menu-link:hover,
    .mobile-submenu-toggle:hover {
      color: var(--color-accent);
    }

    /* Submenu */

    .mobile-submenu {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.25s ease;
    }

    .mobile-submenu.is-expanded {
      grid-template-rows: 1fr;
    }

    .mobile-submenu-inner {
      overflow: hidden;
    }

    .mobile-submenu-inner a {
      display: block;
      padding: 12px 16px;
      color: #aaa;
      font-size: 14px;
      border-bottom: 1px solid #303030;
    }

    .mobile-submenu-inner a:hover {
      color: var(--color-accent);
    }

    .submenu-arrow {
      display: inline-block;
      transition: transform 0.25s ease;
    }

    .mobile-submenu-toggle[aria-expanded="true"] .submenu-arrow {
      transform: rotate(180deg);
    }

    /* Menu CTA */

    .mobile-menu-cta {
      margin-top: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 52px;
      padding: 12px 20px;
      background: var(--color-accent);
      color: #111;
      border-radius: 5px;
      font-size: 15px;
      font-weight: 700;
      text-align: center;
    }

    .mobile-menu-cta:hover {
      background: var(--color-accent);
    }

    .mobile-menu-note {
      margin-top: 14px;
      color: #888;
      font-size: 12px;
      line-height: 1.6;
      text-align: center;
    }

    /* =========================================
       10. DEMONSTRATION CONTENT
    ========================================= */

    .demo-section {
      min-height: 120vh;
      padding: 80px 20px;
      background: #fafafa;
      text-align: center;
    }

    .demo-section h1 {
      margin: 0 0 20px;
      font-size: clamp(28px, 4vw, 48px);
      color: #262626;
    }

    .demo-section p {
      max-width: 600px;
      margin: 0 auto;
      color: #666;
      font-size: 16px;
      line-height: 1.7;
    }

    /* =========================================
       11. RESPONSIVE — TABLET & SMARTPHONE
    ========================================= */

    @media (max-width: 767px) {

      .header-main,
      .secondary-nav {
        display: none;
      }

      .mobile-header {
        min-height: 64px;
        padding: 0 12px;

        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        gap: 8px;

        background: var(--color-header);
      }

      .mobile-header-logo {
        color: var(--color-white);
        font-size: clamp(14px, 4vw, 19px);
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
      }

      .mobile-cart {
        display: flex;
        justify-content: flex-end;
      }

      .promo-content {
        gap: 10px;
        padding: 8px 12px;
      }

      .promo-text {
        font-size: 12px;
      }

      .promo-button {
        padding: 9px 14px;
        font-size: 12px;
      }

    }

    @media (max-width: 420px) {

      .promo-content {
        flex-wrap: wrap;
      }

      .promo-button {
        padding: 8px 18px;
      }

    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* =========================================
       12. GDPR / COOKIE CONSENT
       Reserved for future implementation.
    ========================================= */

/* =========================================
   FOOTER STYLES
========================================= */

/* =========================================
     01. FOOTER VARIABLES
  ========================================= */

  :root {
    --footer-bg: #1b1b1b;
    --footer-text: #ffffff;
    --footer-muted: #929292;
    --footer-border: #363636;
    --footer-accent: #f7ca02;
    --footer-max-width: 1360px;
  }

  /* =========================================
     02. FOOTER BASE
  ========================================= */

  .site-footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 48px 24px 50px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
  }

  .footer-container {
    max-width: var(--footer-max-width);
    margin: 0 auto;
  }

  .site-footer *,
  .site-footer *::before,
  .site-footer *::after {
    box-sizing: border-box;
  }

  .site-footer a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .site-footer a:hover {
    color: var(--footer-accent);
  }

  /* =========================================
     03. TOP FOOTER GRID
  ========================================= */

  .footer-top {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 1.45fr;
    gap: 35px;
    padding: 0 20px 45px;
  }

  .footer-heading {
    margin: 0 0 24px;
    color: var(--footer-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin-bottom: 19px;
  }

  .footer-links a {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
  }

  /* =========================================
     04. BRANDING & STATISTICS
  ========================================= */

  .footer-brand {
    padding-left: 10px;
  }

  .footer-logo {
    display: inline-block;
    margin-bottom: 35px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.7px;
  }

  .footer-logo-mark {
    color: var(--footer-accent);
  }

  .footer-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .footer-stat-number {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
  }

  .footer-stat-label {
    display: block;
    color: var(--footer-muted);
    font-size: 12px;
  }

  .footer-demo-note {
    margin: 14px 0 0;
    color: var(--footer-muted);
    font-size: 11px;
  }

  /* =========================================
     05. DIVIDER
  ========================================= */

  .footer-divider {
    height: 1px;
    margin: 0;
    border: 0;
    background: var(--footer-border);
  }

  /* =========================================
     06. BOTTOM FOOTER
  ========================================= */

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    padding: 28px 20px 0;
  }

  .footer-bottom-content {
    min-width: 0;
  }

  .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    margin-bottom: 15px;
  }

  .footer-bottom-links a {
    font-weight: 600;
  }

  .footer-legal {
    margin: 0 0 10px;
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.6;
  }

  /* =========================================
     07. SOCIAL ICONS
  ========================================= */

  .footer-social {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
    padding-bottom: 6px;
  }

  .footer-social a {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #777;
    color: var(--footer-bg);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
  }

  .footer-social a:hover {
    background: var(--footer-accent);
    color: #111;
  }

  /* =========================================
     08. TABLET
  ========================================= */

  @media (max-width: 1100px) {

    .footer-top {
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 30px;
    }

    .footer-brand {
      grid-column: 1 / -1;
      padding: 15px 0 0;
    }

    .footer-logo {
      margin-bottom: 20px;
    }

    .footer-stats {
      max-width: 400px;
    }

  }

  /* =========================================
     09. SMARTPHONE
  ========================================= */

  @media (max-width: 767px) {

    .site-footer {
      padding: 40px 20px;
    }

    .footer-top {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 28px 20px;
      padding: 0 0 35px;
    }

    .footer-heading {
      margin-bottom: 17px;
      font-size: 11px;
    }

    .footer-links li {
      margin-bottom: 14px;
    }

    .footer-links a {
      font-size: 12px;
    }

    .footer-brand {
      grid-column: 1 / -1;
      padding: 20px 0 0;
      border-top: 1px solid var(--footer-border);
    }

    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 25px;
      padding: 25px 0 0;
    }

    .footer-bottom-links {
      gap: 12px 20px;
    }

    .footer-bottom-links a {
      font-size: 12px;
    }

  }

  @media (max-width: 360px) {

    .footer-top {
      gap: 24px 12px;
    }

    .footer-stat-number {
      font-size: 14px;
    }

  }
