/* St. George Crane Rental — company-style site
   Construction-inspired, mobile-first, no external assets. */

:root {
  --ink: #1b1f24;
  --ink-soft: #3d4450;
  --muted: #5c6470;
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --white: #fffcf6;
  --yellow: #e8b423;
  --yellow-hover: #d4a112;
  --yellow-ink: #1b1f24;
  --steel: #24303c;
  --steel-2: #1a232c;
  --line: #d4cdb8;
  --line-dark: #3a4652;
  --focus: #0b57d0;
  --ok: #215c38;
  --shadow: 0 12px 32px rgba(27, 31, 36, 0.12);
  --radius: 6px;
  --max: 1120px;
  --header-h: 68px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: #1a4f8a;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: #0e3560;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 14px;
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Header */
.header {
  background: var(--steel-2);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--yellow);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 15px;
  letter-spacing: 0.04em;
  font-weight: 800;
}

.logo-text span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.nav-toggle {
  position: absolute;
  left: -999px;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle-label span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
}

.nav {
  display: none;
  position: absolute;
  top: calc(var(--header-h) + 3px);
  left: 0;
  right: 0;
  background: var(--steel);
  border-bottom: 1px solid var(--line-dark);
  padding: 8px 20px 16px;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle:checked ~ .nav {
  display: flex;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  padding: 10px 8px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn:hover,
.btn:focus-visible {
  background: var(--yellow-hover);
  color: var(--yellow-ink);
}

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

.btn-dark:hover,
.btn-dark:focus-visible {
  background: #000;
  color: var(--white);
}

.btn-block {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  margin-left: auto;
  padding: 8px 12px;
  font-size: 13px;
}

.header-cta { order: 1; }
.nav-toggle-label { order: 2; }
.nav { order: 3; }

/* Layout helpers */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-hover);
  margin: 0 0 8px;
}

.section h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 28px;
}

/* Hero */
.hero {
  background: var(--steel);
  color: var(--white);
  padding: 36px 0 48px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.025) 10px,
      rgba(255, 255, 255, 0.025) 11px
    );
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 32px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.85rem, 6vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero .sub {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: #d7dde4;
  max-width: 48ch;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.badge {
  display: inline-block;
  background: rgba(232, 180, 35, 0.15);
  color: var(--yellow);
  border: 1px solid rgba(232, 180, 35, 0.4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

/* Quote card */
.quote-card {
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 22px 20px 24px;
  border-top: 5px solid var(--yellow);
}

.quote-card h2 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}

.quote-card .hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.req {
  color: #9a3412;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
  border: 1px solid #c9c2b0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}

.field textarea {
  min-height: 88px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: 2px solid var(--yellow);
  outline-offset: 0;
}

.disclosure-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  background: var(--paper);
  border-left: 3px solid var(--yellow);
  padding: 10px 12px;
}

/* How it works */
.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 20px 20px 76px;
  position: relative;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--yellow);
  font-weight: 800;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 40px;
  text-align: center;
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Service cards */
.cards {
  display: grid;
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-2px);
}

.card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  color: var(--steel);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.card .more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14px;
  color: #1a4f8a;
}

/* Service area */
.cities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.cities li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.cities li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
  flex-shrink: 0;
}

.cities .secondary {
  font-weight: 600;
  color: var(--ink-soft);
}

.cities .secondary small {
  display: block;
  flex-basis: 100%;
  padding-left: 22px;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

details.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
}

details.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

details.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1;
}

details.faq[open] summary::after {
  content: "–";
}

details.faq .answer {
  padding: 0 20px 18px;
  color: var(--ink-soft);
  max-width: 72ch;
}

details.faq .answer p {
  margin: 0 0 10px;
}

details.faq .answer p:last-child {
  margin: 0;
}

/* Page hero (interior) */
.page-hero {
  background: var(--steel);
  color: var(--white);
  padding: 36px 0 40px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 10px,
      rgba(255, 255, 255, 0.025) 10px,
      rgba(255, 255, 255, 0.025) 11px
    );
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.crumbs {
  font-size: 13px;
  margin: 0 0 12px;
  color: #b8c0c8;
}

.crumbs a {
  color: var(--yellow);
  text-decoration: none;
}

