/* services-technicians-maintenance.css — Technicians & Maintenance detail page */

/* ============================================================
   Afrique Du Sud K9 — Technicians & Maintenance detail
   Page-specific styles for /src/pages/services/technicians-maintenance.html.
   Tokens, base styles, header/footer chrome, .container,
   .slash-mask, [data-reveal], .mono, .skip-link, .btn-*
   utilities all live in main.css — do not redefine here.
   Hero (.page-hero) and related (.related-services) blocks are
   shared and styled in main.css.
   Mobile-first; widen via @media (min-width: 700px / 1100px).
   Section BEM roots:
     .tech-overview / .tech-services /
     .tech-systems / .tech-coverage
   ============================================================ */


/* ============================================================
   #tech-overview — paper intro band + 4 jump pills
   Intro paragraph followed by a row of box-style pills
   linking to #tech-services, #tech-systems, #tech-coverage.
   Padding-block halved (master ref §4).
   Pill style follows the Training canonical box pill — white bg,
   subtle border, orange-border on hover (mono pill rejected per
   master ref §8).
   ============================================================ */
#tech-overview.tech-overview {
  background: var(--paper);
  padding-block: calc(var(--section-y) / 2);
}

.tech-overview__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tech-overview__intro {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  line-height: 1.6;
  color: var(--grey-700);
  max-width: 72ch;
  margin: 0 0 2rem;
}

.tech-overview__pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.tech-overview__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: var(--fs-small);
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--radius);
  padding: 0.625rem 1rem;
  text-decoration: none;
  transition: border-color 150ms ease, color 150ms ease,
              background-color 150ms ease;
}
.tech-overview__pill:hover,
.tech-overview__pill:focus-visible {
  border-color: var(--orange);
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}


/* ============================================================
   #tech-services — white band; 4 alternating capability rows
   Mirrors .surveillance-systems exactly: each row stacks on
   mobile; widens to a 2-col image/copy grid at >=1100px with
   the photo side alternating per row. 4:3 slash-masked media.
   Each row: photo + h3 + paragraph + bullet traits list.
   ============================================================ */
#tech-services.tech-services {
  background: var(--white);
  padding-block: var(--section-y);
}

.tech-services__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tech-services__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.tech-services__intro {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--grey-700);
  max-width: 72ch;
  margin: 0 0 2.5rem;
}

.tech-services__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 4.5rem);
}

.tech-services__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 0;
}

/* Slash-masked media wrapper */
.tech-services__media {
  width: 100%;
}
.tech-services__media picture,
.tech-services__media picture > img {
  width: 100%;
  display: block;
}
.tech-services__media picture > img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tech-services__copy > :first-child {
  margin-top: 0;
}
.tech-services__copy > :last-child {
  margin-bottom: 0;
}

.tech-services__name {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: var(--fs-h3);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.tech-services__body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--grey-700);
  margin: 0 0 1rem;
}

.tech-services__traits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tech-services__traits li {
  position: relative;
  padding-left: 1.25rem;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--grey-700);
}
.tech-services__traits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--orange);
}


/* ============================================================
   #tech-systems — paper band; 4-tile hardware-category list
   Mirrors .ap-capability: stacked single-column rows on every
   breakpoint, alternating red/orange 3px top-border accent
   (red on odd, orange on even) over a subtle 1px wrapper
   border. White-on-paper tiles. Section opens with an h2 +
   optional lead paragraph.
   ============================================================ */
#tech-systems.tech-systems {
  background: var(--paper);
  padding-block: var(--section-y);
}

.tech-systems__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.tech-systems__title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-h2);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
}

.tech-systems__intro {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--grey-700);
  max-width: 72ch;
  margin: 0 0 2.5rem;
}

.tech-systems__tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.tech-systems__tile {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
}
.tech-systems__tile:nth-child(2) {
  border-top-color: var(--orange);
}
.tech-systems__tile:nth-child(3) {
  border-top-color: var(--red);
}
.tech-systems__tile:nth-child(4) {
  border-top-color: var(--orange);
}

.tech-systems__tile-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: var(--fs-h3);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.tech-systems__tile-body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--grey-700);
  margin: 0;
}


/* ============================================================
   #tech-coverage — ink "Where we operate" pull-quote callout
   Centred display-font pull-quote on ink bg, capped at 90vw
   (matches .surveillance-sensing__quote per master ref §8).
   Two centred orange links below — flat display-uppercase
   letter-spaced, white on hover (matches
   .surveillance-sensing__link).
   ============================================================ */
#tech-coverage.tech-coverage {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--section-y);
}

.tech-coverage__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}

.tech-coverage__quote {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.2;
  color: var(--white);
  max-width: 90vw;
  margin: 0 auto;
}

.tech-coverage__links {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.tech-coverage__link {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--fs-small);
  color: var(--orange);
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 0.25rem;
  transition: color 200ms ease;
}
.tech-coverage__link:hover,
.tech-coverage__link:focus-visible {
  color: var(--white);
  text-decoration: none;
}


/* ============================================================
   Breakpoint: >=700px
   Tablet shifts: overview pills go horizontal.
   ============================================================ */
@media (min-width: 700px) {
  .tech-overview__pills {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}


/* ============================================================
   Breakpoint: >=1100px
   Desktop: services items resolve to 2-col alternating-side
   rows (mirrors .surveillance-systems__item).
   ============================================================ */
@media (min-width: 1100px) {
  .tech-services__item {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }
  /* Alternate the image side on even rows */
  .tech-services__item:nth-child(even) .tech-services__media {
    order: 2;
  }
}


/* ============================================================
   Reduced-motion local guards
   (global guard in main.css already disables transitions/anims
   on everything; these are belt-and-braces guards for the pill
   border swap and the coverage link colour swap.)
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .tech-overview__pill,
  .tech-coverage__link {
    transition: none;
    transform: none;
  }
}
