/* ===================================================================
   Durapak Supplies — concept redesign by rainearcher
   Industrial blue + steel. Mobile-first. Oswald display / Inter body.
   =================================================================== */

:root {
  --ink:       #14181F;
  --ink-soft:  #232A33;
  --steel:     #586573;
  --steel-lt:  #8A929C;
  --line:      #DCE1E7;
  --bg:        #FFFFFF;
  --bg-soft:   #F2F5F8;
  --bg-steel:  #E9EEF3;
  --blue:      #0E5AA7;
  --blue-dark: #0B4A8A;
  --amber:     #F5A623;
  --white:     #FFFFFF;

  --maxw: 1140px;
  --pad: clamp(1.1rem, 4vw, 2.2rem);
  --r: 10px;
  --shadow: 0 1px 2px rgba(20,24,31,.06), 0 8px 28px rgba(20,24,31,.07);
  --shadow-lg: 0 18px 50px rgba(20,24,31,.16);

  --font-display: "Oswald", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--pad);
}

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 {
  font-size: clamp(1.7rem, 7.1vw, 4.05rem);
  letter-spacing: -0.015em;
}
h1 .hl { color: var(--blue); }

h2 { font-size: clamp(1.6rem, 5.5vw, 2.7rem); }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: 0; }

.lead {
  font-size: clamp(1rem, 2.6vw, 1.18rem);
  color: var(--steel);
  line-height: 1.6;
  max-width: 56ch;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .7rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1rem;
  padding: .85rem 1.5rem;
  border-radius: var(--r);
  border: 2px solid var(--blue);
  min-height: 48px;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; min-height: 44px; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

.arrow { transition: transform .18s ease; }
.btn:hover .arrow, .tlink:hover .arrow, .cat__cta:hover .arrow { transform: translateX(3px); }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
}
.tlink:hover { color: var(--blue); }

/* ---------- Brand monogram ---------- */
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .02em;
  flex: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(20,24,31,.06); }
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: 1.12rem;
}
.brand b span { color: var(--blue); }
.brand-logo { height: 36px; width: auto; }
.brand-logo--footer { height: 44px; }

.nav {
  display: none;
  margin-left: auto;
  gap: 1.6rem;
}
.nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav a:hover { color: var(--blue); }

.header-cta { display: none; }

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 66px 0 auto 0;
  z-index: 49;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .8rem var(--pad) 1.4rem;
  transform: translateY(-130%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  padding: .85rem .2rem;
  font-weight: 500;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-nav .btn { justify-content: center; margin-top: .8rem; border-bottom: none; }
.mobile-nav .tlink-call {
  text-align: center;
  font-weight: 600;
  color: var(--blue);
  padding-top: 1rem;
  border-bottom: none;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.4rem, 7vw, 4.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.hero .wrap { display: grid; gap: clamp(2rem, 6vw, 3rem); }
.hero__intro { min-width: 0; }
.hero__lead { margin-top: 1.1rem; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
  margin-top: 1.8rem;
}
.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.3rem;
  margin-top: 1.8rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--steel);
}
.hero__note .tick { color: var(--blue); font-weight: 700; margin-right: .25rem; }

