/* =========================================================
   AL JUZOR TRADING LLC — Site styles (Bootstrap 5 + brand layer)
   ========================================================= */

:root {
  --aj-deep: #0B4778;
  --aj-deep-900: #072f50;
  --aj-bright: #1681C5;
  --aj-bright-ink: #1474B3; /* bright blue darkened for AA text contrast */
  --aj-silver: #AEB7C0;
  --aj-charcoal: #4D5863;
  --aj-pale: #F3F7FA;
  --aj-white: #FFFFFF;
  --aj-ink: #14202b;
  --aj-line: #dde4ea;

  --aj-radius: 10px;
  --aj-radius-lg: 16px;
  --aj-shadow: 0 8px 24px rgba(11, 71, 120, .08);
  --aj-shadow-lg: 0 18px 40px rgba(11, 71, 120, .14);

  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Bootstrap overrides */
  --bs-primary: var(--aj-deep);
  --bs-primary-rgb: 11, 71, 120;
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--aj-charcoal);
  --bs-link-color: var(--aj-bright-ink);
  --bs-link-hover-color: var(--aj-deep);
  --bs-border-color: var(--aj-line);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--aj-charcoal);
  background: var(--aj-white);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5, .display-font {
  font-family: var(--font-head);
  color: var(--aj-ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
h1, .h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2, .h2 { font-size: clamp(1.65rem, 3.4vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 700; }

img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 2000;
  background: var(--aj-deep); color: #fff; padding: .6rem 1rem; border-radius: 6px;
}
.skip-link:focus { top: 1rem; color: #fff; }

:focus-visible {
  outline: 3px solid var(--aj-bright);
  outline-offset: 2px;
}

/* ---------- Utilities ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-pale { background: var(--aj-pale); }
.bg-deep { background: var(--aj-deep); color: #dfe9f2; }
.bg-deep h2, .bg-deep h3 { color: #fff; }
.text-deep { color: var(--aj-deep) !important; }
.text-bright { color: var(--aj-bright-ink) !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--aj-bright-ink);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--aj-silver), var(--aj-bright));
}
.lead-text { font-size: 1.1rem; color: var(--aj-charcoal); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 2.75rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead-text { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 700; border-radius: 8px; padding: .78rem 1.45rem; letter-spacing: .01em; }
.btn-sm { padding: .5rem 1rem; }
.btn-primary {
  --bs-btn-bg: var(--aj-deep); --bs-btn-border-color: var(--aj-deep);
  --bs-btn-hover-bg: var(--aj-bright-ink); --bs-btn-hover-border-color: var(--aj-bright-ink);
  --bs-btn-active-bg: var(--aj-deep-900); --bs-btn-active-border-color: var(--aj-deep-900);
  --bs-btn-disabled-bg: var(--aj-deep); --bs-btn-disabled-border-color: var(--aj-deep);
}
.btn-bright {
  --bs-btn-color: #fff; --bs-btn-bg: var(--aj-bright-ink); --bs-btn-border-color: var(--aj-bright-ink);
  --bs-btn-hover-color: var(--aj-deep); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--aj-deep); --bs-btn-active-bg: #e8f1f8;
}
.btn-outline-deep {
  --bs-btn-color: var(--aj-deep); --bs-btn-border-color: var(--aj-deep);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--aj-deep); --bs-btn-hover-border-color: var(--aj-deep);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--aj-deep-900);
}
.btn-outline-light { --bs-btn-hover-color: var(--aj-deep); }
.link-arrow {
  font-family: var(--font-head); font-weight: 700; color: var(--aj-deep);
  text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover { color: var(--aj-bright-ink); }
.link-arrow:hover i { transform: translateX(3px); }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--aj-deep-900); color: #c9d6e2; font-size: .82rem;
}
.topbar a { color: #e6eef5; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .sep { opacity: .35; margin: 0 .75rem; }

.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--aj-line);
  transition: box-shadow .2s ease;
}
#site-header:empty, #site-header:has(> noscript:only-child) { min-height: 77px; }
@media (min-width: 768px) { #site-header:empty, #site-header:has(> noscript:only-child) { min-height: 114px; } }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11,71,120,.08); }
.site-header .navbar { padding: .55rem 0; }
.navbar-brand img { height: 60px; width: auto; }
@media (max-width: 575.98px) { .navbar-brand img { height: 44px; } }

.site-header .nav-link {
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  color: var(--aj-ink); padding: .5rem .9rem !important; position: relative;
}
.site-header .nav-link:hover { color: var(--aj-bright-ink); }
.site-header .nav-link.active { color: var(--aj-deep); }
@media (min-width: 992px) {
  .site-header .nav-link.active::after {
    content: ""; position: absolute; left: .9rem; right: .9rem; bottom: -.15rem;
    height: 3px; border-radius: 3px; background: var(--aj-bright);
  }
}
.navbar-toggler { border: 1px solid var(--aj-line); padding: .45rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(22,129,197,.35); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 1rem; border-top: 1px solid var(--aj-line); margin-top: .55rem; }
  .site-header .nav-link { padding: .7rem .25rem !important; border-bottom: 1px solid var(--aj-pale); }
  .site-header .nav-link.active { color: var(--aj-bright-ink); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  background: var(--aj-deep-900);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(95deg, rgba(7,47,80,.94) 0%, rgba(7,47,80,.82) 42%, rgba(11,71,120,.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .eyebrow { color: #9fd3f5; }
.hero .eyebrow::before { background: linear-gradient(90deg, var(--aj-silver), #9fd3f5); }
.hero p.lead-text { color: #d7e4ef; font-size: 1.15rem; }
.hero-strip {
  margin-top: 2.75rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(174,183,192,.35);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  font-size: .92rem; color: #c8d8e6;
}
.hero-strip span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-strip i { color: #8cc9f1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--aj-deep-900);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7,47,80,.96) 30%, rgba(11,71,120,.6));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); max-width: 820px; }
.page-hero p { color: #d2e0ec; max-width: 680px; font-size: 1.08rem; }
.page-hero .eyebrow { color: #9fd3f5; }
.breadcrumb { --bs-breadcrumb-divider-color: #8fa9c0; --bs-breadcrumb-item-active-color: #c6d6e4; font-size: .87rem; margin-bottom: 1.1rem; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Cards ---------- */
.aj-card {
  background: #fff; border: 1px solid var(--aj-line); border-radius: var(--aj-radius-lg);
  height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.aj-card:hover { transform: translateY(-3px); box-shadow: var(--aj-shadow-lg); border-color: #c9d7e3; }

.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--aj-pale); position: relative; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .media img { transform: scale(1.04); }
.product-card .tag {
  position: absolute; left: 1rem; top: 1rem;
  background: rgba(255,255,255,.95); color: var(--aj-deep);
  font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase; padding: .35rem .65rem; border-radius: 6px;
}
.product-card .body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card h3 a { color: var(--aj-ink); text-decoration: none; }
.product-card h3 a:hover { color: var(--aj-deep); }
.product-card .actions { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }

.icon-badge {
  width: 52px; height: 52px; border-radius: 12px;
  display: inline-grid; place-items: center; font-size: 1.4rem;
  color: var(--aj-deep); background: #e7f0f8; margin-bottom: 1.1rem;
}
.feature-card { padding: 1.75rem; }
.feature-card p { margin-bottom: 0; }

/* Service rows */
.service-item { padding: 1.75rem; display: flex; flex-direction: column; }
.service-item .num {
  font-family: var(--font-head); font-weight: 800; color: #66727D; font-size: .9rem; letter-spacing: .1em;
}
.service-item .link-arrow { margin-top: auto; padding-top: .75rem; }

/* Industries */
.industry-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 576px) { .industry-list { grid-template-columns: 1fr 1fr; } }
.industry-list li {
  display: flex; align-items: center; gap: .85rem;
  background: #fff; border: 1px solid var(--aj-line); border-radius: var(--aj-radius);
  padding: 1rem 1.1rem; font-family: var(--font-head); font-weight: 700; color: var(--aj-ink);
}
.industry-list i { color: var(--aj-bright); font-size: 1.25rem; }

/* Steps */
.steps { counter-reset: step; }
.step {
  position: relative; padding: 1.75rem 1.5rem 1.5rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(174,183,192,.28);
  border-radius: var(--aj-radius-lg); height: 100%;
}
.step .step-no {
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px #8cc9f1; margin-bottom: .9rem; display: block;
}
.step h3 { color: #fff; }
.step p { color: #c9d8e5; margin: 0; }

/* Image frame */
.img-frame { position: relative; border-radius: var(--aj-radius-lg); overflow: hidden; box-shadow: var(--aj-shadow-lg); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-frame-accent { position: relative; }
@media (min-width: 992px) {
.img-frame-accent::before {
  content: ""; position: absolute; right: -14px; bottom: -14px; width: 55%; height: 55%;
  border: 3px solid var(--aj-silver); border-radius: var(--aj-radius-lg); z-index: -1;
}
}

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem;
  color: var(--aj-bright); font-size: 1.15rem;
}

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--aj-radius-lg);
  background: var(--aj-deep); color: #d7e4ef; padding: clamp(2.25rem, 5vw, 3.75rem);
}
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; border: 40px solid rgba(22,129,197,.35);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }

/* Notice / placeholder markers */
.placeholder-tag {
  display: inline-block; font-size: .78rem; font-weight: 600;
  background: #fff4d6; color: #7a5a00; border: 1px dashed #d9b24a;
  border-radius: 4px; padding: .05rem .45rem;
}
.note-box {
  background: var(--aj-pale); border-left: 4px solid var(--aj-bright);
  border-radius: 0 var(--aj-radius) var(--aj-radius) 0; padding: 1rem 1.25rem; font-size: .95rem;
}

/* Spec table */
.spec-table { --bs-table-bg: transparent; margin: 0; }
.spec-table th { width: 40%; font-family: var(--font-head); font-weight: 700; color: var(--aj-ink); background: var(--aj-pale) !important; }
.spec-table td, .spec-table th { padding: .85rem 1rem; vertical-align: middle; }

.sticky-aside { position: sticky; top: 100px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--aj-line); border-radius: var(--aj-radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--aj-shadow); }
.form-label { font-weight: 600; color: var(--aj-ink); font-size: .92rem; margin-bottom: .35rem; }
.form-label .req { color: #c0392b; margin-left: 2px; }
.form-control, .form-select {
  border-radius: 8px; border-color: #cfd8e0; padding: .7rem .9rem; font-size: .98rem;
}
.form-control:focus, .form-select:focus { border-color: var(--aj-bright); box-shadow: 0 0 0 .2rem rgba(22,129,197,.2); }
.form-text { color: #6b7782; }
.form-section-title {
  font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--aj-deep); margin: 1.75rem 0 1rem;
  display: flex; align-items: center; gap: .75rem;
}
.form-section-title::after { content: ""; flex: 1; height: 1px; background: var(--aj-line); }
.form-section-title:first-child { margin-top: 0; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; }
.form-status.show { display: block; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--aj-line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ico { width: 44px; height: 44px; flex: none; border-radius: 10px; display: grid; place-items: center; background: #e7f0f8; color: var(--aj-deep); font-size: 1.15rem; }
.contact-list strong { display: block; color: var(--aj-ink); font-family: var(--font-head); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.prose h2:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #061f35; color: #a9bccd; font-size: .95rem; }
.site-footer .footer-top { padding: 4rem 0 2.5rem; }
.footer-logo { display: inline-block; }
.footer-logo img { height: 64px; width: auto; display: block; }
.site-footer h3 { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #d4e0ea; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .75rem; }
.footer-contact i { color: #8cc9f1; margin-top: .15rem; }
.site-footer .placeholder-tag { background: rgba(255,244,214,.12); color: #f3d98c; border-color: rgba(217,178,74,.6); }
.footer-bottom { border-top: 1px solid rgba(174,183,192,.18); padding: 1.25rem 0; font-size: .85rem; }
.footer-rule { height: 3px; background: linear-gradient(90deg, var(--aj-deep), var(--aj-bright) 50%, var(--aj-silver)); }

/* Back-to-top */
.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1020;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--aj-deep); color: #fff; box-shadow: var(--aj-shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--aj-bright); }

/* 404 */
.error-code { font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 3px var(--aj-bright); }

.btn-quote { width: 100%; }
@media (min-width: 992px) { .btn-quote { width: auto; white-space: nowrap; } }

/* ---------- Products page (category sections) ---------- */
.products-intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--aj-line); }
.products-intro h1 { color: var(--aj-deep); }
.breadcrumb-light { --bs-breadcrumb-divider-color: #8796a3; --bs-breadcrumb-item-active-color: var(--aj-charcoal); }
.breadcrumb-light a { color: var(--aj-deep); }
.cat-jump { display: flex; flex-wrap: wrap; gap: .6rem; }
.cat-jump a {
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; text-decoration: none;
  color: var(--aj-deep); border: 1px solid #c9d7e3; border-radius: 999px; padding: .45rem 1rem; background: #fff;
}
.cat-jump a:hover { background: var(--aj-deep); color: #fff; border-color: var(--aj-deep); }
.cat-section { scroll-margin-top: 90px; }
.cat-tag {
  display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--aj-deep);
  background: #e3eef7; border-radius: 999px; padding: .4rem .85rem; margin-bottom: 1rem;
}
.cat-section h2 { color: var(--aj-deep); }
.item-card { padding: 1.35rem 1.5rem; border-left: 3px solid var(--aj-bright); }
.item-card h3 { color: var(--aj-ink); font-size: 1.05rem; }
.item-card p { font-size: .94rem; }

/* ---------- Contact page sidebar ---------- */
.contact-side { padding: 1.75rem; background: var(--aj-deep); border-color: var(--aj-deep); color: #d6e3ee; }
.contact-side h2 { color: #fff; }
.contact-side .contact-list li { border-bottom-color: rgba(255, 255, 255, .14); }
.contact-side .contact-list .ico { background: rgba(255, 255, 255, .12); color: #fff; }
.contact-side .contact-list strong { color: #fff; }
.contact-side a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.service-area { display: flex; gap: .75rem; align-items: flex-start; margin-top: .5rem; padding: 1rem; border-radius: var(--aj-radius); background: rgba(255, 255, 255, .08); font-size: .95rem; }
.service-area .bi { color: #8cc8ee; font-size: 1.2rem; line-height: 1.3; }
.service-area strong { color: #fff; }
.steps-list { list-style: none; counter-reset: step; padding: 0; }
.steps-list li { counter-increment: step; position: relative; padding-left: 2.6rem; margin-bottom: 1rem; }
.steps-list li:last-child { margin-bottom: 0; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: -.1rem; width: 1.85rem; height: 1.85rem; border-radius: 50%; display: grid; place-items: center; background: #e7f0f8; color: var(--aj-deep); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.steps-list strong { color: var(--aj-ink); }
@media (max-width: 991.98px) { .sticky-aside { position: static; } }
