/* ============================================================
   AQUILA360 — Service landing pages
   Extends the "Operations Deck" system (redesign.css) with the
   components specific to commercial landing pages: breadcrumb,
   per-page hero readouts, a numbered engagement flow, an FAQ
   accordion, support plan tiers, related links, and a CTA band.
   Only the service pages link this file.
   ============================================================ */

/* --------------------------------------------------- Breadcrumb */
.crumbs {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  color: var(--on-dark-mute);
}
.crumbs a {
  color: var(--on-dark-soft);
}
.crumbs a:hover {
  color: var(--teal);
}
.crumbs span {
  opacity: 0.45;
}
.crumbs [aria-current] {
  color: var(--on-dark);
}

/* --------------------------------------------------- Hero readout panels
   Each service page gives its deck a page-specific signal, so the four
   pages read as siblings — not clones. They reuse the .deck shell. */
.rdt {
  padding: 18px;
  display: grid;
  gap: 10px;
}
.rdt__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
}
.rdt__k {
  color: var(--on-dark-soft);
  display: flex;
  align-items: center;
  gap: 11px;
  letter-spacing: 0.02em;
}
.rdt__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(25, 211, 181, 0.7);
  flex: none;
}
.rdt__v {
  color: var(--teal);
  font-weight: 500;
  white-space: nowrap;
}
.rdt__v.muted {
  color: var(--on-dark-mute);
}

/* Migration before→after strip */
.vstrip {
  padding: 22px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
}
.vcard {
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  padding: 18px 16px;
  background: var(--ink-2);
  text-align: center;
}
.vcard.to {
  border-color: rgba(25, 211, 181, 0.4);
  background: rgba(25, 211, 181, 0.06);
}
.vcard__label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-mute);
}
.vcard__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-top: 10px;
}
.vcard.to .vcard__name {
  background: var(--grad-spire);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vcard__meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  color: var(--on-dark-mute);
  margin-top: 8px;
}
.vstrip__arrow {
  align-self: center;
  color: var(--teal);
}
.vstrip__arrow svg {
  width: 26px;
  height: 26px;
  display: block;
}
.vstrip__foot {
  grid-column: 1 / -1;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  color: var(--on-dark-soft);
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}
.vstrip__foot .rdt__dot {
  background: var(--sky);
  box-shadow: 0 0 8px rgba(43, 182, 232, 0.7);
}

/* ----------------------------------------------- Engagement flow (numbered)
   Used only where the work is a genuine ordered sequence
   (implementation, migration, a RAG build). Not for support. */
.flow {
  border-top: 1px solid var(--line);
}
.flow__step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(18px, 3vw, 34px);
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.flow__n {
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--azure);
  background: #fff;
}
.flow__step:hover .flow__n {
  border-color: var(--teal);
  color: var(--teal-deep);
}
.flow__step h4 {
  font-size: 20px;
  margin-bottom: 7px;
}
.flow__step p {
  color: var(--muted);
  font-size: 15.5px;
  max-width: 64ch;
}
.flow__step .code-tag {
  margin-left: 10px;
  vertical-align: 2px;
}

/* --------------------------------------------------- Support plan tiers */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow-card);
}
.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.plan__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 21px;
  font-weight: 600;
}
.plan__sla {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.plan__sla strong {
  color: var(--text);
  font-weight: 600;
}
.plan ul {
  margin-top: 4px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
  display: grid;
  gap: 10px;
}
.plan li {
  font-size: 14.5px;
  color: var(--text-soft);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.plan li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  border-radius: 1px;
  background: var(--teal);
  flex: none;
  transform: rotate(45deg);
}

/* --------------------------------------------------- FAQ accordion */
.faq {
  border-top: 1px solid var(--line);
  max-width: 860px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-family: "IBM Plex Mono", monospace;
  font-size: 24px;
  font-weight: 400;
  color: var(--teal-deep);
  flex: none;
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after {
  content: "\2013"; /* en dash */
}
.faq summary:hover {
  color: var(--azure);
}
.faq__a {
  padding: 0 0 26px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 72ch;
}
.faq__a a {
  color: var(--azure);
  font-weight: 600;
  border-bottom: 1px solid rgba(30, 127, 212, 0.3);
}

/* --------------------------------------------------- Related links */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rel {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.rel:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}
.rel__k {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.rel h4 {
  font-size: 18px;
}
.rel p {
  font-size: 14.5px;
  color: var(--muted);
}
.rel__go {
  margin-top: auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rel__go svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------- CTA band */
.cta-band {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.cta-band .eyebrow {
  justify-content: center;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 50px);
  margin-top: 18px;
}
.cta-band p {
  margin-top: 18px;
  color: var(--on-dark-soft);
  font-size: 18px;
  max-width: 54ch;
  margin-inline: auto;
}
.cta-band .hero__cta {
  justify-content: center;
  margin-top: 34px;
}

/* --------------------------------------------------- Page intro head
   A centered section head variant for landing-page section openers. */
.section-head.is-center {
  margin-inline: auto;
  text-align: center;
}
.section-head.is-center p {
  margin-inline: auto;
}

/* --------------------------------------------------- Responsive */
@media (max-width: 980px) {
  .plans,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .vstrip {
    grid-template-columns: 1fr;
  }
  .vstrip__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .flow__step {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }
  .flow__n {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }
}
