/* Application / industry solution pages — extends OEM service layout */

.app-page {
  background: #eef1f5;
}

.app-header {
  background: rgba(238, 241, 245, 0.92);
}

.app-main .section-block {
  padding: 4.5rem 0;
}

.page-top {
  padding: 1.5rem 0 3.5rem;
  background: linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--steel);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--brass);
}

.page-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.page-hero-media {
  margin: 0;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.page-hero-media figcaption {
  margin-top: 0.65rem;
  color: var(--steel);
  font-size: 0.9rem;
}

.insights-strip {
  padding: 0 0 3rem;
  background: linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%);
  border-bottom: 1px solid var(--line);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.insight-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
}

.insight-card span {
  color: var(--steel);
  font-size: 0.94rem;
}

.experience-band {
  padding: 2.5rem 0;
  background: var(--navy-dark);
  color: var(--white);
}

.experience-band .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.experience-band strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--brass-light);
}

.experience-band span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.workflow-section {
  background: var(--white);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: workflow;
}

.workflow-step {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.workflow-step::before {
  counter-increment: workflow;
  content: counter(workflow, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: rgba(200, 146, 42, 0.15);
  color: var(--brass);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
}

.workflow-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.workflow-step p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.related-links a:hover {
  border-color: var(--brass);
  color: var(--brass);
}

.page-lead {
  max-width: 680px;
  margin-bottom: 1.2rem;
  font-size: 1.08rem;
  color: var(--steel);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-facts {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-facts strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.15rem;
  color: var(--navy);
}

.hero-facts span {
  color: var(--steel);
  font-size: 0.94rem;
}

.scenarios-section {
  background: var(--white);
}

.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.scenario-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.scenario-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(200, 146, 42, 0.12);
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scenario-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--steel);
}

.lock-types-section {
  background:
    linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%);
}

.lock-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lock-type-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.lock-type-card p {
  margin: 0;
  color: var(--steel);
}

.lock-type-card .card-link {
  display: inline-block;
  margin-top: 0.85rem;
}

.custom-section {
  background: var(--white);
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.custom-item {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fafc;
}

.custom-item h4 {
  margin: 0 0 0.45rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
}

.custom-item p {
  margin: 0;
  color: var(--steel);
  font-size: 0.94rem;
}

.spec-section {
  background:
    linear-gradient(180deg, #eef1f5 0%, #f8f9fb 100%);
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.spec-table th,
.spec-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table th {
  background: var(--navy-dark);
  color: var(--white);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.spec-table td {
  color: var(--steel);
}

.spec-note {
  margin: 1rem 0 0;
  color: var(--steel);
  font-size: 0.92rem;
}

.checklist-section {
  background: var(--white);
}

.checklist-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.checklist-panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.checklist-panel ol {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--steel);
}

.checklist-panel li + li {
  margin-top: 0.65rem;
}

.proof-section {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  padding: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.proof-card h3 {
  color: var(--white);
  font-size: 1.3rem;
}

.proof-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.eyebrow.light {
  color: var(--brass-light);
}

.inquiry-section {
  background: #eef1f5;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}

.faq-panel h2 {
  margin-bottom: 1.2rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 0.8rem 0 0;
  color: var(--steel);
}

.inquiry-card {
  position: sticky;
  top: 96px;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.inquiry-card .contact-form {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.mini-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mini-contact a {
  color: var(--brass);
  font-weight: 600;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.cta-banner h2 {
  margin: 0.35rem 0 0.75rem;
  color: var(--white);
}

.cta-banner p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
}

.app-footer {
  padding: 1.2rem 0 2rem;
}

.footer-compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--brass-light);
}

.preview-note {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #fff8e6;
  border-bottom: 1px solid #f0dba8;
  color: #6b4e0f;
  font-size: 0.92rem;
  text-align: center;
}

.section-label {
  max-width: 760px;
  margin-bottom: 2rem;
}

@media (max-width: 980px) {
  .page-hero,
  .scenario-grid,
  .lock-type-grid,
  .custom-grid,
  .checklist-layout,
  .proof-grid,
  .inquiry-layout,
  .insights-grid,
  .workflow-steps,
  .experience-band .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero,
  .checklist-layout,
  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .inquiry-card {
    position: static;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .scenario-grid,
  .lock-type-grid,
  .custom-grid,
  .proof-grid,
  .insights-grid,
  .workflow-steps,
  .experience-band .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 3.5rem 0;
  }
}
