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

    /* ===== DESIGN TOKENS ===== */
    :root {
      --bg:        #FFFFFF;
      --bg-alt:    #F4F4F2;
      --bg-dark:   #0F0C00;
      --gold:      #F5C400;
      --gold-dk:   #B87800;
      --amber:     #996400;
      --text:      #111111;
      --text-inv:  #FFFFFF;
      --muted:     rgba(17,17,17,0.50);
      --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;
      --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;
    }
    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); }
    }

    /* ===== LOADER ===== */
    #loader {
      position: fixed; inset: 0; z-index: 9999;
      background: #FFFFFF;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 20px; transition: opacity 0.7s ease, visibility 0.7s ease;
    }
    #loader.hidden { opacity: 0; visibility: hidden; }
    .loader-logo { width: 90px; animation: ldPulse 1.4s ease-in-out infinite; }
    @keyframes ldPulse {
      0%,100% { transform: scale(1); opacity: 1; }
      50%      { transform: scale(1.06); opacity: 0.75; }
    }
    .loader-bar-wrap {
      width: 180px; height: 3px;
      background: rgba(245,196,0,0.14); border-radius: 3px; overflow: hidden;
    }
    .loader-bar {
      height: 100%; width: 0;
      background: linear-gradient(90deg, var(--gold), var(--amber));
      border-radius: 3px; animation: ldFill 1.9s ease forwards;
    }
    @keyframes ldFill { to { width: 100%; } }
    .loader-tagline {
      font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
      color: rgba(15,12,0,0.38); font-weight: 600;
    }

    /* ===== LAYOUT ===== */
    .section     { position: relative; z-index: 1; padding: 100px 0; }
    .section--sm { position: relative; z-index: 1; padding: 64px 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 56px; }
    .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-title-inv .g { color: var(--gold); }
    .section-sub { font-size: 16px; line-height: 1.72; color: var(--muted); }

    /* ===== 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: linear-gradient(135deg, #F5C400 0%, #D98800 100%);
      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.97);
      backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
      border-bottom: 1px solid rgba(245,196,0,0.30);
      box-shadow: 0 1px 0 rgba(245,196,0,0.20), 0 4px 24px rgba(0,0,0,0.08);
    }
    .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); }
    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: default;
      display: flex; align-items: center; gap: 5px;
    }
    .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:hover .mega-menu { display: grid; }
    .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; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
    .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; }

/* ===== 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; flex-shrink: 0; }
    .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; }
    .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-grid     { grid-template-columns: 1fr 1fr; }
      .why-features { grid-template-columns: 1fr 1fr; }
      .why-portrait-row { grid-template-columns: repeat(3,1fr); }
      .testi-grid   { grid-template-columns: 1fr 1fr; }
      .footer-grid  { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      nav, .header-right .btn-ghost { display: none; }
      .hamburger   { display: flex; }
      .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-grid    { grid-template-columns: 1fr 1fr; }
      .why-features { grid-template-columns: 1fr; }
      .why-portrait-row { grid-template-columns: repeat(3,1fr); }
      .testi-grid  { grid-template-columns: 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; }
    }
    @media (max-width: 520px) {
      .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-grid    { grid-template-columns: 1fr; }
      .why-features { grid-template-columns: 1fr; }
      .why-portrait-row { grid-template-columns: repeat(2,1fr); }
      .testi-grid  { grid-template-columns: 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; }
      .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    }