/* ═══════════════════════════════════════════
   Trident Safety Solutions — Site Stylesheet
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --gold: #C9A84C; --gold-light: #E8C97A; --gold-dark: #8B6914;
  --black: #0A0A0A; --off-black: #111111; --dark: #1A1A1A;
  --white: #FFFFFF;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--black); color: var(--white); overflow-x: hidden; }

/* TOPBAR */
.topbar { background: var(--dark); border-bottom: 1px solid rgba(201,168,76,.2); padding: 8px 40px; display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: rgba(255,255,255,.5); }
.topbar a { color: var(--gold); text-decoration: none; }
.topbar-right { display: flex; gap: 20px; }

/* NAV */
nav { background: var(--off-black); border-bottom: 1px solid rgba(201,168,76,.15); padding: 0 40px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 200; }
.nav-logo { display: flex; align-items: center; gap: 12px; padding: 11px 0; text-decoration: none; }
.brand { font-family: var(--font-display); font-size: 18px; color: var(--white); letter-spacing: 3px; font-weight: 700; display: block; }
.sub { font-size: 9px; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; font-weight: 600; }
.nav-links { display: flex; align-items: stretch; height: 100%; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > span { color: rgba(255,255,255,.7); text-decoration: none; font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase; padding: 20px 13px; font-weight: 600; display: flex; align-items: center; gap: 4px; cursor: pointer; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; white-space: nowrap; }
.nav-item > a.active, .nav-item:hover > a, .nav-item:hover > span { color: var(--gold); border-bottom-color: var(--gold); }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--dark); border: 1px solid rgba(201,168,76,.15); border-top: 2px solid var(--gold); min-width: 210px; box-shadow: 0 12px 40px rgba(0,0,0,.6); z-index: 300; }
.dropdown.mega { min-width: 680px; display: none; grid-template-columns: repeat(4,1fr); }
.nav-item:hover .dropdown { display: block; }
.nav-item:hover .dropdown.mega { display: grid; }
.dcol { padding: 16px 14px; border-right: 1px solid rgba(255,255,255,.04); }
.dcol:last-child { border-right: none; }
.dcol h5 { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid rgba(201,168,76,.15); }
.dcol a, .dropdown a { display: block; color: rgba(255,255,255,.5); text-decoration: none; font-size: 12px; padding: 4px 0; transition: color .15s; }
.dcol a:hover, .dropdown a:hover { color: var(--gold); }
.dsimple a { padding: 9px 16px; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 12px; }
.dsimple a:last-child { border-bottom: none; }
.dcol-extra { padding: 16px 14px; display: flex; align-items: flex-end; }
.nav-cta { background: var(--gold); color: var(--black); font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 9px 20px; border-radius: 2px; cursor: pointer; border: none; transition: background .2s; margin-left: 14px; }
.nav-cta:hover { background: var(--gold-light); }
.nav-hamburger { display: none; background: none; border: none; color: var(--white); font-size: 22px; cursor: pointer; padding: 8px; }
@media(max-width:860px) { .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--off-black); border-top: 2px solid var(--gold); z-index: 199; } .nav-links.open { display: flex; } .nav-item > a, .nav-item > span { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.06); } .dropdown, .dropdown.mega { display: none !important; } .nav-hamburger { display: block; } }

