/* ===========================================================
   JRQ — Apparel & Accessories
   Shared stylesheet for all pages
   =========================================================== */

:root {
  --charcoal: #1b1e23;
  --charcoal-light: #2a2e35;
  --steel-blue: #4f7cac;
  --steel-blue-dark: #3a5f87;
  --off-white: #f4f5f7;
  --white: #ffffff;
  --gray: #6b7280;
  --gray-light: #d7dae0;
  --border-radius: 4px;
  --max-width: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--steel-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--steel-blue-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 1px solid var(--charcoal-light);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--steel-blue);
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.09em;
  padding-left: 3px;
  border-radius: 3px;
}

.logo-mark-line {
  width: 42px;
  height: 3px;
  background: var(--steel-blue);
  margin-top: 5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .wordmark {
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.logo-text .tagline {
  color: var(--gray-light);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--gray-light);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(155deg, var(--charcoal) 0%, var(--charcoal-light) 100%);
  color: var(--white);
  padding: 100px 24px 90px;
  text-align: center;
}

.hero .eyebrow {
  color: var(--steel-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  max-width: 780px;
  margin: 0 auto 22px;
  letter-spacing: -0.01em;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 36px;
  color: var(--gray-light);
  font-size: 1.08rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Page header (non-home pages) ---------- */

.page-header {
  background: var(--charcoal);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}

.page-header .eyebrow {
  color: var(--steel-blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.page-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
}

.page-header p {
  color: var(--gray-light);
  max-width: 560px;
  margin: 14px auto 0;
}

/* ---------- Sections ---------- */

section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--off-white);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}

.section-head .eyebrow {
  color: var(--steel-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--gray);
}

/* ---------- Grids / Cards ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 32px 26px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.card:hover {
  border-color: var(--steel-blue);
  transform: translateY(-2px);
}

.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: var(--charcoal);
  color: var(--steel-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.card ul {
  margin-top: 12px;
  color: var(--gray);
  font-size: 0.92rem;
}

.card ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.card ul li::before {
  content: "\2013";
  position: absolute;
  left: 0;
  color: var(--steel-blue);
}

/* ---------- Two column layout ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.two-col h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.two-col p {
  color: var(--gray);
  margin-bottom: 16px;
}

.two-col .stat-block {
  background: var(--charcoal);
  color: var(--white);
  border-radius: var(--border-radius);
  padding: 44px 34px;
}

.stat-block .stat {
  margin-bottom: 26px;
}

.stat-block .stat:last-child {
  margin-bottom: 0;
}

.stat-block .stat-num {
  color: var(--steel-blue);
  font-size: 1.7rem;
  font-weight: 800;
  display: block;
}

.stat-block .stat-label {
  color: var(--gray-light);
  font-size: 0.9rem;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  background: var(--steel-blue);
  color: var(--white);
  text-align: center;
  padding: 64px 24px;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-banner .btn-primary {
  background: var(--charcoal);
}

.cta-banner .btn-primary:hover {
  background: #000;
}

/* ---------- Forms ---------- */

.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  padding: 44px;
}

.form-section-title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-blue);
  margin: 34px 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
}

.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.form-group .hint {
  display: block;
  font-weight: 400;
  color: var(--gray);
  font-size: 0.8rem;
  margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--steel-blue);
  box-shadow: 0 0 0 3px rgba(79, 124, 172, 0.15);
}

.form-note {
  background: var(--off-white);
  border-left: 3px solid var(--steel-blue);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--gray);
  border-radius: 0 3px 3px 0;
  margin-bottom: 30px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
}

/* ---------- Contact page specifics ---------- */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto 60px;
}

.contact-info-card {
  text-align: center;
  padding: 34px 24px;
  border: 1px solid var(--gray-light);
  border-radius: var(--border-radius);
}

.contact-info-card .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--steel-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.contact-info-card a,
.contact-info-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.contact-info-card a:hover {
  color: var(--steel-blue);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--charcoal);
  color: var(--gray-light);
  padding: 56px 24px 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto 40px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid p {
  font-size: 0.9rem;
  color: var(--gray-light);
  max-width: 320px;
}

.footer-grid ul li {
  margin-bottom: 10px;
}

.footer-grid ul li a {
  font-size: 0.9rem;
  color: var(--gray-light);
}

.footer-grid ul li a:hover {
  color: var(--steel-blue);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--charcoal-light);
  font-size: 0.82rem;
  color: var(--gray);
  text-align: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .nav-cta .btn-primary-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--charcoal);
    padding: 20px 24px;
    gap: 18px;
    border-top: 1px solid var(--charcoal-light);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrap {
    padding: 28px 22px;
  }
}