.hero__art {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Hero spec card (asset-free brand panel) ---------- */
.spec-card {
  width: min(100%, 380px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.spec-card__head {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.25rem 1.4rem;
  background: var(--ink);
  color: var(--white);
}
.spec-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex: none;
}
.spec-card__head b {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1.08rem;
  display: block;
}
.spec-card__head span { font-size: .82rem; color: #B7C2CE; }
.spec-card__rows { list-style: none; }
.spec-card__rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .95rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.spec-card__rows li:first-child { border-top: none; }
.spec-card__rows span { color: var(--steel); }
.spec-card__rows b {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: .92rem;
  color: var(--ink);
}

/* ---------- Trust strip ---------- */
.trust { background: var(--ink); color: #D6DBE1; }
.trust .wrap {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding-block: 1.3rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .9rem;
}
.trust .dot { color: var(--amber); margin-right: .5rem; font-size: .7rem; vertical-align: middle; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 4vw, 2.6rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: .8rem; }

/* ---------- Product categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.cat {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.4rem 1.4rem 1.2rem;
  border-left: 4px solid var(--blue);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--white); }
.cat__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 1rem;
  padding: .4rem;
}
.cat h3 { margin-bottom: .5rem; }
.cat p { color: var(--steel); font-size: .97rem; margin-bottom: 1rem; }
.cat__cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .82rem;
  color: var(--blue);
}
.cat-foot {
  margin-top: 1.6rem;
  color: var(--steel);
  font-size: .98rem;
}
.cat-foot a { color: var(--blue); font-weight: 600; white-space: nowrap; }

/* ---------- Featured value ---------- */
.featured { background: var(--bg-steel); }
.featured-grid { display: grid; gap: 2rem; align-items: center; }
.featured-mark { display: flex; justify-content: center; }
.ship-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(60%, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(14,90,167,.28);
  border: 6px solid rgba(255,255,255,.18);
}
.ship-badge b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
}
.ship-badge b span { font-size: 1.4rem; vertical-align: super; }
.ship-badge > span {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  margin-top: .3rem;
  color: var(--amber);
}
.featured-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.3rem;
  margin-top: 1.6rem;
}

/* ---------- Local advantage ---------- */
.local-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.local-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.4rem;
  border-left: 4px solid var(--amber);
}
.local-card h3 { margin-bottom: .5rem; }
.local-card p { color: var(--steel); font-size: .97rem; }

/* ---------- How to order ---------- */
.howto { background: var(--bg-soft); }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.5rem 1.4rem 1.3rem;
  border-top: 3px solid var(--blue);
}
.step__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: .9rem;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--steel); font-size: .97rem; }
.howto-foot {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .85rem;
  color: var(--steel);
}
.howto-foot a {
  color: var(--blue);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  margin-left: .3rem;
  white-space: nowrap;
}

/* ---------- Proof cluster near CTA ---------- */
.cta-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .6rem;
  margin-top: 1.6rem;
}
.cta-proof li {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: .74rem;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .4rem .85rem;
}

/* ---------- Why Durapak ---------- */
.why { background: var(--ink); color: #E7EAEE; }
.why .eyebrow { color: var(--amber); }
.why h2 { color: var(--white); }
.why .lead { color: #B7BEC6; }
.why-grid { display: grid; gap: 2.2rem; }
.why-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.why-card {
  background: var(--ink-soft);
  border: 1px solid #343C46;
  border-radius: var(--r);
  padding: 1.3rem;
  border-top: 3px solid var(--amber);
}
.why-card b {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.05rem;
  color: var(--white);
  display: block;
  margin-bottom: .4rem;
}
.why-card p { color: #AEB5BE; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 2.2rem; }
.contact h2 { margin-bottom: .8rem; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
}
.contact-info {
  list-style: none;
  display: grid;
  gap: .9rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.6rem;
  align-self: start;
}
.contact-info li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: .8rem;
  align-items: baseline;
  font-size: 1rem;
}
.ci-label {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .76rem;
  color: var(--steel);
}
.contact-info a { font-weight: 600; color: var(--blue); }
.contact-info a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0E1115;
  color: #9AA2AC;
  padding: clamp(2.4rem, 6vw, 3.4rem) 0 2.2rem;
}
.site-footer .wrap { display: grid; gap: 1.8rem; }
.site-footer .brand { color: var(--white); }
.site-footer p { font-size: .92rem; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; }
.foot-links a { font-weight: 500; color: #C2C8CF; }
.foot-links a:hover { color: var(--blue); }
.foot-legal {
  font-size: .8rem;
  color: #6B727B;
  border-top: 1px solid #23272B;
  padding-top: 1.4rem;
  line-height: 1.7;
}
.foot-legal a { color: #C2C8CF; text-decoration: underline; }

/* ---------- Sticky mobile shop bar ---------- */
.shopbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 48;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(20,24,31,.12);
  padding: .7rem var(--pad);
  transform: translateY(120%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.shopbar.show { transform: translateY(0); }
.shopbar span { font-size: .9rem; color: var(--steel); }
.shopbar strong { color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   BREAKPOINTS
   =================================================================== */
@media (min-width: 620px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-cards { grid-template-columns: repeat(2, 1fr); }
  .local-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust .wrap { flex-direction: row; flex-wrap: wrap; gap: 1rem 2rem; justify-content: center; }
}

@media (min-width: 860px) {
  .hero .wrap { grid-template-columns: 1.12fr .88fr; align-items: center; }
  .hero__art { order: 2; }
  .featured-grid { grid-template-columns: .8fr 1.2fr; }
  .contact-grid { grid-template-columns: 1.2fr .8fr; align-items: start; }
  .why-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; margin-left: .4rem; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none; }
  .shopbar { display: none; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
}
