/* =========================================================================
   SADEQURRAHAMAN LLC — Corporate B2B Stylesheet
   Palette: Deep Navy / White / Muted Blue / Restrained Gold
   ========================================================================= */

:root {
  /* Colors */
  --navy-900: #0b1a33;
  --navy-800: #10254a;
  --navy-700: #16305f;
  --blue-500: #4a6b96;
  --blue-400: #6d8bb0;
  --blue-100: #eaf0f6;
  --blue-50:  #f6f5f1;
  --gold-500: #b8933f;
  --gold-600: #9c7a30;
  --gold-700: #7a5a1e; /* text-safe gold: 6.3:1 on white, 5.3:1 on --gold-100 (WCAG AA) */
  --gold-100: #f3e9d2;
  --white: #fdfcf9; /* warm white, not stark white */
  --ink-900: #23262b; /* charcoal, not navy-tinted black */
  --ink-700: #3c4149; /* charcoal-gray body text */
  --ink-500: #656b73;
  --border: #e2decf;
  --success-bg: #eaf5ee;
  --success-text: #205a34;

  /* Type */
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: Georgia, "Times New Roman", Times, serif;

  /* Layout */
  --max-width: 1180px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(11, 26, 51, 0.08);
  --shadow-md: 0 6px 24px rgba(11, 26, 51, 0.10);
  --transition: 180ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-900);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; color: var(--ink-700); }
.lede { font-size: 1.15rem; color: var(--ink-700); }

/* ---------- Accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.section--alt {
  background: var(--blue-50);
}
.section--navy {
  background: var(--navy-900);
  color: var(--blue-100);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: var(--blue-100); }
.section-head {
  max-width: 720px;
  margin: 0 0 2.5rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.hero .eyebrow, .section--navy .eyebrow { color: var(--gold-500); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--navy-900);
}
.brand svg { width: 36px; height: 36px; flex: none; }
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}
.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink-700);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav a:hover {
  background: var(--blue-100);
  color: var(--navy-900);
}
.main-nav a[aria-current="page"] {
  color: var(--navy-900);
  background: var(--blue-100);
}
.nav-cta {
  margin-left: 0.5rem;
  background: var(--navy-900) !important;
  color: var(--white) !important;
}
.nav-cta:hover {
  background: var(--navy-700) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-900);
  margin: 4px 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-700); }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover { background: var(--gold-600); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn-outline:hover { background: var(--navy-900); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container {
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: var(--white); }
.hero p { color: var(--blue-100); }
.hero-art {
  width: 100%;
  height: auto;
}
.hero-graphic-wrap {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 1.75rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p:last-child { margin-bottom: 0; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stat-strip .stat .stat-label {
  font-family: var(--font-body);
  color: var(--gold-700);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}
.stat-strip .stat p:not(.stat-label) { margin: 0; font-size: 0.95rem; }

/* ---------- Lists with checks ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--ink-700);
}
.check-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--gold-600);
}

/* ---------- Numbered process list ---------- */
.process-list {
  list-style: none;
  counter-reset: process-step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.process-list li {
  counter-increment: process-step;
  position: relative;
  padding: 0.9rem 1.25rem 0.9rem 3.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink-700);
}
.process-list li::before {
  content: counter(process-step);
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-list li strong { color: var(--navy-900); }

/* ---------- Notice / callout boxes ---------- */
.notice {
  border-left: 4px solid var(--gold-500);
  background: var(--blue-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.notice p:last-child { margin-bottom: 0; }
.notice-title {
  font-weight: 700;
  color: var(--navy-900);
  display: block;
  margin-bottom: 0.35rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-500);
  padding: 1rem 0;
}
.breadcrumb a { color: var(--blue-500); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: var(--blue-100); max-width: 700px; margin-bottom: 0; }

/* ---------- Contact blocks ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-card .tag {
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-700);
}
.contact-card.purchasing .tag {
  background: var(--blue-100);
  color: var(--navy-700);
}
.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  background: var(--navy-900);
  color: var(--white);
  text-decoration: none;
  word-break: break-word;
}
.mail-btn:hover { background: var(--navy-700); }
.mail-btn svg { flex: none; width: 20px; height: 20px; }

.address-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  background: var(--blue-50);
}
.address-block h3 { margin-bottom: 0.6rem; }
.address-block address { font-style: normal; color: var(--ink-700); line-height: 1.7; }

/* ---------- Table (policy pages) ---------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  vertical-align: top;
}
th { background: var(--blue-50); color: var(--navy-900); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--blue-100);
  padding: 3rem 0 1.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 0.85rem;
}
.footer-brand svg { width: 32px; height: 32px; }
.footer-brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-col h3 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col a {
  color: var(--blue-100);
  text-decoration: none;
  font-size: 0.92rem;
}
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-note { color: var(--blue-400); font-size: 0.85rem; margin-bottom: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--blue-400);
}
.footer-legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal-links a { color: var(--blue-100); text-decoration: none; }
.footer-legal-links a:hover { text-decoration: underline; }

/* ---------- 404 ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--blue-50);
}
.error-page .container { max-width: 640px; }
.error-code {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 10vw, 6rem);
  color: var(--gold-500);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin: 0 auto; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr; gap: 1.25rem; text-align: center; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 0.85rem 0.5rem; }
  .nav-cta { margin-left: 0; text-align: center; }
}

@media (max-width: 760px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .container { padding: 0 1.1rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .nav-toggle, .btn-row { display: none; }
}
