/* ================================================
   CC MOBILE MENU — modern slide-from-right panel
   Add to style.css or mobile.css
   ================================================ */

/* Hide on desktop */
.cc-burger { display: none; }

@media screen and (max-width: 767px) {

  /* ── Burger button ─────────────────────────── */
  .cc-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: fixed;
    top: 60px;
    right: 14px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: #e87635;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(232,118,53,0.35);
    transition: background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .cc-burger:active { transform: scale(0.93); background: #d06520; }

  .cc-burger-line {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
  }

  /* Animate to X when open */
  .cc-burger.is-open .cc-burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .cc-burger.is-open .cc-burger-line:nth-child(2) { opacity: 0; width: 0; }
  .cc-burger.is-open .cc-burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ── Overlay ───────────────────────────────── */
  .cc-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .cc-menu-overlay.is-open {
    opacity: 1;
    pointer-events: all;
  }

  /* ── Panel ─────────────────────────────────── */
  .cc-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    width: 82vw;
    max-width: 320px;
    background: #1a1a1a;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: -8px 0 32px rgba(0,0,0,0.4);
  }
  .cc-menu-panel.is-open { transform: translateX(0); }

  /* ── Panel header ──────────────────────────── */
  .cc-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
  }
  .cc-menu-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e87635;
    letter-spacing: 0.03em;
    text-decoration: none;
  }
  .cc-menu-logo span { color: #e87635; }

  .cc-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.07);
    border: none;
    color: #e87635;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .cc-menu-close:active { background: rgba(255,255,255,0.14); }

  /* ── Scrollable body ───────────────────────── */
  .cc-menu-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 24px;
  }

  /* ── Section label ─────────────────────────── */
  .cc-menu-section-label {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
    font-weight: 600;
    padding: 14px 18px 6px;
  }

  /* ── Nav links ─────────────────────────────── */
  .cc-menu-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.15s, color 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .cc-menu-nav a:active { background: rgba(232,118,53,0.1); color: #e87635; }
  .cc-menu-nav a.active-page { color: #e87635; }
  .cc-menu-nav a .cc-nav-arrow { color: #444; font-size: 0.8rem; }

  /* ── Divider ───────────────────────────────── */
  .cc-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.06);
    margin: 8px 0;
  }

  /* ── Categories accordion ──────────────────── */
  .cc-cat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    color: #f0f0f0;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    width: 100%;
    text-align: left;
    transition: background 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .cc-cat-toggle:active { background: rgba(232,118,53,0.08); }

  .cc-cat-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .cc-cat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e87635;
    flex-shrink: 0;
  }
  .cc-cat-chevron {
    font-size: 0.75rem;
    color: #555;
    transition: transform 0.25s ease;
  }
  .cc-cat-toggle.is-open .cc-cat-chevron { transform: rotate(90deg); }

  .cc-cat-list {
    display: none;
    background: #141414;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .cc-cat-list.is-open { display: block; }

  .cc-cat-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px 11px 38px;
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: color 0.15s, background 0.15s;
    -webkit-tap-highlight-color: transparent;
  }
  .cc-cat-list a:active { color: #e87635; background: rgba(232,118,53,0.06); }
  .cc-cat-list a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #444;
    flex-shrink: 0;
    transition: background 0.15s;
  }
  .cc-cat-list a:active::before { background: #e87635; }

  /* ── Call strip ────────────────────────────── */
  .cc-menu-call {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 14px 0;
    padding: 13px 16px;
    background: rgba(232,118,53,0.1);
    border: 1px solid rgba(232,118,53,0.2);
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s;
    -webkit-tap-highlight-color: transparent;
  }
  .cc-menu-call:active { background: rgba(232,118,53,0.18); }
  .cc-menu-call-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e87635;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .cc-menu-call-label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-weight: 600;
  }
  .cc-menu-call-number {
    font-size: 1rem;
    font-weight: 700;
    color: #e87635;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-top: 2px;
  }

  /* ── Prevent body scroll when open ────────── */
  body.cc-menu-open { overflow: hidden; }

}
/* End mobile menu styles */
