/* ============================================
   Hard Hat Hampers — Design System
   Palette: Navy + White + Electric Blue accent
   ============================================ */

:root {
  --navy: #16283f;
  --navy-deep: #0c1826;
  --navy-soft: #24405f;
  --blue: #2f6fed;
  --blue-dark: #1d4fc0;
  --white: #ffffff;
  --off-white: #f4f6fa;
  --ink: #101826;
  --muted: #5b6b82;
  --muted-light: #8797ac;
  --border: #e3e8f0;
  --success: #1fb37a;
  --star: #ffb020;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 20px 40px -20px rgba(12, 24, 38, 0.35);
  --shadow-sm: 0 8px 20px -12px rgba(12, 24, 38, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

section {
  padding: 88px 0;
}

@media (max-width: 720px) {
  section {
    padding: 56px 0;
  }
}

.section-tight {
  padding: 56px 0;
}

.bg-navy {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: var(--white);
}

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.bg-navy .eyebrow {
  color: #7fa3ff;
}

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

.section-head h2 {
  font-size: clamp(34px, 5.6vw, 60px);
}

.section-head p {
  color: var(--muted);
  font-size: 17px;
}

.bg-navy .section-head p {
  color: #c3cfe0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(47, 111, 237, 0.55);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

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

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

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

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

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.brand img {
  height: 56px;
  width: 56px;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name strong {
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.brand-name span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  border-color: var(--blue);
  color: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 24px;
    gap: 16px;
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav ul a {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--border);
  }

  .main-nav .btn {
    width: 100%;
    margin-top: 8px;
  }
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 18px,
    transparent 18px,
    transparent 36px
  );
  pointer-events: none;
}

/* ---------- Hero with real photo background ---------- */

.hero-photo {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
}

@media (max-width: 720px) {
  .hero-photo {
    min-height: 560px;
    padding: 120px 0 64px;
  }
}

.hero-photo::before {
  display: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 16, 27, 0.92) 0%, rgba(8, 16, 27, 0.72) 42%, rgba(8, 16, 27, 0.25) 78%),
    linear-gradient(0deg, rgba(8, 16, 27, 0.55) 0%, rgba(8, 16, 27, 0.05) 40%);
}

@media (max-width: 900px) {
  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 16, 27, 0.55) 0%, rgba(8, 16, 27, 0.88) 58%, rgba(8, 16, 27, 0.96) 100%);
  }
}

.hero-photo .container {
  z-index: 2;
  grid-template-columns: 1fr;
}

.hero-photo .hero-copy {
  max-width: 640px;
}

@media (max-width: 900px) {
  .hero-photo .hero-copy {
    max-width: 100%;
    margin: 0 auto;
  }
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badges,
  .hero-actions {
    justify-content: center;
  }
}

.hero h1 {
  font-size: clamp(42px, 7.2vw, 88px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 0.96;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 .accent {
  color: #7fa3ff;
}

.hero p.lead {
  font-size: 20px;
  color: #e4e9f2;
  max-width: 540px;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c3cfe0;
  font-size: 14px;
}

.hero-badge svg {
  flex-shrink: 0;
  color: #7fa3ff;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-circle {
  width: min(360px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #2a4a72, var(--navy-deep) 72%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.hero-badge-circle img {
  width: 78%;
}

/* ---------- Trust bar ---------- */

.trust-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 20px 24px;
}

.trust-bar .item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

.trust-bar svg {
  color: var(--blue);
}

/* ---------- About / split content ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

  .split.reverse .split-media {
    order: -1;
  }
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.placeholder-photo {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 55%, var(--blue) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.placeholder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.06) 0px,
    rgba(255, 255, 255, 0.06) 14px,
    transparent 14px,
    transparent 28px
  );
}

.placeholder-photo svg {
  width: 34%;
  color: rgba(255, 255, 255, 0.92);
  position: relative;
  z-index: 1;
}

.photo-frame {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame.tall {
  aspect-ratio: 3 / 4;
}

.photo-frame.square {
  aspect-ratio: 1 / 1;
}

.split-body h2 {
  font-size: clamp(30px, 4.6vw, 48px);
}

.split-body p {
  color: var(--muted);
  font-size: 17px;
}

.split-body strong {
  color: var(--navy);
}

/* ---------- Product card ---------- */

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.stars {
  color: var(--star);
  font-size: 18px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.product-card h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.item-list {
  margin-bottom: 20px;
}

.item-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 15px;
  color: var(--ink);
}

.item-list li:last-child {
  border-bottom: none;
}

.item-list svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-block {
  margin: 20px 0;
}

.price-was {
  color: var(--muted-light);
  text-decoration: line-through;
  font-size: 15px;
}

.price-now {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--navy);
}

.price-now span {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-body);
  margin-right: 6px;
}

.shipping-note {
  font-size: 13px;
  color: var(--muted-light);
  margin-top: 4px;
}

.guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

.guarantee svg {
  color: var(--success);
}

.testimonial-inline {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.testimonial-inline blockquote {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.testimonial-inline cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-weight: 600;
  color: var(--navy);
  font-size: 13px;
}

/* ---------- Feature grid (quality items) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(47, 111, 237, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.feature-card.has-photo {
  padding: 0 0 20px;
  overflow: hidden;
}

.feature-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 16px;
}

.feature-card.has-photo h4,
.feature-card.has-photo p {
  padding: 0 16px;
}

/* ---------- Trade / who's this for grid ---------- */

.trade-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 720px) {
  .trade-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .trade-grid {
    grid-template-columns: 1fr;
  }
}

.trade-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.trade-item svg {
  color: #7fa3ff;
  flex-shrink: 0;
}

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

.cta-banner {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 48px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.cta-banner .eyebrow {
  margin-bottom: 10px;
}

.cta-banner h3 {
  color: var(--white);
  font-size: clamp(28px, 4.4vw, 46px);
  margin-bottom: 8px;
}

.cta-banner p {
  color: #c3cfe0;
  margin-bottom: 24px;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chev {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--blue);
}

.faq-item[open] summary .chev {
  transform: rotate(180deg);
}

.faq-item .faq-body {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Brand strip ---------- */

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.brand-strip .wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--muted-light);
  text-transform: uppercase;
  opacity: 0.85;
}

/* ---------- Order form ---------- */

.order-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.order-form h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.order-form > p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

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

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--off-white);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}

.form-note {
  font-size: 12px;
  color: var(--muted-light);
  margin-top: 12px;
  text-align: center;
}

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

.site-footer {
  background: var(--navy-deep);
  color: #b7c2d6;
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 14px;
}

.footer-brand img {
  height: 44px;
  width: 44px;
}

.site-footer h5 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.site-footer ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom a {
  color: #b7c2d6;
}

/* ---------- Misc ---------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--blue);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 6px;
  z-index: 1000;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(47, 111, 237, 0.12);
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.text-center {
  text-align: center;
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
