/* ===========================================================
   ALLIED SAFETY SUPPLIES — shared stylesheet
   =========================================================== */

:root{
  --navy:        #101E2B;
  --navy-2:      #16283A;
  --navy-soft:   #1D3245;
  --steel:       #52606D;
  --steel-line:  #C9D0D5;
  --steel-light: #E7EAEC;
  --paper:       #F6F5F1;
  --paper-dim:   #EEEDE7;
  --ink:         #14202B;
  --ink-soft:    #4B5661;
  --amber:       #F2A900;
  --amber-dark:  #C98700;
  --red:         #A6362A;
  --white:       #FFFFFF;

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}
:focus-visible{
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- hazard stripe (signature supporting motif) ---------- */
.hazard-stripe{
  height: 8px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--navy) 0 14px,
    var(--amber) 14px 28px
  );
}

/* ---------- eyebrow label ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 22px;
  height: 2px;
  background: var(--amber-dark);
}

/* =================== HEADER =================== */
.site-header{
  background: var(--navy);
  position: sticky;
  top:0;
  z-index: 100;
}
.nav-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 16px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.brand .brand-mark{
  width: 34px; height: 34px;
  flex-shrink:0;
}
.brand-sub{
  display:block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}
.main-nav{
  display:flex;
  align-items:center;
  gap: 34px;
}
.main-nav a{
  color: var(--steel-line);
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"]{
  color: var(--white);
  border-color: var(--amber);
}
.nav-cta{
  display:inline-flex;
}
.nav-toggle{
  display:none;
  background:none;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-sm);
  width: 42px; height: 38px;
  align-items:center;
  justify-content:center;
  color: var(--white);
  cursor:pointer;
}

/* =================== BUTTONS =================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor:pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover{ background: var(--amber-dark); }
.btn-outline{
  background: transparent;
  border-color: var(--steel-line);
  color: var(--white);
}
.btn-outline:hover{ border-color: var(--amber); color: var(--amber); }
.btn-outline-dark{
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover{ background: var(--navy); color: var(--white); }
.btn-block{ width:100%; }

/* =================== HERO =================== */
.hero{
  background:
    linear-gradient(180deg, rgba(16,30,43,.94), rgba(16,30,43,.97)),
    repeating-linear-gradient(115deg, #0C1723 0 2px, transparent 2px 46px);
  color: var(--white);
  padding: 96px 0 84px;
}
.hero-inner{
  max-width: 760px;
}
.hero h1{
  color: var(--white);
  font-size: clamp(34px, 5.2vw, 58px);
  margin-bottom: 22px;
}
.hero p.lead{
  color: var(--steel-line);
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions{
  display:flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scope{
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.14);
  display:flex;
  flex-wrap:wrap;
  gap: 10px 28px;
}
.hero-scope span{
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel-line);
}

/* =================== SECTIONS =================== */
.section{ padding: 84px 0; }
.section-dim{ background: var(--paper-dim); }
.section-navy{ background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3{ color: var(--white); }
.section-navy p{ color: var(--steel-line); }
.section-head{
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(26px, 3.4vw, 38px); }

/* =================== COMMITMENT LIST =================== */
.commit-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--steel-line);
  border: 1px solid var(--steel-line);
}
.commit-item{
  background: var(--paper);
  padding: 30px 26px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}
.commit-item .icon{
  width: 30px; height:30px;
  color: var(--amber-dark);
}
.commit-item h4{
  font-size: 15px;
  margin:0;
}
.commit-item p{ font-size: 14.5px; margin:0; }

/* =================== INDUSTRY STRIP =================== */
.industry-strip{
  background: var(--navy-2);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.industry-list{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 34px;
  justify-content:center;
}
.industry-list li{
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel-line);
}

/* =================== TAG CARDS (signature element) ===================
   Modeled on a physical inspection / compliance tag: a punch hole in the
   corner and a clipped edge, the way equipment tags hang in the field. */
