/* ═══════════════════════════════════════════════════════
   3DELTA — Main Stylesheet
   Palette: Beyaz #FFFFFF · Bej #F5EFE6 / #C9B99A · Siyah #1A1A1A
   ═══════════════════════════════════════════════════════ */

/* ─── Reset ──────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;font-size:16px}
img{max-width:100%;display:block}
button{cursor:pointer;border:none;background:none;font:inherit}
a{text-decoration:none;color:inherit}
ul{list-style:none}
input,textarea,select{font:inherit}

/* ─── Tokens ─────────────────────────────────────────────── */
:root{
  --white:    #FFFFFF;
  --off-white:#F9F6F1;
  --bej-lt:   #F5EFE6;
  --bej:      #E8DDD0;
  --bej-dk:   #C9B99A;
  --black:    #1A1A1A;
  --gray-90:  #2D2D2D;
  --gray-70:  #4A4A4A;
  --gray-50:  #767676;
  --gray-30:  #ABABAB;
  --gray-10:  #E8E4DE;

  --bg:       var(--white);
  --bg-alt:   var(--bej-lt);
  --bg-card:  var(--white);
  --border:   var(--gray-10);
  --border-dk:var(--bej-dk);

  --text:     var(--black);
  --text-2:   var(--gray-70);
  --text-3:   var(--gray-50);

  --accent:   var(--black);
  --accent-2: var(--bej-dk);

  --font:     'Inter', system-ui, -apple-system, sans-serif;
  --r-sm:4px; --r-md:8px; --r-lg:14px; --r-xl:20px;
  --sh-sm:0 1px 4px rgba(0,0,0,.06);
  --sh-md:0 4px 16px rgba(0,0,0,.08);
  --sh-lg:0 12px 40px rgba(0,0,0,.1);
  --nav-h:64px;
}

/* ─── Base ───────────────────────────────────────────────── */
body{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.65;min-height:100vh;display:flex;flex-direction:column;padding-top:var(--nav-h)}
#main{flex:1}
.container{max-width:1160px;margin:0 auto;padding:0 24px}

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar{position:fixed;top:0;left:0;right:0;z-index:1000;height:var(--nav-h);background:rgba(255,255,255,.92);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border);transition:box-shadow .3s}
.navbar.scrolled{box-shadow:var(--sh-md)}
.nav-inner{display:flex;align-items:center;height:100%;gap:28px}
.nav-logo{display:flex;align-items:center;font-weight:800;font-size:1.4rem}
.logo-num{color:var(--black);font-style:italic}
.logo-word{color:var(--black)}
.nav-links{display:flex;gap:2px;flex:1}
.nav-link{padding:7px 14px;border-radius:var(--r-sm);color:var(--text-2);font-size:.88rem;font-weight:500;transition:all .2s}
.nav-link:hover,.nav-link.active{color:var(--black);background:var(--bej-lt)}
.nav-link.active{font-weight:600}
.nav-actions{display:flex;align-items:center;gap:6px;margin-left:auto}

/* Lang btn */
.lang-btn{font-size:.75rem;font-weight:700;padding:4px 10px;border:1px solid var(--border);border-radius:var(--r-sm);color:var(--text-2);letter-spacing:.06em;transition:all .2s}
.lang-btn:hover{background:var(--bej-lt);color:var(--black)}

/* Icon btn */
.icon-btn{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--r-sm);color:var(--text-2);transition:all .2s;position:relative}
.icon-btn:hover{background:var(--bej-lt);color:var(--black)}
.icon-btn svg{width:18px;height:18px}

/* Notification badge */
.notif-badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 4px;background:var(--black);color:#fff;font-size:10px;font-weight:700;border-radius:8px;display:flex;align-items:center;justify-content:center}

