/* ==========================================================================
   Highmark Rentals — shared stylesheet
   ========================================================================== */

:root {
  --charcoal-950: #12161c;
  --charcoal-900: #171c24;
  --charcoal-800: #232a35;
  --charcoal-700: #313a48;
  --steel-500: #5b6b80;
  --steel-300: #97a4b5;
  --paper-100: #f4f5f3;
  --paper-000: #ffffff;
  --amber-500: #eaa204;
  --amber-600: #c88c00;
  --line: #e2e4e0;

  --logo-h-desktop: 62px;
  --logo-h-footer: 210px;

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

  --container: 1320px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal-900);
  background: var(--paper-000);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: 0.2px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-decoration: none; }

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

section { padding: 84px 0; }
.section-alt { background: var(--paper-100); }
.section-dark { background: var(--charcoal-950); color: var(--paper-100); }
.section-dark p { color: var(--steel-300); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  color: var(--amber-600);
  margin-bottom: 10px;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { color: var(--steel-500); }
.section-dark .section-head p { color: var(--steel-300); }

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--amber-500); color: var(--charcoal-950); }
.btn-primary:hover { background: var(--amber-600); }

.btn-outline {
  background: transparent;
  border-color: rgba(244,245,243,0.45);
  color: var(--paper-100);
}
.btn-outline:hover { border-color: var(--paper-000); background: rgba(244,245,243,0.08); }

.btn-dark {
  background: var(--charcoal-950);
  color: var(--paper-100);
  border-color: var(--charcoal-950);
}
.btn-dark:hover { background: var(--charcoal-800); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--charcoal-950);
  border-bottom: 1px solid rgba(244,245,243,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 20px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: var(--logo-h-desktop);
  width: auto;
  background: var(--paper-000);
  padding: 5px 8px;
  border-radius: 4px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.footer-logo img {
  height: var(--logo-h-footer);
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.main-nav a {
  font-family: var(--font-display);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--steel-300);
  padding: 10px 16px;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.main-nav a:hover { color: var(--paper-000); background: rgba(244,245,243,0.06); }
.main-nav a.active { color: var(--paper-000); }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-phone {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--paper-100);
  white-space: nowrap;
}
.header-phone .lbl { color: var(--steel-300); font-family: var(--font-body); font-size: 0.78rem; display: block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--paper-000);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px 6px;
}

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

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  color: var(--paper-000);
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,22,28,0.35) 0%, rgba(18,22,28,0.55) 55%, rgba(18,22,28,0.92) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-bottom: 68px; max-width: 760px; }
.hero-inner p { color: var(--steel-300); font-size: 1.08rem; max-width: 54ch; }
.hero-inner p.hero-lede { color: #dfe3e0; }

.hero-small { min-height: 360px; }
.hero-small .hero-inner { max-width: 640px; padding-bottom: 48px; }

/* Hero slider (homepage only) --------------------------------------------*/

.hero-slider {
  background: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 0;
}
.hero-slide.is-active { opacity: 1; }
.hero-slider::after { z-index: 1; }

.hero-dots {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 34px;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(244,245,243,0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.hero-dot.is-active { background: var(--amber-500); }
.hero-dot:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 3px; }

/* Trust strip -------------------------------------------------------------*/

.trust-strip {
  background: var(--charcoal-900);
  border-top: 1px solid rgba(244,245,243,0.08);
}
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}
.trust-list li {
  list-style: none;
  color: var(--paper-100);
  font-family: var(--font-display);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--amber-500);
  flex-shrink: 0;
}

/* Equipment grid ------------------------------------------------------------*/

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

