/* ============================================================
   MEDZDIRECT — Prescription Mailroom
   Palette:
   ICE PACK PAPER   #F2F2F0  body background
   CARBON LABEL     #26282C  main text
   RELAY VIOLET-GREY #6E6A9E accent (brand plate, buttons, stamps)
   FOIL GREY        #8C8F94  secondary structure + seam lines
   MAILER CARD      #FBFBF8  cards
   GEL BLUE         #DCE6E4  cold-pack panels + chill marks
   SORT BELT        #2B2D31  dark band + footer
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #26282C;
  background-color: #F2F2F0;
  overflow-x: hidden;
}

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

a {
  color: #6E6A9E;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   REVEAL SYSTEM (safe without JS)
   ============================================================ */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
}

.js .reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RELAY STAMP NAV (.relaystamp)
   ============================================================ */
.relaystamp {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: #F2F2F0;
  border-bottom: 2px solid #8C8F94;
}

.relaystamp .container {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-plate {
  background-color: #6E6A9E;
  color: #FBFBF8;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.15rem;
  padding: 8px 14px;
  border-radius: 4px;
  line-height: 1;
}

.stamp-glyph {
  width: 30px;
  height: 38px;
  background-color: #FBFBF8;
  border: 3px double #26282C;
}

.stamp-glyph::before {
  content: "";
  display: block;
  height: 6px;
  background-color: #6E6A9E;
  margin: 10px 2px 0;
  border-radius: 10px;
}

.nav-bins {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
  flex-wrap: wrap;
}

.bin-chip {
  position: relative;
  display: inline-block;
  padding: 8px 16px 14px;
  font-weight: 600;
  color: #26282C;
  background-color: #FBFBF8;
  border: 1px solid #8C8F94;
  border-bottom: 3px solid #8C8F94;
  border-radius: 4px 4px 0 0;
}

.bin-chip::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 4px;
  height: 4px;
  background-color: #DCE6E4;
  border-radius: 2px;
}

.bin-chip.active {
  border-bottom: 3px solid #6E6A9E;
  color: #6A6694;
}

.nav-cta {
  background-color: #6E6A9E;
  color: #FBFBF8;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 3px;
  letter-spacing: 0.03em;
}

.nav-cta:hover {
  background-color: #5E5A8A;
  text-decoration: none;
}

.seam-line {
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    #8C8F94 0,
    #8C8F94 14px,
    #F2F2F0 14px,
    #F2F2F0 22px
  );
}

.nav-toggle {
  display: none;
  background-color: #6E6A9E;
  border: none;
  color: #FBFBF8;
  font-size: 1.4rem;
  padding: 6px 14px;
  border-radius: 4px;
  cursor: pointer;
  line-height: 1;
  margin-left: auto;
}

.navdrawer {
  display: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }
  .nav-bins {
    display: none;
  }
  .relaystamp.nav-open .nav-bins {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    order: 5;
    gap: 8px;
    margin-left: 0;
  }
  .relaystamp.nav-open .bin-chip,
  .relaystamp.nav-open .nav-cta {
    width: 100%;
    text-align: center;
    border-radius: 4px;
  }
}

/* ============================================================
   COLD SHELF HERO (.coldshelf)
   ============================================================ */
.coldshelf {
  background-color: #F2F2F0;
  overflow: hidden;
}

.hero-shelves {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-color: #E7E8E6;
}

.bench-zone {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 0;
  min-height: 280px;
}

.chill-shelf {
  position: relative;
  height: 14px;
  background-color: #C7C9C7;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 8px 0 -6px #B9BBB9;
}

.mailer-prop {
  position: absolute;
  left: 4%;
  bottom: 30px;
  width: 210px;
  height: 150px;
  background-color: #FBFBF8;
  border: 2px solid #8C8F94;
  border-radius: 6px 10px 6px 10px;
}

.mailer-prop .foil-wing {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 54px;
  height: 130px;
  background-color: #DCE6E4;
  border-radius: 4px;
}

.mailer-prop .relay-dot {
  position: absolute;
  left: 16px;
  top: 12px;
  width: 46px;
  height: 34px;
  background-color: #6E6A9E;
  border-radius: 50% 50% 45% 45%;
}