.tag-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.tag-card{
  position:relative;
  background: var(--white);
  border: 1px solid var(--steel-line);
  padding: 30px 24px 26px;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: border-color .15s ease, transform .15s ease;
  display:flex;
  flex-direction:column;
  height:100%;
}
.tag-card:hover{ border-color: var(--amber-dark); transform: translateY(-3px); }
.tag-card .punch{
  position:absolute;
  top: 12px; right: 12px;
  width: 9px; height:9px;
  border-radius:50%;
  border: 2px solid var(--steel-line);
  background: var(--paper);
}
.tag-card .icon{
  width: 34px; height:34px;
  color: var(--amber-dark);
  margin-bottom: 18px;
}
.tag-card h3{
  font-size: 17px;
  margin-bottom: 10px;
}
.tag-card p{
  font-size: 14px;
  margin-bottom: 16px;
  flex-grow:1;
}
.tag-card .see-all{
  font-family: var(--font-head);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  border-top: 1px dashed var(--steel-line);
  padding-top: 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.tag-card .see-all svg{ width:14px; height:14px; }

/* full category block used on products page */
.category-block{
  border: 1px solid var(--steel-line);
  background: var(--white);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  padding: 40px 40px 36px;
  margin-bottom: 26px;
  position:relative;
}
.category-block .punch{
  position:absolute;
  top: 16px; right: 16px;
  width: 11px; height:11px;
  border-radius:50%;
  border: 2px solid var(--steel-line);
  background: var(--paper);
}
.category-block-head{
  display:flex;
  align-items:flex-start;
  gap: 22px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--steel-line);
}
.category-block-head .icon{
  width: 46px; height:46px;
  color: var(--amber-dark);
  flex-shrink:0;
}
.category-block-head h2{ margin-bottom:6px; font-size: 24px; }
.category-block-head p{ margin:0; }
.item-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 30px;
}
.item-grid li{
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 18px;
  position:relative;
}
.item-grid li::before{
  content:"";
  position:absolute;
  left:0; top: 9px;
  width: 8px; height: 2px;
  background: var(--amber-dark);
}

/* =================== WHY CHOOSE LIST =================== */
.reason-list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
}
.reason-list li{
  display:flex;
  gap:14px;
  align-items:flex-start;
  font-size: 15.5px;
  color: var(--ink);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--steel-line);
}
.reason-list .icon{
  width:20px; height:20px;
  color: var(--amber-dark);
  margin-top: 3px;
  flex-shrink:0;
}

/* =================== EMAIL / CTA BAND =================== */
.subscribe-band{
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
  position:relative;
  overflow:hidden;
}
.subscribe-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 40px;
  flex-wrap:wrap;
}
.subscribe-copy{ max-width: 480px; }
.subscribe-copy h2{ color:var(--white); font-size: 26px; margin-bottom: 10px; }
.subscribe-copy p{ color: var(--steel-line); margin:0; }
.subscribe-form{
  display:flex;
  flex-direction:column;
  gap: 10px;
  width: 100%;
  max-width: 420px;
}
.subscribe-fields{
  display:flex;
  gap: 10px;
}
.subscribe-fields input[type="email"]{
  flex:1;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.subscribe-fields input[type="email"]::placeholder{ color: var(--steel-line); }
.subscribe-form .consent{
  font-size: 12px;
  color: var(--steel-line);
  opacity: .85;
  line-height: 1.5;
}
.subscribe-form .form-note{
  font-size: 13px;
  color: var(--amber);
  display:none;
}
.subscribe-form.submitted .form-note{ display:block; }
.subscribe-form.submitted .subscribe-fields,
.subscribe-form.submitted .consent{ display:none; }

/* =================== CTA STRIP (book consult) =================== */
.cta-strip{
  background: var(--amber);
  padding: 46px 0;
}
.cta-strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  flex-wrap:wrap;
}
.cta-strip h3{
  color: var(--navy);
  margin:0;
  font-size: 21px;
}
.cta-strip p{ color: var(--navy-soft); margin: 4px 0 0; }