.equip-card {
  border: 1px solid var(--line);
  background: var(--paper-000);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.equip-card .img-wrap { aspect-ratio: 4 / 3; overflow: hidden; }
.equip-card img { width: 100%; height: 100%; object-fit: cover; }
.equip-card-body { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.equip-card-body h3 { margin-bottom: 8px; }
.equip-card-body p { color: var(--steel-500); font-size: 0.94rem; flex: 1; }

.equip-card-link {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 14px;
  border: 1px solid var(--charcoal-950);
  background: var(--charcoal-950);
  color: var(--paper-000);
  display: block;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.equip-card-link:hover { background: var(--amber-500); border-color: var(--amber-500); color: var(--charcoal-950); }

.spec-line {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--steel-500);
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
}

/* Photo band ----------------------------------------------------------------*/

.photo-band {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 4px;
}
.photo-band figure { margin: 0; position: relative; aspect-ratio: 4/5; overflow: hidden; }
.photo-band figure:first-child { aspect-ratio: auto; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(18,22,28,0.8), transparent);
  color: var(--paper-000);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

/* Value / mission grids -------------------------------------------------- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.value-item .num {
  font-family: var(--font-display);
  color: var(--amber-500);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.value-item h3 { margin-bottom: 8px; }
.value-item p { color: var(--steel-500); font-size: 0.94rem; }

/* Process steps -------------------------------------------------------------*/

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  border-top: 3px solid var(--amber-500);
  padding-top: 20px;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--charcoal-800);
  opacity: 0.35;
  margin-bottom: 6px;
}
.step p { color: var(--steel-500); font-size: 0.95rem; }

/* CTA band ----------------------------------------------------------------*/

.cta-band {
  background: var(--charcoal-950) url("../images/crane-night-jobsite.jpg") center/cover no-repeat;
  position: relative;
  color: var(--paper-000);
}
.cta-band::after { content: ""; position: absolute; inset: 0; background: rgba(18,22,28,0.82); }
.cta-band .container { position: relative; z-index: 2; text-align: center; }
.cta-band h2 { max-width: 620px; margin: 0 auto 14px; }
.cta-band p { color: var(--steel-300); margin: 0 auto 30px; }
.cta-band .btn-row { justify-content: center; }

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

.site-footer {
  background: var(--paper-000);
  color: var(--steel-500);
  padding-top: 60px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.footer-grid h4 {
  font-family: var(--font-display);
  color: var(--charcoal-950);
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: var(--steel-500); }
.footer-grid a:hover { color: var(--amber-600); }
.footer-brand p { color: var(--steel-500); font-size: 0.92rem; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--charcoal-900);
}
.footer-bottom .note { color: var(--steel-500); }

/* Map section ---------------------------------------------------------------*/

.map-section { padding-bottom: 0; background: var(--paper-100); }
.map-frame {
  border: 0;
  width: 100%;
  height: 420px;
  display: block;
}
.map-section .section-head { margin-bottom: 28px; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.contact-info-card {
  background: var(--charcoal-950);
  color: var(--paper-100);
  padding: 36px 32px;
}
.contact-info-card h3 { color: var(--paper-000); font-size: 1.1rem; }
.contact-info-card .row { margin-bottom: 24px; }
.contact-info-card .row .lbl {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.4px;
  color: var(--amber-500);
  margin-bottom: 4px;
  display: block;
}
.contact-info-card .row .val { color: var(--paper-100); font-size: 1.02rem; }
.contact-info-card .row .val a { color: var(--paper-100); }
.contact-info-card .row .val a:hover { color: var(--amber-500); }

.map-placeholder {
  margin-top: 26px;
  border: 1px dashed rgba(244,245,243,0.35);
  padding: 22px;
  font-size: 0.85rem;
  color: var(--steel-300);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label { font-family: var(--font-display); font-size: 0.85rem; color: var(--charcoal-900); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-000);
  color: var(--charcoal-900);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--amber-500);
  outline-offset: 1px;
}
.form-note { font-size: 0.85rem; color: var(--steel-500); margin-top: 6px; }

/* Utility -------------------------------------------------------------------*/

.mobile-only { display: none; }

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

@media (max-width: 1240px) {
  .header-phone .lbl { display: none; }
  .header-phone { font-size: 0.88rem; }
  .main-nav a, .main-nav .disabled-link { padding: 10px 12px; font-size: 0.88rem; }
  .btn.btn-primary { padding: 12px 18px; }
}