.gel-packs {
  display: flex;
  gap: 18px;
  padding: 34px 24px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.gel-pack {
  width: 120px;
  height: 96px;
  background-color: #DCE6E4;
  border: 2px solid #AEBFBC;
  border-radius: 6px;
  position: relative;
}

.gel-pack::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 28px;
  height: 3px;
  background-color: #C2D4D0;
  border-radius: 2px;
}

.carousel-prop {
  position: absolute;
  right: 6%;
  bottom: 42px;
  width: 170px;
  height: 170px;
  background-color: #FBFBF8;
  border: 2px solid #8C8F94;
  border-radius: 50%;
}

.cards-fan {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 6px;
  height: 120px;
  background: repeating-linear-gradient(
    90deg,
    #6E6A9E 0,
    #6E6A9E 10px,
    #FBFBF8 10px,
    #FBFBF8 20px,
    #DCE6E4 20px,
    #DCE6E4 30px,
    #FBFBF8 30px,
    #FBFBF8 42px
  );
  border-radius: 6px;
}

.scale-prop {
  position: absolute;
  right: 30%;
  bottom: 70px;
  width: 130px;
  height: 90px;
  background-color: #8C8F94;
  border-radius: 6px;
}

.scale-prop .scale-pan {
  position: absolute;
  left: -12px;
  right: -12px;
  bottom: 8px;
  height: 8px;
  background-color: #B9BBB9;
  border-radius: 8px;
}

@media (max-width: 760px) {
  .mailer-prop,
  .carousel-prop,
  .scale-prop {
    display: none;
  }
}

/* Curtain/counter slab */
.hero-counter {
  background-color: #F2F2F0;
  padding-top: 60px;
}

.counter-slab {
  max-width: 1160px;
  margin: 0 auto;
  padding: 60px 48px 32px;
  background-color: #FBFBF8;
  border-top: 6px solid #DCE6E4;
  box-shadow: 0 2px 0 #8C8F94;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6E6A9E;
  font-size: 0.82rem;
  background-color: #F2F2F0;
  padding: 6px 16px;
  border-left: 4px solid #8C8F94;
}

.hero-title {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 18px;
}

.hero-title h1 {
  font-size: 3.1rem;
  line-height: 1.05;
  color: #26282C;
  font-weight: 800;
}

.hero-stamp {
  font-size: 1.5rem;
  color: #FBFBF8;
  background-color: #6E6A9E;
  padding: 6px 14px;
  border-radius: 8px;
  border: 4px double #FBFBF8;
  transform: rotate(-6deg);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead-text {
  max-width: 760px;
  margin-top: 20px;
  font-size: 1.12rem;
  color: #3A3D42;
}

.hero-ctas {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background-color: #6E6A9E;
  color: #FBFBF8;
}

.btn-primary:hover {
  background-color: #5E5A8A;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: #26282C;
  border: 2px solid #26282C;
}

.btn-outline:hover {
  background-color: #26282C;
  color: #FBFBF8;
  text-decoration: none;
}

.btn-gel {
  background-color: #DCE6E4;
  color: #26282C;
  border: 2px solid #2B2D31;
}

@media (max-width: 660px) {
  .hero-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hero-title h1 {
    font-size: 2.2rem;
  }
  .counter-slab {
    padding: 40px 24px 24px;
  }
}

/* kick strip */
.kick-strip {
  background-color: #2B2D31;
  margin-top: 0;
}

.kick-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding-top: 26px;
  padding-bottom: 26px;
}

.kick-stat {
  text-align: center;
  color: #FBFBF8;
  border-right: 1px solid #6E6A9E;
  padding: 6px 10px;
}

.kick-stat:last-child {
  border-right: none;
}

.kick-stat .stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: #FBFBF8;
}

.kick-stat .stat-label {
  font-size: 0.85rem;
  color: #CDCDC5;
  letter-spacing: 0.04em;
}