/* =================== ABOUT PAGE =================== */
.mission-panel{
  background: var(--navy);
  color: var(--white);
  padding: 46px 44px;
  border-left: 8px solid var(--amber);
  margin: 40px 0;
}
.mission-panel p{ color: var(--white); font-size: 18px; margin:0; font-family: var(--font-head); letter-spacing:.01em; text-transform:none; font-weight:400; }

.about-columns{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items:start;
}

/* =================== CONSULTATION PAGE =================== */
.consult-layout{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items:start;
}
.consult-steps{ display:flex; flex-direction:column; gap: 26px; }
.consult-step{ display:flex; gap:16px; }
.consult-step .num{
  font-family: var(--font-head);
  font-size: 13px;
  color: var(--amber-dark);
  border: 1px solid var(--steel-line);
  width: 30px; height:30px;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.consult-step h4{ font-size:15px; margin-bottom:4px; }
.consult-step p{ font-size:14px; margin:0; }

.consult-form{
  background: var(--white);
  border: 1px solid var(--steel-line);
  padding: 40px;
}
.form-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field{ display:flex; flex-direction:column; gap:6px; }
.field.full{ grid-column: 1 / -1; }
.field label{
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}
.field input,
.field select,
.field textarea{
  padding: 12px 14px;
  border: 1px solid var(--steel-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14.5px;
  background: var(--paper);
  color: var(--ink);
  width:100%;
}
.field textarea{ resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none;
  border-color: var(--amber-dark);
  background: var(--white);
}
.consult-form .btn{ margin-top: 8px; }
.form-success{
  display:none;
  border: 1px solid var(--amber-dark);
  background: #FFF7E6;
  padding: 22px 24px;
  gap: 12px;
}
.form-success.visible{ display:flex; }
.form-success .icon{ width:24px; height:24px; color: var(--amber-dark); flex-shrink:0; }
.form-success h4{ margin: 0 0 4px; font-size:15px; }
.form-success p{ margin:0; font-size:14px; }
.consult-form.submitted form{ display:none; }

/* =================== FOOTER =================== */
.site-footer{
  background: var(--navy);
  color: var(--steel-line);
  padding: 56px 0 26px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand{ display:flex; align-items:center; gap:10px; color:var(--white); font-family: var(--font-head); font-size:18px; text-transform:uppercase; margin-bottom:14px; }
.footer-brand .brand-mark{ width:28px; height:28px; }
.footer-col h5{
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size: 14px; color: var(--steel-line); transition: color .15s ease; }
.footer-col a:hover{ color: var(--amber); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top: 22px;
  flex-wrap:wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--steel);
}

/* =================== PAGE HERO (interior pages) =================== */
.page-hero{
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 54px;
}
.page-hero h1{ color:var(--white); font-size: clamp(30px,4.4vw,44px); margin-bottom: 12px; }
.page-hero p{ color: var(--steel-line); max-width: 640px; margin:0; font-size:16px; }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px){
  .tag-grid{ grid-template-columns: repeat(2, 1fr); }
  .commit-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-columns{ grid-template-columns: 1fr; }
  .consult-layout{ grid-template-columns: 1fr; }
  .reason-list{ grid-template-columns: 1fr; }
  .item-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px){
  .main-nav{
    position: fixed;
    inset: 66px 0 0 0;
    background: var(--navy);
    flex-direction:column;
    align-items:flex-start;
    padding: 26px 28px;
    gap: 22px;
    transform: translateX(100%);
    transition: transform .2s ease;
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-cta{ display:none; }
  .main-nav .nav-cta-mobile{ display:inline-flex; margin-top: 10px; }
  .tag-grid{ grid-template-columns: 1fr; }
  .commit-grid{ grid-template-columns: 1fr; }
  .item-grid{ grid-template-columns: 1fr; }
  .form-grid{ grid-template-columns: 1fr; }
  .subscribe-inner{ flex-direction:column; align-items:flex-start; }
  .cta-strip-inner{ flex-direction:column; align-items:flex-start; }
  .category-block{ padding: 30px 24px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
}
