
  :root{
    --bg:#ffffff;
    --bg-alt:#faf7f7;
    --surface:#ffffff;
    --surface-2:#fdf5f5;
    --text:#181414;
    --text-muted:#6b6468;
    --accent:#c00000;
    --accent-dark:#8f0000;
    --accent-tint:#fbeaea;
    --border:#ecdede;
    --shadow: 0 10px 30px rgba(192,0,0,0.07);
    --grid-line: rgba(192,0,0,0.06);
    color-scheme: light;
  }
  html.dark{
    --bg:#111010;
    --bg-alt:#161414;
    --surface:#1b1919;
    --surface-2:#1f1616;
    --text:#f3efef;
    --text-muted:#a9a0a0;
    --accent:#ff4b4b;
    --accent-dark:#c00000;
    --accent-tint:rgba(255,75,75,0.12);
    --border:#2c2626;
    --shadow: 0 10px 30px rgba(0,0,0,0.4);
    --grid-line: rgba(255,75,75,0.07);
    color-scheme: dark;
  }

  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:'Inter', sans-serif;
    line-height:1.65;
    -webkit-font-smoothing:antialiased;
    transition:background .35s ease, color .35s ease;
    overflow-x:hidden;
  }
  h1,h2,h3,h4{
    font-family:'Poppins', sans-serif;
    margin:0;
    letter-spacing:-0.01em;
  }
  p{margin:0;}
  a{color:inherit; text-decoration:none;}
  ul{margin:0; padding:0; list-style:none;}
  img{max-width:100%; display:block;}
  section{position:relative;}
  .container{
    max-width:1180px;
    margin:0 auto;
    padding:0 clamp(20px, 5vw, 48px);
  }
  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12.5px;
    font-weight:600;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--accent);
    margin-bottom:14px;
  }
  .eyebrow::before{
    content:"";
    width:18px; height:2px;
    background:var(--accent);
    display:inline-block;
  }
  .section-title{
    font-size:clamp(26px, 3.6vw, 38px);
    font-weight:700;
    color:var(--text);
    max-width:640px;
  }
  .section-sub{
    color:var(--text-muted);
    font-size:15.5px;
    max-width:620px;
    margin-top:14px;
  }
  .section-pad{ padding:96px 0; }
  @media (max-width:640px){ .section-pad{ padding:64px 0; } }

  /* subtle sterile-tray crosshair grid used on alt sections */
  .grid-bg{
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 42px 42px;
  }

  /* ---------- HEADER ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:1000;
    background:color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--border);
    transition:background .35s ease, border-color .35s ease;
  }
  .nav-wrap{
    max-width:1180px; margin:0 auto;
    padding:0 clamp(20px,5vw,48px);
    height:76px;
    display:flex; align-items:center; justify-content:space-between;
  }
  .logo{
    display:flex; align-items:center; gap:10px;
    font-family:'Poppins', sans-serif;
    font-weight:700;
    font-size:19px;
    color:var(--text);
  }
  .logo-mark{
    height:44px;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .logo-mark img{ height:100%; width:auto; object-fit:contain; display:block; }
  .logo small{
    display:block;
    font-family:'Inter',sans-serif;
    font-weight:500;
    font-size:10px;
    letter-spacing:0.16em;
    color:var(--text-muted);
    margin-top:1px;
  }
  nav.primary-nav{ display:flex; align-items:center; gap:36px; }
  nav.primary-nav a{
    font-size:14.5px; font-weight:500; color:var(--text);
    position:relative; padding:6px 0;
  }
  nav.primary-nav a::after{
    content:""; position:absolute; left:0; bottom:0;
    width:0; height:2px; background:var(--accent);
    transition:width .25s ease;
  }
  nav.primary-nav a:hover::after{ width:100%; }
  .header-actions{ display:flex; align-items:center; gap:14px; }
  .icon-btn{
    width:40px; height:40px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--border); background:var(--surface);
    cursor:pointer; color:var(--text);
    transition:background .2s ease, transform .2s ease;
  }
  .icon-btn:hover{ background:var(--accent-tint); }
  .icon-btn svg{ width:18px; height:18px; }
  .moon{ display:none; }
  html.dark .sun{ display:none; }
  html.dark .moon{ display:block; }

  .mobile-nav{
    position:fixed; top:76px; left:0; right:0;
    background:var(--surface);
    border-bottom:1px solid var(--border);
    display:flex; flex-direction:column;
    padding:10px 20px 24px;
    gap:4px;
    transform:translateY(-12px);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease, transform .25s ease;
    z-index:999;
  }
  .mobile-nav.open{
    opacity:1; transform:translateY(0); pointer-events:auto;
  }
  .mobile-nav a{
    padding:13px 6px; font-size:15px; font-weight:500;
    border-bottom:1px solid var(--border);
  }

  @media (max-width:900px){
    nav.primary-nav{ display:none; }
  }
  .admin-link{
    margin-top:6px; padding-top:14px;
    border-top:1px dashed var(--border);
    display:flex !important; align-items:center; gap:8px;
    color:var(--accent) !important; font-weight:600 !important;
  }
  .admin-link svg{ width:16px; height:16px; }

  /* ---------- HERO ---------- */
  .hero{
    padding:168px 0 100px;
    position:relative;
    overflow:hidden;
    background:
      radial-gradient(ellipse 900px 500px at 85% -10%, var(--accent-tint), transparent 60%),
      var(--bg);
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr 0.95fr;
    gap:56px;
    align-items:center;
  }
  @media (max-width:900px){ .hero-grid{ grid-template-columns:1fr; } }

  .hero-eyebrow{
    color:var(--accent); font-weight:600; font-size:13px;
    letter-spacing:0.16em; text-transform:uppercase; margin-bottom:18px;
    display:block;
  }
  .hero h1{
    font-size:clamp(38px, 6vw, 64px);
    font-weight:800;
    line-height:1.05;
    color:var(--text);
  }
  .hero h1 span{ color:var(--accent); }
  .hero p.tagline{
    margin-top:22px;
    font-size:17px;
    color:var(--text-muted);
    max-width:520px;
  }
  .hero-actions{ display:flex; gap:16px; margin-top:38px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:14px 28px;
    border-radius:8px;
    font-weight:600; font-size:14.5px;
    cursor:pointer; border:1.5px solid transparent;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .btn:hover{ transform:translateY(-2px); }
  .btn-primary{ background:var(--accent); color:#fff; box-shadow:0 8px 20px rgba(192,0,0,0.25); }
  .btn-primary:hover{ background:var(--accent-dark); }
  .btn-outline{ border-color:var(--border); color:var(--text); background:var(--surface); }
  .btn-outline:hover{ border-color:var(--accent); color:var(--accent); }

  .hero-visual{ position:relative; height:380px; }
  .hero-visual svg{ width:100%; height:100%; }
  .wire-path{
    fill:none; stroke:var(--accent); stroke-width:2.5;
    stroke-linecap:round;
    stroke-dasharray:1400;
    stroke-dashoffset:1400;
    animation:drawWire 2.6s ease-out forwards .3s;
  }
  .wire-dot{
    fill:var(--accent);
    opacity:0;
    animation:fadeDot .6s ease forwards 2.6s;
  }
  @keyframes drawWire{ to{ stroke-dashoffset:0; } }
  @keyframes fadeDot{ to{ opacity:1; } }
  @media (prefers-reduced-motion:reduce){
    .wire-path{ animation:none; stroke-dashoffset:0; }
    .wire-dot{ animation:none; opacity:1; }
  }

  .hero-stats{
    display:flex; gap:34px; margin-top:52px; flex-wrap:wrap;
  }
  .hero-stats div{ border-left:2px solid var(--accent); padding-left:14px; }
  .hero-stats b{ font-family:'Poppins',sans-serif; font-size:24px; display:block; }
  .hero-stats span{ font-size:12.5px; color:var(--text-muted); }

  /* ---------- WHO WE ARE ---------- */
  .about-grid{
    display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center;
  }
  @media (max-width:860px){ .about-grid{ grid-template-columns:1fr; gap:36px; } }
  .about-panel{
    background:var(--surface-2);
    border:1px solid var(--border);
    border-radius:16px;
    padding:36px;
    position:relative;
  }
  .about-panel::before{
    content:"";
    position:absolute; inset:0;
    border-radius:16px;
    border:1px solid var(--border);
    transform:translate(10px,10px);
    z-index:-1;
  }
  .about-list{ display:flex; flex-direction:column; gap:18px; margin-top:8px; }
  .about-list li{ display:flex; gap:12px; align-items:flex-start; font-size:14.5px; color:var(--text-muted); }
  .about-list svg{ flex-shrink:0; width:19px; height:19px; color:var(--accent); margin-top:2px; }

  /* ---------- VISION / MISSION ---------- */
  .vm-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:28px;
  }
  @media (max-width:760px){ .vm-grid{ grid-template-columns:1fr; } }
  .vm-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:38px;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .vm-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
  .vm-icon{
    width:52px; height:52px; border-radius:12px;
    background:var(--accent-tint);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:20px;
  }
  .vm-icon svg{ width:26px; height:26px; color:var(--accent); }
  .vm-card h3{ font-size:21px; font-weight:700; margin-bottom:12px; }
  .vm-card p{ color:var(--text-muted); font-size:14.5px; }

  /* ---------- CATEGORY CARDS ---------- */
  .cat-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:48px;
  }
  @media (max-width:900px){ .cat-grid{ grid-template-columns:1fr; } }
  .cat-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    padding:34px 30px;
    transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .cat-card:hover{
    transform:translateY(-6px);
    box-shadow:var(--shadow);
    border-color:var(--accent);
  }
  .cat-icon{
    width:56px; height:56px; border-radius:14px;
    background:linear-gradient(135deg, var(--accent), var(--accent-dark));
    display:flex; align-items:center; justify-content:center;
    margin-bottom:22px;
  }
  .cat-icon svg{ width:28px; height:28px; color:#fff; }
  .cat-card h3{ font-size:19px; font-weight:700; margin-bottom:10px; }
  .cat-card p{ font-size:14px; color:var(--text-muted); }

  /* ---------- FEATURED PRODUCTS ---------- */
  .prod-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:48px;
  }
  @media (max-width:900px){ .prod-grid{ grid-template-columns:1fr; } }
  .prod-card{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  .prod-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
  .prod-media{
    height:150px;
    background:var(--grid-bg-color, var(--accent-tint));
    background-image:
      linear-gradient(var(--grid-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size:20px 20px;
    background-color:var(--accent-tint);
    display:flex; align-items:center; justify-content:center;
    position:relative;
  }
  .prod-media svg{ width:52px; height:52px; color:var(--accent); }
  .prod-body{ padding:26px; }
  .prod-tag{
    font-size:11px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase;
    color:var(--accent); margin-bottom:8px; display:block;
  }
  .prod-card h4{ font-size:17.5px; font-weight:700; margin-bottom:10px; }
  .prod-card p{ font-size:13.5px; color:var(--text-muted); }

  /* ---------- PRODUCT CATALOG TABLE ---------- */
  .catalog-wrap{
    margin-top:56px;
    border:1px solid var(--border);
    border-radius:16px;
    overflow:hidden;
    background:var(--surface);
  }
  .catalog-head{
    display:flex; align-items:center; justify-content:space-between;
    padding:22px 28px;
    border-bottom:1px solid var(--border);
    background:var(--surface-2);
    flex-wrap:wrap; gap:10px;
  }
  .catalog-head h4{ font-size:16px; font-weight:700; }
  .catalog-head span{ font-size:12.5px; color:var(--text-muted); }
  .table-scroll{ overflow-x:auto; }
  table{ width:100%; border-collapse:collapse; min-width:680px; }
  thead th{
    text-align:left; font-size:12px; letter-spacing:0.06em; text-transform:uppercase;
    color:var(--accent); font-weight:700;
    padding:14px 28px; border-bottom:1px solid var(--border);
    background:var(--bg-alt);
  }
  tbody td{
    padding:15px 28px; font-size:13.8px; color:var(--text);
    border-bottom:1px solid var(--border); vertical-align:top;
  }
  tbody td.spec{ color:var(--text-muted); }
  tbody td.sr{ color:var(--accent); font-weight:700; width:50px; }
  tbody tr:last-child td{ border-bottom:none; }
  tbody tr:hover td{ background:var(--accent-tint); }

  /* ---------- PARTNERS ---------- */
  .partners-row{
    display:flex; gap:18px; flex-wrap:wrap; margin-top:44px;
  }
  .partner-chip{
    flex:1 1 220px;
    border:1px solid var(--border);
    background:var(--surface);
    border-radius:14px;
    padding:26px 24px;
    display:flex; flex-direction:column; gap:6px;
  }
  .partner-chip .p-name{ font-family:'Poppins',sans-serif; font-weight:700; font-size:16.5px; }
  .partner-chip .p-desc{ font-size:12.8px; color:var(--text-muted); }
  .partner-chip img.p-logo{ width:100%; height:44px; object-fit:contain; object-position:left; margin-bottom:6px; }

  /* ---------- CLIENTS ---------- */
  .client-grid{
    display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:46px;
  }
  @media (max-width:760px){ .client-grid{ grid-template-columns:repeat(2,1fr); } }
  .client-slot{
    height:96px; border:1.5px dashed var(--border); border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    color:var(--text-muted); font-size:12px; text-align:center; padding:10px;
  }
  .client-slot img{ max-width:100%; max-height:100%; object-fit:contain; }

  /* ---------- CONTACT ---------- */
  .contact-grid{
    display:grid; grid-template-columns:1fr 1.1fr; gap:56px; align-items:flex-start; margin-top:20px;
  }
  @media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; } }
  .contact-info-card{
    background:linear-gradient(160deg, var(--accent), var(--accent-dark));
    border-radius:18px;
    padding:38px;
    color:#fff;
  }
  .contact-info-card h3{ font-size:22px; font-weight:700; margin-bottom:10px; }
  .contact-info-card p.lead{ font-size:14.5px; opacity:0.9; margin-bottom:28px; }
  .contact-line{ display:flex; gap:14px; align-items:flex-start; margin-bottom:20px; }
  .contact-line svg{ width:19px; height:19px; margin-top:3px; flex-shrink:0; }
  .contact-line b{ display:block; font-size:14px; }
  .contact-line span{ font-size:13px; opacity:0.85; }

  form{ display:flex; flex-direction:column; gap:16px; }
  .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  @media (max-width:520px){ .form-row{ grid-template-columns:1fr; } }
  label{ font-size:12.5px; font-weight:600; color:var(--text-muted); margin-bottom:6px; display:block; }
  input, textarea{
    width:100%;
    background:var(--surface);
    border:1.5px solid var(--border);
    border-radius:9px;
    padding:13px 14px;
    font-family:'Inter',sans-serif;
    font-size:14px;
    color:var(--text);
    transition:border-color .2s ease;
  }
  input:focus, textarea:focus{ outline:none; border-color:var(--accent); }
  textarea{ resize:vertical; min-height:110px; }
  .submit-btn{
    align-self:flex-start;
  }
  .form-note{ font-size:12px; color:var(--text-muted); margin-top:6px; display:none; }
  .form-note.show{ display:block; color:var(--accent); font-weight:600; }

  /* ---------- ADMIN MODAL ---------- */
  .modal-overlay{
    position:fixed; inset:0; z-index:2000;
    background:rgba(10,8,8,0.55);
    backdrop-filter:blur(3px);
    display:none;
    align-items:flex-start; justify-content:center;
    padding:70px 16px;
    overflow-y:auto;
  }
  .modal-overlay.open{ display:flex; }
  .modal-box{
    background:var(--surface);
    border:1px solid var(--border);
    border-radius:16px;
    width:100%; max-width:560px;
    padding:32px;
    box-shadow:0 30px 60px rgba(0,0,0,0.35);
  }
  .modal-box.wide{ max-width:860px; }
  .modal-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:22px; }
  .modal-head h3{ font-size:19px; font-weight:700; }
  .modal-close{
    width:32px; height:32px; border-radius:50%; border:1px solid var(--border);
    background:var(--surface); display:flex; align-items:center; justify-content:center;
    cursor:pointer; color:var(--text-muted);
  }
  .modal-close:hover{ color:var(--accent); border-color:var(--accent); }
  .login-error{
    font-size:12.5px; color:var(--accent); margin-top:4px; display:none; font-weight:600;
  }
  .login-error.show{ display:block; }

  .admin-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; }
  .admin-tab-btn{
    padding:9px 16px; border-radius:8px; border:1px solid var(--border);
    background:var(--bg-alt); font-size:13px; font-weight:600; color:var(--text-muted);
    cursor:pointer;
  }
  .admin-tab-btn.active{ background:var(--accent); color:#fff; border-color:var(--accent); }
  .admin-panel{ display:none; }
  .admin-panel.active{ display:block; }

  .admin-add-form{
    display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:20px;
    background:var(--bg-alt); border:1px solid var(--border); border-radius:12px; padding:18px;
  }
  .admin-add-form.single-col{ grid-template-columns:1fr; }
  .admin-add-form input, .admin-add-form textarea{ background:var(--surface); }
  .admin-add-form .full{ grid-column:1 / -1; }
  .admin-add-btn{
    grid-column:1 / -1; justify-self:flex-start;
    padding:10px 20px; font-size:13px;
  }

  .admin-list{ display:flex; flex-direction:column; gap:10px; max-height:320px; overflow-y:auto; }
  .admin-list-item{
    display:flex; align-items:flex-start; justify-content:space-between; gap:14px;
    border:1px solid var(--border); border-radius:10px; padding:12px 14px;
    background:var(--bg-alt);
  }
  .admin-list-item .ali-text{ font-size:13px; }
  .admin-list-item .ali-text b{ display:block; font-size:13.5px; margin-bottom:2px; }
  .admin-list-item .ali-text span{ color:var(--text-muted); font-size:12.5px; }
  .admin-del-btn{
    flex-shrink:0; border:none; background:var(--accent-tint); color:var(--accent);
    width:28px; height:28px; border-radius:50%; cursor:pointer; font-size:14px; font-weight:700;
  }
  .admin-del-btn:hover{ background:var(--accent); color:#fff; }
  .admin-empty{ font-size:13px; color:var(--text-muted); padding:14px; text-align:center; }
  .admin-logout{ margin-top:24px; }

  /* ---------- FOOTER ---------- */
  footer{
    border-top:1px solid var(--border);
    padding:34px 0;
    background:var(--bg-alt);
  }
  .footer-row{
    display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  }
  .footer-row p{ font-size:13px; color:var(--text-muted); }
  .footer-row .f-logo{ height:34px; width:auto; object-fit:contain; }

  /* reveal on scroll */
  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
  .reveal.in{ opacity:1; transform:translateY(0); }

  /* ---------- NAV ACTIVE STATE (multi-page) ---------- */
  nav.primary-nav a.active{ color:var(--accent); }
  nav.primary-nav a.active::after{ width:100%; }
  .mobile-nav a.active{ color:var(--accent); font-weight:700; }

  /* ---------- PAGE HERO (category & contact pages) ---------- */
  .page-hero{
    padding:150px 0 64px;
    background:
      radial-gradient(ellipse 900px 420px at 85% -10%, var(--accent-tint), transparent 60%),
      var(--bg);
  }
  .breadcrumb{
    font-size:12.5px; color:var(--text-muted); margin-bottom:16px;
  }
  .breadcrumb a{ color:var(--accent); }
  .breadcrumb span{ margin:0 6px; }
  .page-hero h1{
    font-size:clamp(30px, 4.6vw, 46px);
    font-weight:800;
    color:var(--text);
    max-width:780px;
  }
  .page-hero h1 span{ color:var(--accent); }
  .page-hero .page-lead{
    margin-top:18px;
    font-size:16px;
    color:var(--text-muted);
    max-width:680px;
  }

  /* ---------- SEO CONTENT BLOCK ---------- */
  .content-block{ max-width:820px; }
  .content-block h2{ font-size:26px; font-weight:700; margin:34px 0 14px; }
  .content-block h2:first-child{ margin-top:0; }
  .content-block p{ color:var(--text-muted); font-size:15px; margin-bottom:14px; }
  .content-block ul{ margin:0 0 14px 0; }
  .content-block ul li{
    color:var(--text-muted); font-size:15px; padding-left:22px; position:relative; margin-bottom:8px;
  }
  .content-block ul li::before{
    content:""; position:absolute; left:0; top:9px;
    width:8px; height:8px; border-radius:50%; background:var(--accent);
  }

  /* ---------- COMING SOON NOTICE ---------- */
  .catalog-empty-note{
    padding:34px 28px; text-align:center; color:var(--text-muted); font-size:14.5px;
  }
  .catalog-empty-note b{ display:block; color:var(--text); font-size:16px; margin-bottom:8px; }

  /* ---------- CROSS-LINK CARDS (bottom of category pages) ---------- */
  .crosslink-row{ display:flex; gap:20px; flex-wrap:wrap; margin-top:20px; }
  .crosslink-card{
    flex:1 1 240px; border:1px solid var(--border); border-radius:14px;
    padding:24px; background:var(--surface);
    transition:transform .2s ease, border-color .2s ease;
  }
  .crosslink-card:hover{ transform:translateY(-4px); border-color:var(--accent); }
  .crosslink-card h4{ font-size:16px; font-weight:700; margin-bottom:6px; }
  .crosslink-card p{ font-size:13px; color:var(--text-muted); margin-bottom:12px; }
  .crosslink-card a{ color:var(--accent); font-weight:600; font-size:13.5px; }
