/* rentarvex.com: rental-specific styles, on top of the shared styles.css */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.nav .nav-cta {
  background: var(--red); color: var(--white); padding: 9px 16px; border-radius: 4px;
}
.nav .nav-cta:hover { background: var(--red-deep); color: var(--white); }

/* Category index: the four categories as big, beveled jump links */
.cat-index { padding-bottom: clamp(28px, 4vw, 48px); }
.cat-index ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.cat-index a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 150px; padding: 20px 22px 18px;
  background: var(--red); color: var(--white); text-decoration: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  margin-right: -22px;
  transition: background .15s ease;
}
.cat-index li:nth-child(2) a { background: #b01a29; }
.cat-index li:nth-child(3) a { background: #9e1623; }
.cat-index li:nth-child(4) a { background: #8a121e; margin-right: 0; clip-path: none; }
.cat-index li:not(:first-child) a { padding-left: 44px; }
.cat-index a:hover, .cat-index a:focus-visible { background: var(--graphite); color: var(--white); }
.cat-index a:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; }
.cat-name {
  font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.05;
}
.cat-count { font-size: 0.92rem; opacity: 0.9; }

/* Catalog: spec-sheet rows, no fake photos */
.catalog { padding-bottom: clamp(48px, 7vw, 88px); }
.catalog-note { color: var(--muted); margin-bottom: 8px; }
.cat { padding-top: clamp(36px, 5vw, 56px); scroll-margin-top: 12px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; border-bottom: 2px solid var(--graphite); padding-bottom: 10px; }
.cat-head h2 { margin: 0; }
.cat-head p { margin: 0; color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; }
.item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 16px 0; border-bottom: 1px solid var(--steel-line);
}
.item h3 { margin: 0; font-size: 1.12rem; font-weight: 700; }
.item p { margin: 2px 0 0; color: var(--muted); font-size: 0.98rem; }
.btn-quote {
  flex-shrink: 0; text-decoration: none; font-weight: 700; font-size: 0.95rem;
  color: var(--red-deep); border: 2px solid var(--red); border-radius: 4px; padding: 8px 14px;
}
.btn-quote:hover { background: var(--red); color: var(--white); }

/* How renting works: a real sequence, so numbered */
.how { background: var(--steel); padding: clamp(56px, 8vw, 96px) 0; }
.steps {
  list-style: none; margin: 28px 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.steps li { counter-increment: step; border-top: 4px solid var(--red); padding-top: 14px; }
.steps li::before {
  content: counter(step);
  display: block; font-variation-settings: "wdth" 125; font-weight: 800;
  font-size: 2.4rem; line-height: 1; color: var(--red); margin-bottom: 10px;
}
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--graphite); }

/* Delivery band hands off to Logistics */
.delivery { background: var(--navy); color: var(--white); padding: clamp(48px, 7vw, 80px) 0; }
.delivery-row { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.delivery h2 { color: var(--white); }
.delivery p { color: #dfe7f7; }
.btn-light {
  display: inline-block; background: var(--white); color: var(--navy-deep);
  font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 4px;
}
.btn-light:hover { color: var(--graphite); }

@media (max-width: 860px) {
  .cat-index ul { grid-template-columns: 1fr 1fr; }
  .cat-index a, .cat-index li:not(:first-child) a { clip-path: none; margin-right: 0; padding-left: 20px; min-height: 110px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .delivery-row { grid-template-columns: 1fr; }
  .delivery-row img { width: 240px; }
}
@media (max-width: 520px) {
  .item { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
}
.cat-index li { display: flex; }
.cat-index a { flex: 1; }