/* HERO */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; opacity: .035; background-image: repeating-linear-gradient(0deg,transparent,transparent 59px,rgba(201,168,76,1) 59px,rgba(201,168,76,1) 60px),repeating-linear-gradient(90deg,transparent,transparent 59px,rgba(201,168,76,1) 59px,rgba(201,168,76,1) 60px); }
.hero-line { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom,transparent,var(--gold),var(--gold-light),var(--gold),transparent); }
.hero-content { position: relative; z-index: 2; padding: 70px 72px; max-width: 700px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow span { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eyebrow::after { content: ''; height: 1px; background: var(--gold); width: 55px; opacity: .5; }
h1 { font-family: var(--font-display); font-size: clamp(38px,6vw,70px); font-weight: 900; line-height: 1.05; }
h1 em { font-style: normal; color: var(--gold); }
.divider { width: 55px; height: 3px; background: linear-gradient(to right,var(--gold),var(--gold-light)); margin: 26px 0; }
.hero p { font-size: 16px; color: rgba(255,255,255,.6); line-height: 1.8; font-weight: 300; max-width: 520px; margin-bottom: 40px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-p { background: var(--gold); color: var(--black); padding: 14px 32px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; text-decoration: none; transition: background .2s; display: inline-block; }
.btn-p:hover { background: var(--gold-light); }
.btn-o { background: transparent; color: var(--white); padding: 13px 32px; font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; border: 1px solid rgba(255,255,255,.28); border-radius: 2px; cursor: pointer; text-decoration: none; transition: all .2s; display: inline-block; }
.btn-o:hover { border-color: var(--gold); color: var(--gold); }
.btn-d { background: var(--black); color: var(--white); padding: 14px 32px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-block; }
.btn-d:hover { background: #1a1a1a; }
.hero-stats { position: absolute; right: 56px; bottom: 56px; display: flex; gap: 40px; z-index: 2; }
.hs .num { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1; }
.hs .lbl { font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.38); margin-top: 4px; }

/* TICKER */
.ticker-wrap { background: var(--dark); border-top: 1px solid rgba(201,168,76,.12); border-bottom: 1px solid rgba(201,168,76,.12); padding: 17px 0; overflow: hidden; }
.ticker-label { text-align: center; font-size: 9.5px; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 13px; }
.ticker-overflow { overflow: hidden; }
.ticker { display: flex; gap: 42px; animation: tick 30s linear infinite; white-space: nowrap; }
@keyframes tick { from{transform:translateX(0)}to{transform:translateX(-50%)} }
.brand-pill { display: inline-flex; align-items: center; padding: 5px 16px; border: 1px solid rgba(201,168,76,.17); border-radius: 2px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.35); flex-shrink: 0; }

/* SECTIONS */
section { padding: 76px 56px; }
.sec-ey { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 11px; }
.sec-t { font-family: var(--font-display); font-size: clamp(25px,3.5vw,42px); font-weight: 700; color: var(--white); line-height: 1.12; margin-bottom: 14px; }
.sec-t em { font-style: normal; color: var(--gold); }
.sec-d { font-size: 14.5px; color: rgba(255,255,255,.5); line-height: 1.82; max-width: 600px; font-weight: 300; }
.rule { width: 48px; height: 2px; background: var(--gold); margin: 18px 0 34px; }

/* SERVICES */
.services { background: var(--off-black); }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 2px; margin-top: 44px; }
.svc { background: var(--dark); padding: 32px 28px; position: relative; overflow: hidden; cursor: pointer; transition: background .3s; }
.svc::before { content:''; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--gold); transform:scaleX(0); transition:transform .3s; transform-origin:left; }
.svc:hover { background: #1f1f1f; }
.svc:hover::before { transform: scaleX(1); }
.svc-ic { font-size: 36px; margin-bottom: 16px; display: block; }
.svc h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 7px; }
.svc p { font-size: 12.5px; color: rgba(255,255,255,.44); line-height: 1.7; font-weight: 300; }

/* ABOUT */
.about { background: var(--black); display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: center; }
.about-img-wrap { position: relative; }
.aimg { background: var(--dark); border: 1px solid rgba(201,168,76,.13); height: 400px; border-radius: 4px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.aimg::before { content:''; position:absolute; inset:0; background:repeating-linear-gradient(45deg,transparent,transparent 20px,rgba(201,168,76,.02) 20px,rgba(201,168,76,.02) 21px); }
.abox { position: absolute; bottom: -18px; right: -18px; width: 150px; height: 92px; background: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 2px; }
.abox .bn { font-family: var(--font-display); font-size: 32px; font-weight: 900; color: var(--black); line-height: 1; }
.abox .st { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: rgba(0,0,0,.6); font-weight: 700; margin-top: 3px; }
.about-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; list-style: none; }
.about-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 13.5px; color: rgba(255,255,255,.56); font-weight: 300; }
.about-list li::before { content:'◆'; color:var(--gold); font-size:7px; margin-top:5px; flex-shrink:0; }