@media (max-width: 980px) {
  .logo img { height: 44px; }
  .main-nav, .header-cta .header-phone { display: none; }
  .nav-toggle { display: block; }
  .header-cta.open ~ .main-nav,
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 92px; left: 0; right: 0;
    background: var(--charcoal-950);
    flex-direction: column;
    padding: 10px 20px 22px;
    border-bottom: 1px solid rgba(244,245,243,0.08);
  }
  .equip-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: repeat(2, 1fr); }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band figure { aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  section { padding: 56px 0; }
  .equip-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* Content refinements: preserve the existing page and card layout. */
.machine-photo { background: #f4f5f3; }
.equip-card .machine-photo img { object-fit: contain; }
.detail-list { padding-left: 18px; margin: 0 0 8px; color: var(--steel-500); font-size: .9rem; }
.detail-list li + li { margin-top: 7px; }
.catalog-note { font-size: .85rem; border-left: 3px solid var(--amber-500); padding-left: 14px; }
.photo-credits { margin-top: 28px; font-size: .8rem; color: var(--steel-500); overflow-wrap: anywhere; }
.photo-credits summary { cursor: pointer; padding: 12px 0; }
.photo-credits li { margin-bottom: 10px; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
.planning-grid { grid-template-columns: repeat(3, 1fr); }
.faq-grid { grid-template-columns: repeat(2, 1fr); }
.section-dark .value-item p { color: var(--steel-300); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 4px; }
#quoteForm, #photo-credits { scroll-margin-top: 115px; }
.field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; }
@media (max-width: 980px) {
  .main-nav.open { max-height: calc(100dvh - 92px); overflow-y: auto; align-items: stretch; }
  .main-nav.open a { min-height: 44px; }
  .planning-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .header-inner { gap: 10px; }
  .header-cta { gap: 6px; }
  .header-cta .btn { font-size: .88rem; padding: 12px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .hero-small { min-height: 360px; }
  .hero-small .hero-inner { padding-bottom: 20px; }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 28px 22px; overflow-wrap: anywhere; }
  .footer-grid { min-width: 0; overflow-wrap: anywhere; }
}


/* Supplied transparent SVG on a white header; footer is 150% of its prior size. */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.logo img { background: transparent; padding: 0; border-radius: 0; height: 88px; }
.main-nav a { color: var(--charcoal-700); }
.main-nav a:hover { color: var(--charcoal-950); background: var(--paper-100); }
.main-nav a.active { color: var(--charcoal-950); box-shadow: inset 0 -3px 0 var(--amber-500); }
.header-phone { color: var(--charcoal-950); }
.header-phone .lbl { color: var(--steel-500); }
.nav-toggle { color: var(--charcoal-950); }
.footer-logo img { height: var(--logo-h-footer); }
.text-link { text-decoration: underline; text-underline-offset: 3px; }

/* More room for the existing homepage slideshow and useful rental copy. */
.hero-slider { min-height: 760px; padding-top: 64px; padding-bottom: 110px; align-items: center; }
.hero-slider .hero-inner { max-width: 920px; padding-bottom: 0; }
.hero-slider h1 { font-size: clamp(2.7rem, 4.8vw, 4.7rem); max-width: 16ch; }
.hero-slider .eyebrow { color: var(--amber-500); font-size: .95rem; letter-spacing: 1px; }
.hero-slider .hero-lede { font-size: 1.15rem; max-width: 64ch; }
.hero-slider .hero-support { font-size: .95rem; color: #dfe3e0; max-width: 64ch; margin: 22px 0 28px; }
.hero-controls { position: absolute; z-index: 3; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; }
.hero-controls .hero-dots { position: static; gap: 2px; }
.hero-controls .hero-dot { width: 32px; height: 44px; border-radius: 0; background: transparent; position: relative; }
.hero-controls .hero-dot::after { content: ''; position: absolute; width: 9px; height: 9px; top: 17px; left: 11px; border-radius: 50%; background: #b2b6bb; }
.hero-controls .hero-dot.is-active::after { background: var(--amber-500); }
.slider-control { min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid #a6abb1; border-radius: 3px; color: white; background: #171c24d9; cursor: pointer; font: inherit; }
.slider-control:hover { background: var(--charcoal-700); }
.slider-pause { min-width: 64px; font-size: .85rem; }
@media (max-width: 980px) {
  .logo img { height: 78px; }
  .main-nav.open { background: #fff; border-bottom: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .logo img { height: 70px; }
  .hero-slider { min-height: 700px; padding-top: 48px; padding-bottom: 112px; }
  .hero-slider h1 { font-size: 2.8rem; }
  .hero-slider .hero-lede { font-size: 1rem; }
  .hero-slider .eyebrow { font-size: .75rem; letter-spacing: .35px; }
  .hero-slider .hero-support { font-size: .88rem; margin: 18px 0 24px; }
  .hero-controls { gap: 4px; width: max-content; }
  .hero-controls .hero-dot { width: 28px; }
  .hero-controls .hero-dot::after { left: 9px; }
}