/* Dropdowns */
.notif-wrap,.user-menu-wrap{position:relative}
.notif-dropdown,.user-dropdown{position:absolute;top:calc(100% + 8px);right:0;background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-lg);opacity:0;visibility:hidden;transform:translateY(-6px);transition:all .2s;z-index:200}
.notif-dropdown{width:300px}
.notif-dropdown.open,.user-dropdown.open{opacity:1;visibility:visible;transform:none}
.notif-hdr{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--border);font-size:.85rem;font-weight:600}
.text-link{color:var(--black);font-size:.8rem;text-decoration:underline}
.notif-item{display:flex;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border);align-items:flex-start;transition:background .15s}
.notif-item:hover{background:var(--bej-lt)}
.notif-item--unread{background:var(--bej-lt)}
.notif-dot{width:8px;height:8px;border-radius:50%;background:var(--black);flex-shrink:0;margin-top:4px}
.notif-item.notif-item--unread .notif-dot{background:var(--black)}
.notif-title{font-size:.85rem;font-weight:600;margin-bottom:2px}
.notif-meta{font-size:.78rem;color:var(--text-3)}
.notif-empty{padding:24px;text-align:center;color:var(--text-3);font-size:.85rem}
.notif-footer{display:block;padding:12px 16px;text-align:center;font-size:.82rem;border-top:1px solid var(--border);font-weight:600}
.notif-footer:hover{background:var(--bej-lt)}