@media (max-width: 660px) {
  .kick-strip .container {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .kick-stat {
    border-right: none;
    border-bottom: 1px solid #6E6A9E;
  }
  .kick-stat:last-child {
    border-bottom: none;
  }
}

/* ============================================================
   STATEMENT BAND
   ============================================================ */
.statement-row {
  background-color: #6E6A9E;
  color: #FBFBF8;
  text-align: center;
  padding: 60px 24px;
}

.statement-row .statement-inner {
  max-width: 860px;
  margin: 0 auto;
}

.statement-row .figure {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
}

.statement-row .figure small {
  font-size: 1.4rem;
}

.statement-row .pledge {
  margin-top: 18px;
  font-size: 1.3rem;
  font-weight: 600;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   REFILL ROWS (.refillrow)
   ============================================================ */
.refillrow {
  background-color: #F2F2F0;
  padding: 30px 0 20px;
}

.row-head {
  padding: 50px 24px 30px;
  text-align: center;
}

.row-head h2 {
  font-size: 2.2rem;
  color: #26282C;
  margin-bottom: 8px;
}

.row-head p {
  color: #4A4D52;
  max-width: 720px;
  margin: 0 auto;
}

.refill-rows {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  overflow-x: hidden;
}

.refill-card {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  background-color: #FBFBF8;
  border: 1px solid #DCDDD9;
  padding: 34px 44px;
  margin-bottom: 26px;
}

.refill-card.offset {
  transform: translateX(56px);
}

.refill-card.row-end {
  transform: translateX(-46px);
}

.rx-stamp {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: #6E6A9E;
  color: #FBFBF8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  border: 4px double #FBFBF8;
  text-align: center;
}

.rx-stamp .rx-code {
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

.rx-stamp .rx-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

.chill-chip {
  display: inline-block;
  background-color: #DCE6E4;
  color: #26282C;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid #2B2D31;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.refill-copy h3 {
  font-size: 1.6rem;
  color: #26282C;
  margin-bottom: 10px;
}

.refill-copy p {
  color: #4A4D52;
}

.details-link {
  font-weight: 700;
  color: #6E6A9E;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.details-link:hover {
  text-decoration: none;
}

@media (max-width: 760px) {
  .refill-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .refill-card.offset,
  .refill-card.row-end {
    transform: none;
  }
  .rx-stamp {
    margin: 0 auto;
  }
}

/* ============================================================
   MAIL RUN dispatch band
   ============================================================ */
.mailrun {
  background-color: #8C8F94;
  padding: 64px 0;
}

.mailrun-head {
  text-align: center;
  color: #FBFBF8;
  padding-bottom: 20px;
}

.mailrun-head h2 {
  color: #FBFBF8;
  font-size: 2rem;
}

.mailrun-head p {
  color: #E7E8ED;
  max-width: 620px;
  margin: 8px auto 0;
}

.station-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 24px;
  position: relative;
}

.station-track::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 5%;
  right: 5%;
  border-top: 3px dashed #6E6A9E;
}

@media (min-width: 761px) and (max-width: 980px) {
  .station-track {
    grid-template-columns: repeat(3, 1fr);
  }
  .station-track::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .station-track {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .station-track::before {
    display: none;
  }
}

.station {
  text-align: center;
  position: relative;
  z-index: 1;
}

.station-flag {
  width: 76px;
  height: 76px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: #2B2D31;
  border: 4px solid #6E6A9E;
  color: #FBFBF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}

.station.station-final .station-flag {
  background-color: #6E6A9E;
  border-color: #2B2D31;
}

.station h4 {
  color: #FBFBF8;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.station p {
  color: #E2E3E0;
  font-size: 0.92rem;
}

/* ============================================================
   PAGE SECTIONS (generic, class only)
   ============================================================ */
.page-section {
  background-color: #F2F2F0;
  padding: 70px 0;
}

.section-rule {
  border: none;
  border-top: 2px solid #8C8F94;
  max-width: 1200px;
  margin: 0 auto;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

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

.boost-list {
  margin-top: 14px;
}

.boost-list li {
  padding: 7px 0;
  padding-left: 28px;
  position: relative;
  color: #3A3D42;
}

.boost-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 14px;
  height: 10px;
  background-color: #6E6A9E;
  border-radius: 2px 6px 6px 2px;
}

/* Feature rows (services page) */
.svc-card {
  background-color: #FBFBF8;
  border: 1px solid #DCDDD9;
  border-top: 6px solid #6E6A9E;
  padding: 36px 40px;
}

.svc-card h3 {
  font-size: 1.5rem;
  color: #26282C;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-num {
  font-size: 0.9rem;
  color: #6E6A9E;
  border: 2px solid #6E6A9E;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-card p {
  color: #4A4D52;
  margin-top: 10px;
}

.svc-chill-note {
  background-color: #DCE6E4;
  padding: 10px 14px;
  margin-top: 16px;
  color: #26282C;
  font-weight: 600;
  border-left: 5px solid #2B2D31;
}

/* booking / CTA band */
.cta-band {
  background-color: #6E6A9E;
  color: #F2F2F0;
  padding: 66px 24px;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-band h2 {
  color: #FBFBF8;
  font-size: 2rem;
}

.cta-band .stamp-open {
  display: inline-block;
  border: 3px solid #FBFBF8;
  color: #FBFBF8;
  font-weight: 800;
  padding: 4px 14px;
  transform: rotate(-3deg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.cta-band p {
  color: #EDEAF5;
  max-width: 640px;
}

.btn-mailer {
  background-color: #FBFBF8;
  color: #26282C;
}

.btn-mailer:hover {
  background-color: #EDE8F2;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Accordions */
.acc-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.acc-item {
  background-color: #FBFBF8;
  border: 1px solid #DCDDD9;
  margin-bottom: 14px;
}

.acc-head {
  width: 100%;
  text-align: left;
  background-color: transparent;
  border: none;
  padding: 18px 26px;
  font-family: inherit;
  font-size: 1.1rem;
  color: #26282C;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-panel .acc-body {
  padding: 0 26px 20px;
  color: #4A4D52;
}

/* contact form */
.form-panel {
  background-color: #FBFBF8;
  border: 1px solid #DCDDD9;
  padding: 40px 44px;
}

.form-panel label {
  display: block;
  font-weight: 700;
  color: #26282C;
  margin: 18px 0 6px;
}

.form-panel input,
.form-panel textarea,
.form-panel select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #8C8F94;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #FCFCFA;
  color: #26282C;
}

.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus {
  outline: 2px solid #6E6A9E;
  border-color: #6E6A9E;
}

.form-panel textarea {
  min-height: 150px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: #6A6D72;
  margin-top: 6px;
}

.form-status {
  color: #6E6A9E;
  font-weight: 700;
  margin-top: 12px;
}

/* horizontal list of small fact cards */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

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

.fact-cell {
  background-color: #FBFBF8;
  border: 1px solid #DCDDD9;
  padding: 28px;
  border-bottom: 4px solid #6E6A9E;
}

.fact-cell h3 {
  color: #6E6A9E;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.fact-cell p {
  color: #4A4D52;
}

/* section heading helpers used across pages */
.section-h2 {
  font-size: 2rem;
  color: #26282C;
  margin: 14px 0 16px;
}

.section-p {
  color: #4A4D52;
  margin-bottom: 14px;
}

.eyebrow-simple {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #FBFBF8;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.section-ice {
  background-color: #EBEDEB;
}

/* ============================================================
   SORT BENCH FOOTER (.sortbench)
   ============================================================ */
.sortbench {
  background-color: #2B2D31;
  color: #CCCDC7;
  position: relative;
  margin-top: 0;
}

.sortbench .footer-inner {
  position: relative;
  z-index: 1;
  background-color: #2B2D31;
}

.footer-belt {
  border-bottom: 2px solid #6E6A9E;
}

.footer-belt .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}

.footer-motto {
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #FBFBF8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 30px;
}

.footer-col h4 {
  color: #FBFBF8;
  margin-bottom: 16px;
  font-size: 1.05rem;
  border-bottom: 2px solid #6E6A9E;
  display: inline-block;
  padding-bottom: 6px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #CCCDC7;
}

.footer-col ul li a:hover {
  color: #FBFBF8;
}

.footer-plate {
  background-color: #FBFBF8;
  color: #26282C;
  border-top: 4px solid #6E6A9E;
}

.footer-plate .container {
  padding-top: 30px;
  padding-bottom: 34px;
}

.footer-plate .fn-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: #6E6A9E;
}

.footer-plate .fn-addr,
.footer-plate .fn-contact {
  color: #3A3D42;
  margin-top: 4px;
}

.footer-plate .fn-contact a {
  color: #6E6A9E;
  font-weight: 600;
}

.footer-copy {
  border-top: 1px solid #8C8F94;
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
}

.footer-copy {
  color: #6E6A9E;
}

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

/* legal pages never use this, but keep scope-safe fallbacks */
body { background-color: #F2F2F0; }
