/* ===== 13thStation - Global Styles (shared across all pages) ===== */

    /* Font audit (2026-03-24): Plus Jakarta Sans loads weights 400,500,600,700,800.
       Weight 400 is used sparingly — consider removing to save ~15KB if body copy stays >= 500. */

    /* ===== DESIGN TOKENS ===== */
    :root {
      --bg:        #FFFFFF;
      --bg-alt:    #F4F4F2;
      --bg-dark:   #0F0C00;
      --gold:      #F5C400;
      --gold-dk:   #B87800;
      --gold-amber: #D98800;
      --amber:     #996400;
      --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-amber) 100%);
      --text:      #111111;
      --text-inv:  #FFFFFF;
      --muted:     rgba(17,17,17,0.80);
      --muted-inv: rgba(255,255,255,0.55);
      --surface:   rgba(0,0,0,0.03);
      --border:    rgba(0,0,0,0.08);
      --border-gold: rgba(245,196,0,0.38);
      --r:         12px;
      --rL:        18px;
      --rS:        8px;
      --rXL:       24px;
      --font:      'Plus Jakarta Sans', sans-serif;
    }

    /* ===== RESET ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; font-size: 16px; }
    body {
      font-family: var(--font);
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    p { text-align: justify; }
    a { text-decoration: none; color: inherit; }
    img { max-width: 100%; display: block; }
    button { font-family: var(--font); }

    /* ===== ORB BACKGROUND ===== */
    .orb-layer {
      position: fixed; inset: 0; z-index: 0;
      pointer-events: none; overflow: hidden;
    }
    .orb {
      position: absolute; border-radius: 50%;
      filter: blur(100px); animation: orbFloat 18s ease-in-out infinite;
    }
    .orb-1 {
      width: 900px; height: 900px;
      background: radial-gradient(circle, rgba(245,196,0,0.07), transparent 65%);
      top: -300px; right: -250px;
      animation-duration: 20s; animation-delay: 0s;
    }
    .orb-2 {
      width: 750px; height: 750px;
      background: radial-gradient(circle, rgba(245,196,0,0.05), transparent 65%);
      bottom: -200px; left: -180px;
      animation-duration: 24s; animation-delay: -8s;
    }
    .orb-3 {
      width: 550px; height: 550px;
      background: radial-gradient(circle, rgba(245,196,0,0.04), transparent 65%);
      top: 40%; left: 25%;
      animation-duration: 16s; animation-delay: -5s;
    }
    .orb-4 {
      width: 450px; height: 450px;
      background: radial-gradient(circle, rgba(245,196,0,0.03), transparent 65%);
      top: 15%; left: -80px;
      animation-duration: 22s; animation-delay: -12s;
    }
    @keyframes orbFloat {
      0%,100% { transform: translate(0,0) scale(1); }
      33%      { transform: translate(40px,-50px) scale(1.04); }
      66%      { transform: translate(-30px,35px) scale(0.96); }
    }

    /* ===== LAYOUT ===== */
    .section     { position: relative; z-index: 1; padding: 52px 0; }
    .section--sm { position: relative; z-index: 1; padding: 32px 0; }
    .container   { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

    .badge {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 16px; border-radius: 999px;
      background: #111111; border: 1px solid #111111;
      font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
      color: var(--gold); margin-bottom: 16px;
    }
    .badge::before {
      content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
    }

    .section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
    .section-title {
      font-size: clamp(30px, 4vw, 48px); font-weight: 800;
      line-height: 1.12; letter-spacing: -1px; margin-bottom: 16px;
    }
    .section-title .g { color: var(--gold-dk); }
    .section-sub { font-size: 16px; line-height: 1.72; color: var(--muted); text-align: justify; }

    /* ===== BUTTONS ===== */
    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 13px 28px; border-radius: 999px;
      font-family: var(--font); font-size: 14px; font-weight: 700;
      cursor: pointer; border: none; transition: all 0.22s; white-space: nowrap;
    }
    .btn-gold {
      background: var(--gradient-gold);
      color: #000;
    }
    .btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(245,196,0,0.38); }
    .btn-outline {
      background: transparent; color: var(--text);
      border: 1.5px solid rgba(0,0,0,0.18);
    }
    .btn-outline:hover { border-color: var(--amber); color: var(--amber); background: rgba(245,196,0,0.06); }
    .btn-ghost {
      background: transparent; color: rgba(255,255,255,0.82);
      border: 1.5px solid rgba(255,255,255,0.30); padding: 10px 20px;
    }
    .btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(245,196,0,0.10); }
    header.scrolled .btn-ghost { color: rgba(17,17,17,0.75); border-color: rgba(0,0,0,0.18); }
    header.scrolled .btn-ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(245,196,0,0.08); }

    /* ===== HEADER ===== */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 200;
      height: 72px; padding: 0 28px;
      display: flex; align-items: center;
      background: rgba(8,5,0,0.55);
      backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
      border-bottom: 1px solid rgba(245,196,0,0.18);
      box-shadow: 0 2px 28px rgba(0,0,0,0.30);
      transition: all 0.35s ease;
    }
    header.scrolled {
      background: rgba(255,255,255,0.45);
      backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
      border-bottom: 1px solid rgba(245,196,0,0.22);
      box-shadow: 0 1px 0 rgba(245,196,0,0.14), 0 4px 24px rgba(0,0,0,0.06);
    }
    .header-inner {
      max-width: 1200px; margin: 0 auto; width: 100%;
      display: flex; align-items: center; justify-content: space-between;
    }
    /* Logo with brand text */
    .logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
    .logo-img  { height: 44px; width: auto; flex-shrink: 0; }
    .logo-text {
      font-size: 17px; font-weight: 800; letter-spacing: -0.4px;
      color: #FFFFFF; transition: color 0.35s;
      line-height: 1;
    }
    header.scrolled .logo-text { color: #111111; }

    /* Nav */
    nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
    .nav-link {
      padding: 8px 14px; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      color: rgba(255,255,255,0.80); transition: all 0.2s;
    }
    .nav-link:hover { color: #fff; background: rgba(245,196,0,0.16); }
    .nav-link.nav-active { color: var(--gold); font-weight: 700; }
    header.scrolled .nav-link.nav-active { color: var(--gold-dk); }
    header.scrolled .nav-link { color: rgba(17,17,17,0.72); }
    header.scrolled .nav-link:hover { color: #111111; background: rgba(245,196,0,0.14); }

    /* Mega dropdown */
    .nav-item { position: relative; }
    .nav-drop-trigger {
      padding: 8px 14px; border-radius: 8px;
      font-size: 14px; font-weight: 500;
      color: rgba(255,255,255,0.80); transition: all 0.2s;
      cursor: pointer;
      display: flex; align-items: center; gap: 5px;
      /* Reset button defaults */
      background: none; border: none; font-family: var(--font);
    }
    .nav-drop-trigger::after {
      content: '▾'; font-size: 10px; opacity: 0.65; transition: transform 0.2s;
    }
    .nav-item:hover .nav-drop-trigger { color: #fff; background: rgba(245,196,0,0.16); }
    .nav-item:hover .nav-drop-trigger::after { transform: rotate(180deg); }
    header.scrolled .nav-drop-trigger { color: rgba(17,17,17,0.72); }
    header.scrolled .nav-item:hover .nav-drop-trigger { color: #111111; background: rgba(245,196,0,0.14); }

    .mega-menu {
      position: fixed; top: 72px; right: 28px; left: auto; transform: none;
      width: 660px;
      background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
      border: 1px solid rgba(245,196,0,0.30); border-radius: 18px;
      padding: 24px; display: none;
      grid-template-columns: 1fr 1fr; gap: 6px;
      box-shadow: 0 24px 64px rgba(0,0,0,0.14);
    }
    .nav-item.open .mega-menu,
    .nav-item.hover-active .mega-menu { display: grid; }
    .nav-item.closing .mega-menu { display: none; }
    .mega-item {
      display: flex; align-items: flex-start; gap: 12px;
      padding: 12px 14px; border-radius: 12px; transition: background 0.18s;
    }
    .mega-item:hover { background: rgba(245,196,0,0.08); }
    .mega-icon {
      width: 38px; height: 38px; border-radius: 9px; flex-shrink: 0;
      background: rgba(245,196,0,0.10);
      display: flex; align-items: center; justify-content: center; font-size: 17px;
    }
    .mega-text strong { font-size: 13px; font-weight: 700; display: block; margin-bottom: 2px; }
    .mega-text span   { font-size: 12px; color: var(--muted); line-height: 1.4; }

    .header-right { display: flex; align-items: center; gap: 10px; }
    /* Button-reset so <button> hamburger looks identical to the old <div> */
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px;
                 background: none; border: none; line-height: 0; font-family: inherit; }
    .hamburger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: background 0.35s; }
    header.scrolled .hamburger span { background: var(--text); }

    /* Mobile menu */
    .mobile-menu {
      position: fixed; inset: 0; z-index: 300;
      background: rgba(8,6,0,0.98); backdrop-filter: blur(24px);
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 6px; transform: translateX(100%); transition: transform 0.38s ease;
    }
    .mobile-menu.open { transform: translateX(0); }
    .mob-close {
      position: absolute; top: 18px; right: 24px;
      font-size: 26px; cursor: pointer; color: var(--gold);
      background: none; border: none;
    }
    .mobile-menu .nav-link { font-size: 20px; font-weight: 700; padding: 10px 28px; }

    /* ── Mobile Services accordion ── */
    .mob-services { display: flex; flex-direction: column; align-items: center; width: 100%; }
    .mob-services-trigger {
      font-family: var(--font); font-size: 20px; font-weight: 700;
      color: #fff; background: none; border: none; cursor: pointer;
      display: flex; align-items: center; gap: 8px;
      padding: 10px 28px; transition: color 0.2s;
    }
    .mob-services-trigger:hover { color: var(--gold); }
    .mob-arrow {
      font-size: 13px; display: inline-block;
      transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1);
    }
    .mob-services-trigger[aria-expanded="true"] .mob-arrow { transform: rotate(180deg); }
    .mob-services-panel {
      display: flex; flex-direction: column; align-items: center;
      gap: 2px; width: 100%; overflow: hidden;
      max-height: 0; transition: max-height 0.42s cubic-bezier(0.4,0,0.2,1), padding 0.3s ease;
      padding: 0;
    }
    .mob-services-panel.open { max-height: 380px; padding: 6px 0 10px; }
    .mob-service-link {
      font-size: 15px; font-weight: 600;
      color: rgba(255,255,255,0.68); padding: 9px 32px;
      text-decoration: none; transition: color 0.2s; width: 100%; text-align: center;
    }
    .mob-service-link:hover { color: var(--gold); }

    /* ── Mobile menu bottom tagline ── */
    .mob-tagline {
      position: absolute; bottom: 24px; left: 0; right: 0;
      font-size: 11px; font-weight: 800;
      letter-spacing: 3.5px; text-transform: uppercase; text-align: center;
      background: linear-gradient(90deg,
        var(--gold-dk) 0%, var(--gold) 30%, #fff 50%, var(--gold) 70%, var(--gold-dk) 100%);
      background-size: 220% auto;
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
      animation: taglineShimmer 4s linear infinite;
      opacity: 0.85;
    }
    .mob-tagline::before {
      content: '';
      display: block;
      width: 48px; height: 1px;
      background: rgba(245,196,0,0.30);
      margin: 0 auto 14px;
    }

/* ===== FOOTER ===== */
    footer {
      position: relative; z-index: 1;
      background: #0F0C00;
      border-top: 1px solid rgba(245,196,0,0.18);
      padding: 64px 0 0;
    }
    .footer-grid {
      display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 52px;
    }
    .footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
    .footer-logo { height: 48px; width: auto; flex-shrink: 0; object-fit: contain; }
    .footer-brand-name {
      font-size: 20px; font-weight: 800; color: #FFFFFF;
      letter-spacing: -0.3px; line-height: 1;
    }
    .footer-tagline { font-size: 13px; color: rgba(255,255,255,0.50); line-height: 1.65; max-width: 230px; margin-bottom: 22px; }

    /* Tagline brand highlight — "Shoot · Edit · Play" */
    .footer-tagline-brand {
      display: block; font-size: 15px; font-weight: 800;
      letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 8px;
      background: linear-gradient(90deg,
        var(--gold-dk) 0%, var(--gold) 30%, #fff 50%, var(--gold) 70%, var(--gold-dk) 100%);
      background-size: 220% auto;
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
      animation: taglineShimmer 4s linear infinite;
    }
    @keyframes taglineShimmer { to { background-position: 220% center; } }
    @media (prefers-reduced-motion: reduce) {
      .footer-tagline-brand { animation: none; }
      .mob-tagline { animation: none; background-position: 0% center; }
    }
    .socials { display: flex; gap: 9px; }
    .soc-btn {
      width: 38px; height: 38px; border-radius: 9px;
      background: rgba(245,196,0,0.07); border: 1px solid rgba(245,196,0,0.18);
      display: flex; align-items: center; justify-content: center;
      color: rgba(255,255,255,0.75); transition: all 0.2s;
    }
    .soc-btn svg { width: 17px; height: 17px; fill: currentColor; display: block; }
    .soc-btn:hover { background: rgba(245,196,0,0.18); border-color: var(--gold); color: #fff; transform: translateY(-2px); }
    .footer-col h4 {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: 1.8px; color: var(--gold); margin-bottom: 20px;
    }
    .footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
    .footer-links a { font-size: 13px; color: rgba(255,255,255,0.52); transition: color 0.2s; }
    .footer-links a:hover { color: #fff; }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0;
      display: flex; align-items: center; justify-content: space-between;
      font-size: 12px; color: rgba(255,255,255,0.28);
    }
    .footer-bottom a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
    .footer-bottom a:hover { color: var(--gold); }
    .footer-legal { display: flex; gap: 22px; }

    /* ===== FLOATING ACTION BUTTONS ===== */
    .fab-stack {
      position: fixed; bottom: 26px; right: 26px; z-index: 50;
      display: flex; flex-direction: column; align-items: center; gap: 12px;
    }
    .fab-btn {
      width: 52px; height: 52px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      transition: transform 0.22s, box-shadow 0.22s;
      text-decoration: none; position: relative;
      border: none; cursor: pointer;
    }
    .fab-btn:hover { transform: scale(1.12); }
    .fab-call {
      background: linear-gradient(135deg, var(--gold), var(--gold-dk));
      box-shadow: 0 6px 20px rgba(245,196,0,0.45);
    }
    .fab-call:hover { box-shadow: 0 10px 28px rgba(245,196,0,0.60); }
    .fab-wa {
      background: #25D366;
      box-shadow: 0 6px 22px rgba(37,211,102,0.50);
      width: 56px; height: 56px;
    }
    .fab-wa:hover { box-shadow: 0 10px 28px rgba(37,211,102,0.65); }
    .wa-ring {
      position: absolute; inset: -6px; border-radius: 50%;
      border: 2px solid rgba(37,211,102,0.40);
      animation: waR 2s ease-in-out infinite;
    }
    @keyframes waR { 0%{transform:scale(1);opacity:.8} 100%{transform:scale(1.5);opacity:0} }

    /* ===== SCROLL REVEAL ===== */
    .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1024px) {
      .slide-inner  { grid-template-columns: 1fr; }
      .slide-visual { display: none; }
      .about-grid   { grid-template-columns: 1fr; }
      .prod-grid    { grid-template-columns: 1fr 1fr; }
      .process-grid { grid-template-columns: 1fr 1fr; }
      .process-grid::before { display: none; }
      .why-features { grid-template-columns: 1fr 1fr; }
      .why-portrait-row { grid-template-columns: repeat(3,1fr); }
      .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
    }
    @media (max-width: 768px) {
      nav, .header-right .btn-ghost, .header-right .btn-gold { display: none; }
      .hamburger   { display: flex; }
      .section     { padding: 40px 0; }
      .section--sm { padding: 24px 0; }
      .container   { padding: 0 20px; }
      .hero-slider { height: 100svh; min-height: 560px; }
      .slide-inner { padding: 0 20px; padding-top: 88px; gap: 0; }
      .slide-title { letter-spacing: -1px; }
      .stats-wrap  { grid-template-columns: 1fr 1fr; }
      .prod-grid   { grid-template-columns: 1fr; }
      .why-features { grid-template-columns: 1fr; }
      .why-portrait-row { grid-template-columns: repeat(3,1fr); }
      .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
      }
      .gallery-grid .g-item { grid-column: auto !important; grid-row: auto !important; }
      .contact-grid { grid-template-columns: 1fr; }
      .fr          { grid-template-columns: 1fr; }
      .g-wide      { aspect-ratio: 16/9; }
      .footer-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
      .section-head { margin-bottom: 28px; }
      /* Mobile menu larger links */
      .mobile-menu .nav-link { font-size: 18px; padding: 10px 24px; }
    }
    @media (max-width: 520px) {
      .section     { padding: 32px 0; }
      .section--sm { padding: 20px 0; }
      .container   { padding: 0 16px; }
      .slide-title  { letter-spacing: -0.5px; }
      .slide-sub    { font-size: 15px; }
      .stats-wrap  { grid-template-columns: 1fr 1fr; }
      .process-grid { grid-template-columns: 1fr; }
      .why-features { grid-template-columns: 1fr; }
      .why-portrait-row { grid-template-columns: repeat(2,1fr); }
      .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
      }
      .gallery-grid .g-item { grid-column: auto !important; grid-row: auto !important; }
      .g-wide      { grid-column: span 1; }
      .footer-grid  { grid-template-columns: 1fr; gap: 28px; }
      .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
      .footer-legal { justify-content: center; }
      .section-title { letter-spacing: -0.5px; }
      /* FABs smaller on mobile */
      .fab-btn  { width: 46px; height: 46px; }
      .fab-wa   { width: 50px; height: 50px; }
      .fab-stack { bottom: 20px; right: 16px; gap: 10px; }
    }

    /* ===== THANK-YOU MODAL ===== */
    .ty-modal {
      position: fixed; inset: 0; z-index: 9000;
      display: flex; align-items: center; justify-content: center;
      background: rgba(0,0,0,0.72); backdrop-filter: blur(6px);
      opacity: 0; visibility: hidden;
      transition: opacity 0.35s ease, visibility 0.35s ease;
      padding: 24px;
    }
    .ty-modal.active { opacity: 1; visibility: visible; }
    .ty-card {
      background: #FFFFFF; border-radius: 22px;
      padding: 48px 44px 42px; text-align: center;
      max-width: 460px; width: 100%;
      box-shadow: 0 32px 80px rgba(0,0,0,0.30);
      transform: translateY(24px) scale(0.97);
      transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
      position: relative;
    }
    .ty-modal.active .ty-card { transform: translateY(0) scale(1); }
    .ty-icon {
      width: 72px; height: 72px; border-radius: 50%;
      background: var(--gradient-gold);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 22px; font-size: 34px;
      box-shadow: 0 8px 28px rgba(245,196,0,0.38);
    }
    .ty-title {
      font-size: 26px; font-weight: 800; color: #111111;
      letter-spacing: -0.5px; margin-bottom: 10px;
    }
    .ty-sub {
      font-size: 15px; color: rgba(17,17,17,0.58);
      line-height: 1.65; margin-bottom: 10px;
    }
    .ty-detail {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 8px 18px; border-radius: 999px;
      background: rgba(245,196,0,0.10); border: 1px solid rgba(245,196,0,0.30);
      font-size: 13px; font-weight: 600; color: #8A6000;
      margin-bottom: 28px;
    }
    .ty-close {
      width: 100%; padding: 14px; border-radius: 999px;
      background: var(--gradient-gold);
      color: #000; font-size: 15px; font-weight: 700;
      font-family: var(--font); border: none; cursor: pointer;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .ty-close:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,196,0,0.42); }
    .ty-dismiss {
      display: block; margin-top: 14px;
      font-size: 13px; color: rgba(17,17,17,0.40);
      cursor: pointer; transition: color 0.2s; background: none; border: none;
      font-family: var(--font); width: 100%;
    }
    .ty-dismiss:hover { color: rgba(17,17,17,0.70); }
    @media (max-width: 520px) {
      .ty-card { padding: 36px 24px 30px; }
      .ty-title { font-size: 22px; }
    }
    /* ===== ISSUE #18 FIX — Mega-menu tablet overflow ===== */
    @media (max-width: 1024px) {
      .mega-menu { width: calc(100vw - 56px); right: 28px; left: 28px; }
    }

    /* ===== ISSUE #13 FIX — Respect prefers-reduced-motion (global) ===== */
    @media (prefers-reduced-motion: reduce) {
      .orb { animation: none !important; }
      .ty-card { transition: none !important; }
      html { scroll-behavior: auto; }
    }