/* User menu */
.user-btn{display:flex;align-items:center;gap:8px;padding:4px 10px 4px 4px;border:1px solid var(--border);border-radius:var(--r-sm);transition:all .2s}
.user-btn:hover{background:var(--bej-lt)}
.u-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover}
.u-name{font-size:.84rem;font-weight:500;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chevron{width:14px;height:14px;color:var(--gray-30)}
.user-dropdown{width:210px;padding:6px}
.dd-item{display:flex;align-items:center;gap:9px;padding:9px 11px;border-radius:var(--r-sm);font-size:.88rem;color:var(--text-2);transition:all .15s;width:100%}
.dd-item:hover{background:var(--bej-lt);color:var(--black)}
.dd-item svg{width:15px;height:15px;flex-shrink:0}
.dd-item--amber{color:#8a6a00}
.dd-item--amber:hover{background:#fdf6e3}
.dd-item--red:hover{color:#c00;background:#fff5f5}
.dd-sep{height:1px;background:var(--border);margin:5px 0}

/* Hamburger */
.hamburger{display:none;flex-direction:column;gap:5px;width:28px}
.hamburger span{display:block;height:2px;background:var(--black);border-radius:2px;transition:all .3s}
.hamburger.open span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.open span:nth-child(2){opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}

/* ─── Buttons ────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 22px;border-radius:var(--r-md);font-size:.9rem;font-weight:600;transition:all .2s;cursor:pointer;border:2px solid transparent;white-space:nowrap}
.btn svg{width:16px;height:16px;flex-shrink:0}
.btn-sm{padding:6px 14px;font-size:.8rem}
.btn-lg{padding:14px 30px;font-size:1rem}
.btn-full{width:100%}
.btn-dark{background:var(--black);color:#fff;border-color:var(--black)}
.btn-dark:hover{background:var(--gray-90);transform:translateY(-1px);box-shadow:0 4px 16px rgba(0,0,0,.2)}
.btn-outline-dark{background:transparent;color:var(--black);border-color:var(--black)}
.btn-outline-dark:hover{background:var(--black);color:#fff;transform:translateY(-1px)}
.btn-bej{background:var(--bej-dk);color:var(--black);border-color:var(--bej-dk)}
.btn-bej:hover{background:#b8a88a;transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--text-2);border-color:var(--border)}
.btn-ghost:hover{background:var(--bej-lt);color:var(--black)}

/* ─── Flash ──────────────────────────────────────────────── */
.flash-wrap{position:fixed;top:calc(var(--nav-h)+12px);right:16px;z-index:2000;transition:opacity .4s}
.flash{display:flex;align-items:flex-start;gap:10px;padding:14px 18px;border-radius:var(--r-md);box-shadow:var(--sh-md);min-width:260px;max-width:400px;font-size:.9rem;background:var(--white);border:1px solid var(--border)}
.flash svg{width:18px;height:18px;flex-shrink:0;margin-top:1px}
.flash--success{border-left:4px solid #1a7a1a;color:#1a5a1a}
.flash--error{border-left:4px solid #c00;color:#900}
.flash-x{margin-left:auto;opacity:.5;font-size:1.1rem;line-height:1}

/* ─── Hero ───────────────────────────────────────────────── */
.hero{position:relative;min-height:90vh;display:flex;align-items:center;overflow:hidden;background:var(--bej-lt)}
#hero-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(245,239,230,.6) 0%,rgba(249,246,241,.3) 100%)}
.hero-content{position:relative;z-index:2;max-width:620px}
.hero-badge{display:inline-block;padding:5px 14px;background:var(--white);border:1px solid var(--bej-dk);border-radius:100px;font-size:.8rem;font-weight:600;color:var(--text-2);margin-bottom:20px;letter-spacing:.04em}
.hero-title{font-size:clamp(2.4rem,5.5vw,4.2rem);font-weight:800;line-height:1.1;margin-bottom:18px;color:var(--black)}
.hero-sub{font-size:1.05rem;color:var(--text-2);line-height:1.7;margin-bottom:32px;max-width:480px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.scroll-hint{position:absolute;bottom:36px;left:50%;transform:translateX(-50%);text-align:center;color:var(--text-3);font-size:.78rem;display:flex;flex-direction:column;align-items:center;gap:6px;animation:bounce 2s infinite}
.scroll-arr{width:18px;height:18px;border-right:2px solid var(--bej-dk);border-bottom:2px solid var(--bej-dk);transform:rotate(45deg)}
@keyframes bounce{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(6px)}}

/* ─── Stats bar ──────────────────────────────────────────── */
.stats-bar{background:var(--black);color:#fff}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr)}
.stat{padding:28px 24px;text-align:center;border-right:1px solid rgba(255,255,255,.08)}
.stat:last-child{border-right:none}
.stat-n{display:block;font-size:2rem;font-weight:800;color:var(--bej-dk);line-height:1}
.stat-l{font-size:.82rem;color:rgba(255,255,255,.5);margin-top:4px;display:block}

/* ─── Sections ───────────────────────────────────────────── */
.section{padding:76px 0}
.section-alt{background:var(--bej-lt)}
.sec-hdr{text-align:center;margin-bottom:48px}
.sec-badge{display:inline-block;padding:4px 14px;background:var(--bej);border:1px solid var(--bej-dk);border-radius:100px;font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px;color:var(--gray-70)}
.sec-hdr h2{font-size:clamp(1.8rem,3.5vw,2.6rem);font-weight:700;color:var(--black)}
.sec-footer{text-align:center;margin-top:36px}

/* ─── Services ───────────────────────────────────────────── */
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.svc-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:32px;transition:all .3s}
.svc-card:hover{border-color:var(--bej-dk);transform:translateY(-3px);box-shadow:var(--sh-md)}
.svc-icon{width:50px;height:50px;border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.svc-icon svg{width:22px;height:22px}
.svc-icon--1{background:var(--black);color:#fff}
.svc-icon--2{background:var(--bej);color:var(--black)}
.svc-icon--3{background:var(--bej-lt);border:1px solid var(--bej-dk);color:var(--black)}
.svc-card h3{font-size:1.1rem;font-weight:700;margin-bottom:10px}
.svc-card p{color:var(--text-2);font-size:.9rem;line-height:1.6;margin-bottom:16px}
.svc-list{color:var(--text-3);font-size:.84rem;display:flex;flex-direction:column;gap:5px;margin-bottom:18px}
.svc-list li::before{content:'✓ ';color:var(--black);font-weight:700}
.svc-link{color:var(--black);font-size:.88rem;font-weight:700;border-bottom:1px solid var(--black)}

/* ─── STL Grid ───────────────────────────────────────────── */
.stl-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.stl-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;transition:all .3s}
.stl-card:hover{border-color:var(--bej-dk);transform:translateY(-2px);box-shadow:var(--sh-md)}
.stl-card-img{display:block;aspect-ratio:1;overflow:hidden;background:var(--bej-lt);position:relative}
.stl-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.stl-card:hover .stl-card-img img{transform:scale(1.04)}
.stl-no-img{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--bej-dk)}
.stl-no-img svg{width:36px;height:36px}
.stl-no-img span{font-size:.7rem;font-weight:700;letter-spacing:.1em}
.stl-cat-badge{position:absolute;top:10px;left:10px;padding:3px 10px;background:rgba(26,26,26,.85);border-radius:100px;font-size:.7rem;font-weight:600;color:#fff}
.stl-card-body{padding:14px}
.stl-card-title{display:block;font-weight:600;font-size:.93rem;margin-bottom:10px;line-height:1.3;color:var(--black)}
.stl-card-title:hover{text-decoration:underline}
.stl-card-meta{display:flex;justify-content:space-between;align-items:center}
.stl-author{display:flex;align-items:center;gap:6px;font-size:.78rem;color:var(--text-3)}
.stl-author img{width:20px;height:20px;border-radius:50%;object-fit:cover}
.stl-stats{display:flex;gap:10px;font-size:.78rem;color:var(--text-3)}

/* ─── Steps ──────────────────────────────────────────────── */
.steps-row{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:start;gap:0}
.step{text-align:center;padding:0 12px}
.step-n{font-size:2.8rem;font-weight:800;color:var(--bej-dk);line-height:1;margin-bottom:10px}
.step h3{font-size:.95rem;font-weight:700;margin-bottom:6px}
.step p{font-size:.83rem;color:var(--text-2)}
.step-line{width:50px;height:2px;background:var(--bej-dk);margin-top:28px;opacity:.6}

/* ─── Forum preview ──────────────────────────────────────── */
.forum-prev{display:flex;flex-direction:column;gap:2px}
.fp-item{display:flex;align-items:center;gap:14px;padding:14px;border-radius:var(--r-md);transition:background .15s}
.fp-item:hover{background:var(--bej-lt)}
.fp-cat{padding:3px 10px;background:var(--bej);border:1px solid var(--bej-dk);border-radius:100px;font-size:.73rem;font-weight:600;white-space:nowrap;color:var(--gray-70)}
.fp-body{flex:1;min-width:0}
.fp-title{display:block;font-weight:500;font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.fp-meta{font-size:.78rem;color:var(--text-3)}
.fp-replies{font-size:.78rem;color:var(--text-3);white-space:nowrap}

/* ─── CTA ────────────────────────────────────────────────── */
.cta-section{background:var(--black);padding:80px 0}
.cta-inner{text-align:center}
.cta-inner h2{font-size:2.4rem;font-weight:800;color:#fff;margin-bottom:12px}
.cta-inner p{color:rgba(255,255,255,.6);font-size:1rem;margin-bottom:28px}
.cta-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ─── Forms ──────────────────────────────────────────────── */
.page-wrap{padding:44px 0 80px}
.page-hdr{margin-bottom:32px}
.page-hdr h1{font-size:1.9rem;font-weight:700;margin-bottom:6px}
.page-hdr p{color:var(--text-2)}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:.83rem;color:var(--text-3);margin-bottom:24px}
.breadcrumb a:hover{color:var(--black);text-decoration:underline}
.form-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:36px;max-width:500px}
.form-card-wide{max-width:780px}
.fg2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.span2{grid-column:span 2}
.fg{display:flex;flex-direction:column;gap:5px}
.label{font-size:.88rem;font-weight:500}
.hint{font-size:.78rem;color:var(--text-3);font-weight:400}
.inp{background:var(--off-white);border:1px solid var(--border);border-radius:var(--r-md);padding:10px 14px;color:var(--black);font-size:.9rem;outline:none;transition:border-color .2s;width:100%}
.inp:focus{border-color:var(--black);background:var(--white)}
.inp.err{border-color:#c00}
.sel{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767676' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:15px;padding-right:38px}
.sel{background-color:var(--off-white)}
.textarea{resize:vertical;min-height:96px}
.ferr{font-size:.78rem;color:#c00;margin-top:2px}
.form-actions{display:flex;gap:10px;margin-top:24px;flex-wrap:wrap}

/* File drop */
.drop-zone{border:2px dashed var(--bej-dk);border-radius:var(--r-lg);padding:28px;text-align:center;cursor:pointer;transition:all .2s}
.drop-zone:hover,.drop-zone.over{border-color:var(--black);background:var(--bej-lt)}
.drop-zone input[type=file]{display:none}
.drop-icon svg{width:34px;height:34px;color:var(--bej-dk);margin:0 auto 8px}
.drop-text{font-size:.88rem;color:var(--text-2)}
.drop-text strong{color:var(--black);text-decoration:underline}
.drop-hint{font-size:.78rem;color:var(--text-3)}
.drop-selected{display:none;align-items:center;gap:10px;justify-content:center;font-size:.88rem}
.drop-selected svg{color:green;width:18px;height:18px}
.progress-wrap{margin-top:12px;display:none}
.progress-bar{height:5px;background:var(--border);border-radius:3px;overflow:hidden}
.progress-fill{height:100%;background:var(--black);border-radius:3px;transition:width .2s}

/* Auth */
.auth-wrap{min-height:calc(100vh - var(--nav-h));display:flex;align-items:center;justify-content:center;padding:40px 24px;background:var(--bej-lt)}
.auth-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-xl);padding:36px;width:100%;max-width:420px;box-shadow:var(--sh-md)}
.auth-logo{text-align:center;margin-bottom:20px}
.auth-hdr{text-align:center;margin-bottom:24px}
.auth-hdr h1{font-size:1.5rem;font-weight:700;margin-bottom:4px}
.auth-hdr p{color:var(--text-2);font-size:.9rem}
.auth-switch{text-align:center;margin-top:18px;font-size:.88rem;color:var(--text-2)}
.auth-switch a{color:var(--black);font-weight:700;text-decoration:underline}
.pw-wrap{position:relative}
.pw-wrap .inp{padding-right:44px}
.pw-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--gray-30)}
.pw-eye svg{width:17px;height:17px}

/* STL Detail */
.detail-grid{display:grid;grid-template-columns:1fr 400px;gap:36px;align-items:start}
.viewer-box{background:#f5f0ea;border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;aspect-ratio:4/3;position:relative}
.viewer-box canvas{width:100%!important;height:100%!important}
.viewer-ctrls{position:absolute;top:10px;right:10px;display:flex;flex-direction:column;gap:6px}
.v-btn{width:34px;height:34px;background:rgba(255,255,255,.9);border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;color:var(--black);box-shadow:var(--sh-sm);transition:background .2s}
.v-btn:hover{background:var(--black);color:#fff}
.v-btn svg{width:15px;height:15px}
.viewer-hint{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.85);backdrop-filter:blur(8px);padding:5px 12px;border-radius:100px;font-size:.72rem;color:var(--text-2);white-space:nowrap}
.viewer-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:rgba(245,240,234,.9);font-size:.85rem;color:var(--text-2)}
.file-info-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.fi-tag{display:flex;align-items:center;gap:5px;padding:4px 10px;background:var(--bej-lt);border:1px solid var(--bej-dk);border-radius:100px;font-size:.78rem;color:var(--text-2)}
.fi-tag svg{width:12px;height:12px}
.detail-badges{display:flex;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.badge{padding:3px 12px;border-radius:100px;font-size:.73rem;font-weight:600;text-transform:capitalize}
.badge-cat{background:var(--bej);border:1px solid var(--bej-dk);color:var(--gray-70)}
.badge-ok{background:#e6f4e6;color:#1a5a1a}
.badge-pending{background:#fef9e7;color:#7a5a00}
.badge-rejected{background:#fef0f0;color:#900}
.detail-title{font-size:1.7rem;font-weight:700;margin-bottom:16px;line-height:1.2}
.detail-author{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.auth-av{width:38px;height:38px;border-radius:50%;object-fit:cover}
.auth-name{font-weight:600;display:block}
.auth-name:hover{text-decoration:underline}
.auth-date{font-size:.78rem;color:var(--text-3)}
.detail-desc{background:var(--bej-lt);border-radius:var(--r-md);padding:14px;margin-bottom:14px;font-size:.88rem;color:var(--text-2);line-height:1.7}
.tags-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}
.tag{padding:3px 10px;background:var(--bej-lt);border:1px solid var(--bej);border-radius:100px;font-size:.76rem;color:var(--text-2)}
.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:20px}
.stat-box{text-align:center;padding:12px;background:var(--bej-lt);border-radius:var(--r-md)}
.stat-box-n{display:block;font-size:1.3rem;font-weight:700;color:var(--black)}
.stat-box-l{font-size:.75rem;color:var(--text-3);margin-top:2px}
.action-grid{display:flex;flex-direction:column;gap:9px}
.action-row3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}

/* Tables */
.tbl{width:100%;border-collapse:collapse;font-size:.87rem}
.tbl th{text-align:left;padding:9px 12px;color:var(--text-3);font-size:.76rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border)}
.tbl td{padding:11px 12px;border-bottom:1px solid var(--border);color:var(--text-2)}
.tbl tr:last-child td{border-bottom:none}
.tbl-link{color:var(--black);font-weight:500}
.tbl-link:hover{text-decoration:underline}

/* Status badges */
.st{padding:2px 9px;border-radius:100px;font-size:.71rem;font-weight:600}
.st-ok{background:#e6f4e6;color:#1a5a1a}
.st-pend{background:#fef9e7;color:#7a5a00}
.st-rej,.st-can{background:#fef0f0;color:#900}
.st-quot,.st-prod{background:var(--bej);color:var(--gray-70)}
.st-ship{background:#e6f0fa;color:#004a9a}

/* Forum */
.forum-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.fc-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:22px;display:flex;gap:16px;align-items:flex-start;transition:all .3s}
.fc-card:hover{border-color:var(--bej-dk);transform:translateY(-2px);box-shadow:var(--sh-md)}
.fc-icon{font-size:1.5rem;flex-shrink:0;margin-top:2px}
.fc-name{font-weight:700;margin-bottom:4px;font-size:1rem}
.fc-desc{font-size:.84rem;color:var(--text-2);margin-bottom:8px}
.fc-meta{font-size:.78rem;color:var(--text-3)}
.topic-row{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--border);transition:background .15s}
.topic-row:hover{background:var(--bej-lt)}
.topic-pin{color:var(--bej-dk);font-size:1rem;margin-right:2px}
.topic-title-a{font-weight:600;font-size:.93rem;color:var(--black)}
.topic-title-a:hover{text-decoration:underline}
.topic-meta{font-size:.78rem;color:var(--text-3)}
.topic-stats{display:flex;gap:14px;font-size:.78rem;color:var(--text-3);margin-left:auto;white-space:nowrap}
.reply-box{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:20px;margin-bottom:14px}
.reply-box.solution{border-left:3px solid #1a7a1a;background:#f8fdf8}
.reply-author{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.reply-av{width:34px;height:34px;border-radius:50%;object-fit:cover}
.reply-content{font-size:.92rem;line-height:1.7;color:var(--text)}
.reply-content p{margin-bottom:8px}
.reply-content a{color:var(--black);text-decoration:underline}
.reply-actions{display:flex;gap:10px;margin-top:12px}
.reply-btn{font-size:.8rem;color:var(--text-3);transition:color .15s}
.reply-btn:hover{color:var(--black)}
.solution-badge{display:inline-flex;align-items:center;gap:5px;background:#e6f4e6;color:#1a5a1a;padding:2px 10px;border-radius:100px;font-size:.75rem;font-weight:600;margin-bottom:8px}

/* Admin sidebar */
.admin-layout{display:flex;min-height:calc(100vh - var(--nav-h))}
.admin-side{width:220px;flex-shrink:0;background:var(--black);display:flex;flex-direction:column;position:sticky;top:var(--nav-h);height:calc(100vh - var(--nav-h));overflow-y:auto}
.admin-side-hdr{padding:20px;border-bottom:1px solid rgba(255,255,255,.08);font-weight:800;font-size:1.1rem;color:#fff;display:flex;align-items:center;gap:8px}
.admin-side-hdr .logo-num{color:var(--bej-dk)}
.admin-side-badge{font-size:.65rem;background:var(--bej-dk);color:var(--black);padding:2px 8px;border-radius:100px;margin-left:auto}
.admin-nav{padding:10px;display:flex;flex-direction:column;gap:2px}
.an-item{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:var(--r-sm);font-size:.86rem;color:rgba(255,255,255,.6);transition:all .2s}
.an-item:hover{background:rgba(255,255,255,.06);color:#fff}
.an-item.active{background:rgba(201,185,154,.15);color:var(--bej-dk)}
.an-item svg{width:15px;height:15px;flex-shrink:0}
.an-count{margin-left:auto;background:var(--bej-dk);color:var(--black);font-size:.7rem;font-weight:700;padding:1px 6px;border-radius:100px}
.an-sep{height:1px;background:rgba(255,255,255,.08);margin:6px 0}
.admin-main{flex:1;padding:28px;min-width:0}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
.admin-topbar h1{font-size:1.4rem;font-weight:700}
.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}
.as-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:18px;display:flex;align-items:center;gap:14px}
.as-icon{width:42px;height:42px;border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.as-icon svg{width:19px;height:19px}
.as-icon--1{background:var(--black);color:#fff}
.as-icon--2{background:var(--bej-lt);border:1px solid var(--bej-dk);color:var(--black)}
.as-icon--3{background:var(--bej);color:var(--black)}
.as-icon--4{background:#f0f7ff;color:#0055aa}
.as-num{display:block;font-size:1.5rem;font-weight:800;line-height:1}
.as-lbl{font-size:.76rem;color:var(--text-3)}
.as-badge{margin-left:auto;font-size:.7rem;padding:2px 8px;border-radius:100px;background:#fef9e7;color:#7a5a00;white-space:nowrap}
.admin-row2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.a-card{background:var(--white);border:1px solid var(--border);border-radius:var(--r-lg);padding:18px}
.a-card-hdr{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.a-card-hdr h3{font-size:.92rem;font-weight:700}

/* Spinner */
.spinner{width:28px;height:28px;border:3px solid var(--border);border-top-color:var(--black);border-radius:50%;animation:spin .7s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* Empty state */
.empty-msg{padding:40px;text-align:center;color:var(--text-3);font-size:.92rem}
.empty-msg a{color:var(--black);font-weight:700;text-decoration:underline}

/* ─── Footer ─────────────────────────────────────────────── */
.footer{background:var(--bej-lt);border-top:1px solid var(--border);padding:56px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;padding-bottom:36px}
.footer-brand p{color:var(--text-2);font-size:.88rem;line-height:1.6;margin-top:10px;max-width:240px}
.footer-social{display:flex;gap:8px;margin-top:14px}
.social-a{width:34px;height:34px;border:1px solid var(--border);border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;color:var(--text-2);transition:all .2s}
.social-a:hover{border-color:var(--black);color:var(--black)}
.social-a svg{width:15px;height:15px}
.footer-col h4{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.07em;color:var(--text-3);margin-bottom:14px}
.footer-col a,.footer-col span{display:block;color:var(--text-2);font-size:.88rem;margin-bottom:7px;transition:color .2s}
.footer-col a:hover{color:var(--black);text-decoration:underline}
.footer-bottom{border-top:1px solid var(--border);padding:18px 0}
.footer-bot-inner{display:flex;justify-content:space-between;font-size:.78rem;color:var(--text-3)}

/* ─── Responsive ─────────────────────────────────────────── */
@media(max-width:1024px){
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .detail-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .steps-row{grid-template-columns:1fr 1fr;gap:24px}
  .step-line{display:none}
  .admin-stats{grid-template-columns:repeat(2,1fr)}
  .forum-cat-grid{grid-template-columns:1fr}
}
@media(max-width:768px){
  .nav-links{display:none;position:fixed;top:var(--nav-h);left:0;right:0;background:var(--white);border-bottom:1px solid var(--border);flex-direction:column;padding:14px;gap:2px}
  .nav-links.open{display:flex}
  .hamburger{display:flex}
  .u-name{display:none}
  .stl-grid{grid-template-columns:repeat(2,1fr)}
  .services-grid{grid-template-columns:1fr}
  .stats-row{grid-template-columns:repeat(2,1fr)}
  .stat{border-right:none;border-bottom:1px solid rgba(255,255,255,.08)}
  .fg2{grid-template-columns:1fr}
  .span2{grid-column:span 1}
  .hero-btns{flex-direction:column}
  .footer-grid{grid-template-columns:1fr}
  .footer-bot-inner{flex-direction:column;gap:4px}
  .admin-layout{flex-direction:column}
  .admin-side{width:100%;position:static;height:auto}
  .admin-row2{grid-template-columns:1fr}
  .action-row3{grid-template-columns:1fr}
}
@media(max-width:480px){
  .stl-grid{grid-template-columns:1fr}
  .hero-title{font-size:2.1rem}
  .form-card{padding:22px}
  .auth-card{padding:24px}
}