/* FEATURED */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 16px; margin-top: 40px; }
.feat-card { background: var(--dark); border: 1px solid rgba(201,168,76,.1); border-radius: 3px; padding: 26px 20px; transition: border-color .2s, transform .2s; }
.feat-card:hover { border-color: rgba(201,168,76,.35); transform: translateY(-2px); }
.feat-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.feat-cat { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.feat-card h3 { font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feat-card p { font-size: 12.5px; color: rgba(255,255,255,.44); line-height: 1.6; font-weight: 300; margin-bottom: 14px; }
.feat-link { font-size: 11px; color: var(--gold); font-weight: 600; text-decoration: none; letter-spacing: 1px; }

/* CTA */
.cta { background: var(--gold); padding: 56px 60px; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta h2 { font-family: var(--font-display); font-size: 29px; font-weight: 900; color: var(--black); max-width: 480px; line-height: 1.2; }
.cta p { font-size: 13.5px; color: rgba(0,0,0,.5); margin-top: 7px; }

/* TRAINING */
.training { background: var(--dark); }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 16px; margin-top: 42px; }
.tr { background: var(--black); border-left: 3px solid var(--gold); padding: 24px 26px; border-radius: 0 4px 4px 0; }
.tr h3 { font-family: var(--font-display); font-size: 16.5px; color: var(--white); margin-bottom: 7px; font-weight: 700; }
.tr p { font-size: 12.5px; color: rgba(255,255,255,.44); line-height: 1.65; font-weight: 300; margin-bottom: 12px; }
.tr .dur { font-size: 9.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* CONTACT */
.contact-home { background: var(--off-black); display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: start; padding: 76px 56px; }
.contact-page { padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 76px; align-items: start; background: var(--off-black); }
.cd { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.cdi { display: flex; gap: 13px; align-items: flex-start; }
.cdi-ic { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; border: 1px solid rgba(201,168,76,.26); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 14px; }
.cdi-t h4 { font-size: 9.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 3px; }
.cdi-t p { font-size: 13px; color: rgba(255,255,255,.57); font-weight: 300; }
.cdi-t a { color: rgba(255,255,255,.57); text-decoration: none; }
.ht { width: 100%; margin-top: 3px; }
.ht tr td { font-size: 12.5px; color: rgba(255,255,255,.5); padding: 2px 0; font-weight: 300; }
.ht tr td:first-child { color: rgba(255,255,255,.3); width: 96px; }

/* CONTACT FORM */
.contact-form-wrap form .fg, .fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 9.5px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.38); font-weight: 700; margin-bottom: 6px; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--dark); border: 1px solid rgba(255,255,255,.08); color: var(--white); padding: 11px 14px; font-family: var(--font-body); font-size: 13.5px; border-radius: 2px; outline: none; transition: border-color .2s; }
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.18); }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--gold); }
.fg textarea { resize: vertical; min-height: 90px; }
.fg select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; }
.fr { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-success { text-align: center; padding: 48px 24px; background: var(--dark); border: 1px solid rgba(201,168,76,.2); border-radius: 4px; }
.form-success-icon { font-size: 40px; color: var(--gold); margin-bottom: 16px; }
.form-success h3 { font-family: var(--font-display); font-size: 24px; color: var(--white); margin-bottom: 8px; }
.form-success p { color: rgba(255,255,255,.55); font-weight: 300; }
.form-error { background: rgba(200,50,50,.12); border: 1px solid rgba(200,50,50,.25); color: #f99; padding: 12px; border-radius: 4px; font-size: 13px; margin-bottom: 16px; }

/* PRODUCTS PAGE */
.page-hero-small { background: var(--dark); border-bottom: 1px solid rgba(201,168,76,.15); padding: 56px 56px 48px; }
.page-h1 { font-family: var(--font-display); font-size: clamp(28px,4vw,48px); font-weight: 900; line-height: 1.1; margin-bottom: 14px; }
.page-h1 em { font-style: normal; color: var(--gold); }
.products-page { padding: 40px 56px 80px; }
.prod-search-bar { display: flex; gap: 0; margin-bottom: 32px; max-width: 600px; }
.prod-search-bar input { flex: 1; background: var(--dark); border: 1px solid rgba(255,255,255,.1); border-right: none; color: var(--white); padding: 12px 15px; font-family: var(--font-body); font-size: 14px; border-radius: 2px 0 0 2px; outline: none; }
.prod-search-bar input:focus { border-color: var(--gold); }
.prod-search-bar button { background: var(--gold); color: var(--black); border: none; padding: 12px 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; border-radius: 0 2px 2px 0; }
.clear-btn { display: flex; align-items: center; padding: 12px 16px; background: var(--dark); border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); text-decoration: none; font-size: 13px; border-radius: 0 2px 2px 0; margin-left: 2px; }
.prod-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.cat-sidebar h3 { font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.35); font-weight: 700; margin-bottom: 14px; }
.cat-link { display: flex; align-items: center; gap: 8px; padding: 9px 12px; color: rgba(255,255,255,.5); text-decoration: none; font-size: 12.5px; font-weight: 400; border-radius: 2px; transition: all .15s; margin-bottom: 2px; }
.cat-link:hover { background: rgba(255,255,255,.04); color: var(--white); }
.cat-link.active { background: rgba(201,168,76,.08); color: var(--gold); font-weight: 600; }
.cat-emoji { font-size: 16px; flex-shrink: 0; }
.cat-count { margin-left: auto; font-size: 11px; color: rgba(255,255,255,.3); }
.search-header { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 24px; }
.all-cats-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(160px,1fr)); gap: 12px; }
.cat-card-link { background: var(--dark); border: 1px solid rgba(201,168,76,.1); border-radius: 3px; padding: 20px 16px; text-align: center; text-decoration: none; transition: border-color .2s, transform .2s; display: block; }
.cat-card-link:hover { border-color: rgba(201,168,76,.35); transform: translateY(-2px); }
.cat-card-icon { font-size: 28px; margin-bottom: 10px; }
.cat-card-name { font-size: 12px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.cat-card-count { font-size: 11px; color: rgba(255,255,255,.35); }
.prod-group { margin-bottom: 40px; }
.prod-group-title { font-family: var(--font-display); font-size: 22px; color: var(--white); font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.06); }
.prod-items { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 12px; }
.prod-item { background: var(--dark); border: 1px solid rgba(255,255,255,.06); border-radius: 3px; padding: 16px 18px; }
.prod-item-name { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.prod-item-desc { font-size: 12px; color: rgba(255,255,255,.42); line-height: 1.55; margin-bottom: 8px; font-weight: 300; }
.prod-item-cta { font-size: 11px; color: var(--gold); font-weight: 600; letter-spacing: .5px; }
.no-results { text-align: center; padding: 60px 20px; color: rgba(255,255,255,.4); }
.no-results a { color: var(--gold); }

/* FOOTER */
footer { background: var(--black); border-top: 1px solid rgba(201,168,76,.13); }
.foot { padding: 54px 56px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; }
.fb .fn { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 2px; }
.fb .fs { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 13px; display: block; }
.fb p { font-size: 12.5px; color: rgba(255,255,255,.36); line-height: 1.76; font-weight: 300; }
.fa { font-size: 12px; color: rgba(255,255,255,.3); margin-top: 14px; line-height: 1.8; font-weight: 300; }
.fa a { color: rgba(255,255,255,.3); text-decoration: none; }
.fc h4 { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.fc ul li a { color: rgba(255,255,255,.38); text-decoration: none; font-size: 12.5px; font-weight: 300; transition: color .2s; }
.fc ul li a:hover { color: var(--gold); }
.foot-bot { border-top: 1px solid rgba(255,255,255,.05); padding: 16px 56px; display: flex; justify-content: space-between; align-items: center; }
.foot-bot p { font-size: 11px; color: rgba(255,255,255,.2); }
.soc { display: flex; gap: 9px; }
.sb { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.32); font-size: 11px; cursor: pointer; transition: all .2s; text-decoration: none; font-weight: 700; }
.sb:hover { border-color: var(--gold); color: var(--gold); }

@media(max-width:860px) {
  section, .contact-home, .contact-page, .products-page { padding: 50px 22px; }
  .about, .contact-home, .contact-page { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr 1fr; padding: 36px 22px; }
  .foot-bot { padding: 16px 22px; flex-direction: column; gap: 10px; }
  .prod-layout { grid-template-columns: 1fr; }
  .cat-sidebar { display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-sidebar h3 { width: 100%; }
  .hero-content { padding: 56px 22px; }
  .hero-stats { display: none; }
  .cta { padding: 40px 22px; }
}