.crumbs a:hover {
  text-decoration: underline;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.page-hero .sub {
  margin: 0;
  color: #d7dde4;
  max-width: 58ch;
}

/* Article / service copy */
.prose {
  max-width: 72ch;
}

.prose h2 {
  margin: 32px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.prose li {
  margin: 0 0 6px;
}

.cta-band {
  background: var(--steel-2);
  color: var(--white);
  padding: 40px 0;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0 0 18px;
  color: #d7dde4;
  max-width: 58ch;
}

.related {
  display: grid;
  gap: 10px;
}

.related a {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.related a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.related a span {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

/* Footer */
.footer {
  background: var(--ink);
  color: #c9cfd6;
  padding: 40px 0 24px;
  font-size: 14px;
}

.footer a {
  color: var(--yellow);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}

.footer h2 {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

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

.footer li {
  margin: 0 0 6px;
}

.footer-legal {
  border-top: 1px solid #333a42;
  padding-top: 20px;
}

.footer-legal p {
  margin: 0 0 10px;
  max-width: 80ch;
}

.footer .fine {
  color: #8b939c;
  font-size: 13px;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.center-actions {
  margin-top: 24px;
}

/* Desktop */
@media (min-width: 800px) {
  .nav-toggle,
  .nav-toggle-label {
    display: none;
  }

  .header-inner {
    position: relative;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .nav { order: 1; }
  .header-cta {
    display: inline-flex;
    order: 2;
    padding: 9px 14px;
    font-size: 14px;
    margin-left: 8px;
  }
  .nav-toggle-label { order: 0; }

  .hero {
    padding: 56px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr 500px;
    align-items: start;
    gap: 48px;
  }

  .quote-card {
    padding: 26px 24px 28px;
  }

  .form-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
  }

  .field-span,
  .form-grid > button,
  .form-grid > .btn {
    grid-column: 1 / -1;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps li {
    padding: 88px 22px 22px 22px;
  }

  .steps li::before {
    left: 22px;
    top: 22px;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards.five .card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 8px);
    justify-self: center;
    width: 100%;
  }

  .cities {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .section {
    padding: 72px 0;
  }

  .page-hero {
    padding: 48px 0 56px;
  }

  .split {
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 48px;
    align-items: start;
  }

  .related {
    margin-top: 8px;
  }
}

@media (min-width: 1100px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards.five .card:last-child,
  .cards.five .card:nth-child(4),
  .cards.five .card:nth-child(5) {
    grid-column: auto;
    max-width: none;
  }

  .cards.five {
    grid-template-columns: repeat(6, 1fr);
  }

  .cards.five .card {
    grid-column: span 2;
  }

  .cards.five .card:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .cards.five .card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.hero-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #e6edf3;
  font-weight: 600;
  font-size: 15px;
}

.hero-points li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%231b1f24' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5 6.5 11.5 12.5 4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}


/* Koerner/Laredo-style additions */
body { padding-bottom: 4.5rem; }
.top-bar { background: #1a232c; color: #fff; font-size: 14px; padding: 6px 0; }
.top-bar-inner { max-width: var(--max); margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.phone-todo { font-weight: 700; color: var(--yellow); border: 1px dashed var(--yellow); padding: 2px 8px; border-radius: 3px; }
.trust-bar { background: #ebe6db; border-bottom: 1px solid var(--line); padding: 10px 0; font-size: 14px; color: var(--ink-soft); }
.trust-bar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; justify-content: center; }
.trust-bar li { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.trust-bar li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 0; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover, .btn-outline:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.price-box { background: #f0fdf4; border-left: 4px solid var(--ok); padding: 16px 20px; border-radius: 0 4px 4px 0; max-width: 72ch; color: var(--ink-soft); margin: 0 0 0; }
.price-box strong { display: block; color: var(--ok); margin-bottom: 4px; }
.footer-bottom { border-top: 1px solid #333a42; padding-top: 20px; font-size: 13px; color: #c9cfd6; }
.footer-legal { display: none; }
.call-bar { display: block; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--ink); box-shadow: 0 -2px 10px rgba(0,0,0,.2); }
.call-bar a { display: block; color: var(--yellow-ink); background: var(--yellow); text-align: center; padding: 14px 16px; font-weight: 800; font-size: 16px; text-decoration: none; }
.call-bar a:hover { background: var(--yellow-hover); color: var(--yellow-ink); }
@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .call-bar { display: none; }
}

/* Keep desktop nav on one line */
.header-cta { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 800px) {
  .header-inner { gap: 10px; }
  .nav { flex-wrap: nowrap; gap: 0; }
  .nav a { padding: 8px 8px; font-size: 13.5px; white-space: nowrap; }
  .header-cta { margin-left: 4px; padding: 9px 12px; }
  .logo-text span { letter-spacing: 0.06em; }
}

@media (max-width: 799px) {
  .logo-text span { display: none; }
  .logo { min-width: 0; }
  .header-inner { gap: 8px; }
  .header-cta { display: none; } /* hero + sticky call bar already offer the CTA */
  .nav-toggle-label { flex-shrink: 0; margin-left: auto; }
}
