/* ------------------------------------------------------------------
   verticals.css

   Industry vertical pages (trucking, agriculture, manufacturing, etc.).
   Uses the same brand tokens as the rest of the site.
   Adds card grids, icon-led sections, and breathing room that the
   plain .location-* classes don't provide for content-heavy verticals.
   ------------------------------------------------------------------ */

/* ---------- vertical hero corridor decoration ---------- */
.vertical-hero-art {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 1.25rem 0 0;
  height: auto;
}

/* ---------- generic vertical section container ---------- */
.vertical-section {
  padding: 4rem 0;
  background: var(--ghosxt-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vertical-section .container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.vertical-section h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  color: var(--ghosxt-black);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.vertical-section .section-intro {
  font-size: 1.05rem;
  color: rgba(0, 0, 0, 0.7);
  max-width: 720px;
  margin: 0 0 2.25rem;
  line-height: 1.65;
}

/* ---------- icon card grid (compliance, problems, etc.) ---------- */
.icon-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.icon-card {
  border: 1px solid var(--ghosxt-black);
  background: var(--ghosxt-white);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: 3px 3px 0 0 var(--ghosxt-black);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.icon-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--ghosxt-black);
}

.icon-card .icon-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #fff5f5;
  border: 1px solid var(--ghosxt-red-0, #b71c1c);
  flex-shrink: 0;
}

.icon-card .icon-card-icon svg {
  width: 32px;
  height: 32px;
}

.icon-card h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ghosxt-black);
  line-height: 1.25;
}

.icon-card p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.78);
}

.icon-card p a {
  color: var(--ghosxt-red-0, #b71c1c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- numbered scenario cards (Common IT problems) ---------- */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  counter-reset: scenario;
}

.scenario-card {
  border: 1px solid var(--ghosxt-black);
  background: var(--ghosxt-white);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: 3px 3px 0 0 var(--ghosxt-black);
  position: relative;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.scenario-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 0 var(--ghosxt-black);
}

.scenario-card .scenario-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.scenario-card .scenario-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--ghosxt-black);
  flex-shrink: 0;
}

.scenario-card .scenario-icon svg {
  width: 24px;
  height: 24px;
}

.scenario-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ghosxt-black);
  line-height: 1.25;
}

.scenario-card p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.8);
}

/* ---------- DoD compliance note (closes compliance section) ---------- */
.compliance-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #fafafa;
  border-left: 4px solid var(--ghosxt-red-0, #b71c1c);
  border-radius: 0 6px 6px 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.82);
}

/* ---------- pull-quote (anonymized testimonial) ---------- */
.pull-quote {
  margin: 0;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--ghosxt-black);
  border-left: 6px solid var(--ghosxt-red-0, #b71c1c);
  background: var(--ghosxt-white);
  border-radius: 0 8px 8px 0;
  box-shadow: 3px 3px 0 0 var(--ghosxt-black);
  max-width: 880px;
}

.pull-quote p {
  margin: 0 0 0.85rem;
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ghosxt-black);
}

.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 500;
}

.pull-quote cite::before {
  content: "— ";
}

/* ---------- glossary (two-column dl) ---------- */
.glossary-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.85rem 1.75rem;
  margin: 1.25rem 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
}

.glossary-list dt {
  font-weight: 700;
  color: var(--ghosxt-black);
}

.glossary-list dd {
  margin: 0;
  color: rgba(0, 0, 0, 0.78);
}

/* ---------- mobile breakpoints ---------- */
@media (max-width: 640px) {
  .vertical-section {
    padding: 2.5rem 0;
  }
  .icon-card,
  .scenario-card {
    padding: 1.25rem;
  }
  .pull-quote {
    padding: 1.25rem 1.4rem;
  }
  .glossary-list {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
  }
  .glossary-list dt {
    margin-top: 0.6rem;
  }
}

/* ------------------------------------------------------------------
   PROPERTY MANAGEMENT page — skyline hero, stat strip, stripe cards
   ------------------------------------------------------------------ */

.location-hero.hero--property {
  position: relative;
  border-top: 3px solid var(--ghosxt-red-0, #b71c1c);
}

.hero--property .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero--property .hero-skyline {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin-left: auto;
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.stat-strip .stat-pill {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--ghosxt-black, #000);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: #fff;
  font-family: var(--font-family-2, "Roboto", sans-serif);
}

.icon-card.stripe-card {
  border-left-width: 6px;
  border-left-color: var(--ghosxt-red-0, #b71c1c);
  padding-left: 1.4rem;
}

.icon-card.stripe-card .icon-card-icon {
  background: #ffffff;
  border: 2px solid var(--ghosxt-red-0, #b71c1c);
}

@media (max-width: 900px) {
  .hero--property .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero--property .hero-skyline {
    max-width: 260px;
    margin: 0 auto;
  }
}

/* ------------------------------------------------------------------
   ENGINEERING page — blueprint-grid hero, workflow timeline,
   number-badge cards with dashed icon tiles
   ------------------------------------------------------------------ */

.location-hero.hero--engineering {
  background-image:
    linear-gradient(rgba(255, 0, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  position: relative;
}

.hero--engineering .title-block {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  border: 1px solid var(--ghosxt-black, #000);
  padding: 0.45rem 0.85rem;
  font-family: var(--font-family-2, "Roboto", sans-serif);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #ffffff;
  font-weight: 600;
  color: var(--ghosxt-black, #000);
}

.hero--engineering .title-block .title-row {
  display: block;
  line-height: 1.5;
}

.hero--engineering .title-block .title-row + .title-row {
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  margin-top: 0.25rem;
  padding-top: 0.25rem;
}

.hero-blueprint {
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 2rem 0 0;
  display: block;
}

.workflow-timeline {
  position: relative;
  padding: 0 0 0 2.5rem;
  margin: 0;
  list-style: none;
}

.workflow-timeline::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 2px;
  background: var(--ghosxt-red-0, #b71c1c);
}

.workflow-step {
  position: relative;
  padding: 0 0 2.25rem 1.25rem;
  margin: 0;
}

.workflow-step:last-child {
  padding-bottom: 0;
}

.workflow-step::before {
  content: "";
  position: absolute;
  left: -1.85rem;
  top: 0.4rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ghosxt-red-0, #b71c1c);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--ghosxt-black, #000);
}

.workflow-step h3 {
  margin: 0 0 0.55rem;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ghosxt-black, #000);
  line-height: 1.25;
}

.workflow-step p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.65;
  color: rgba(0, 0, 0, 0.82);
}

.icon-card.badge-num {
  position: relative;
  overflow: visible;
}

.icon-card.badge-num .badge-numeral {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ghosxt-red-0, #b71c1c);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ghosxt-black, #000);
  font-family: var(--font-family-2, "Roboto", sans-serif);
}

.icon-card.badge-num .icon-card-icon {
  background: #ffffff;
  border-style: dashed;
}

.msp-callout {
  margin: 1.5rem 0 0;
  padding: 1.6rem 1.75rem;
  border: 1px dashed var(--ghosxt-black, #000);
  background: #fffafa;
  border-radius: 8px;
}

.msp-callout h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: var(--ghosxt-black, #000);
}

.msp-callout p {
  margin: 0 0 0.85rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.msp-callout ul {
  margin: 0;
  padding-left: 1.25rem;
}

.msp-callout ul li {
  margin-bottom: 0.35rem;
}

@media (max-width: 720px) {
  .hero--engineering .title-block {
    position: static;
    display: inline-block;
    margin-bottom: 0.75rem;
  }
  .hero-blueprint {
    margin-top: 1.25rem;
  }
}
