/* =========================================================
   SAVCLICK Tech — department page (load after style.css)
   ========================================================= */

.tech-hero { padding: 40px 0 48px; }

/* ---------- Hero grid: one set of elements, remapped per breakpoint ----------
   Mobile order (default, matches DOM / reading order):
   crumb -> eyebrow -> title -> lead -> media -> suites -> note -> actions
   Desktop order: two columns (text stack / media), suites as a full-width
   row underneath both columns.
------------------------------------------------------------------------- */
.tech-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  grid-template-areas:
    "crumb"
    "eyebrow"
    "title"
    "lead"
    "media"
    "suites"
    "note"
    "actions";
}

.area-crumb   { grid-area: crumb; }
.area-eyebrow { grid-area: eyebrow; margin-bottom: 0; }
.area-title   { grid-area: title; }
.area-lead    { grid-area: lead; }
.area-media   { grid-area: media; }
.area-suites  { grid-area: suites; }
.area-note    { grid-area: note; margin: 0; }
.area-actions { grid-area: actions; margin: 0; }

.area-media .page-hero-img { width: 100%; height: auto; }

@media (min-width: 960px) {
  .tech-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 56px;
    row-gap: 14px;
    grid-template-areas:
      "crumb   media"
      "eyebrow media"
      "title   media"
      "lead    media"
      "actions media"
      "note    media"
      "suites  suites";
    /* Extra height from a tall image goes into the "note" row, so the text
       stack stays compact and buttons don't stretch. */
    grid-template-rows: auto auto auto auto auto 1fr auto;
  }
  .tech-hero-grid > :not(.area-media) { align-self: start; }
  .area-media { align-self: start; }
  .area-lead, .area-eyebrow, .area-crumb, .area-title { max-width: 560px; }
}

/* ---------- Suites bullet row (now part of the hero grid) ---------- */
.tech-suites-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.tech-suites-list li {
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  color: var(--navy-70);
  font-weight: 500;
}
.tech-suites-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--savclick-mint-value);
  flex-shrink: 0;
}

.hero-note { font-size: 0.86rem; color: var(--navy-70); }

.t-section { padding: 72px 0; }
.t-section.alt { background: var(--white); }
.t-head { max-width: 680px; margin-bottom: 32px; }
.t-head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); }
.t-head p { color: var(--navy-70); margin-bottom: 0; }

.t-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .t-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .t-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .t-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.t-card { padding: 24px; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); background: var(--white); }
.alt .t-card { background: var(--savclick-plat-bg); }
.t-card h3 { font-size: 1.05rem; }
.t-card p { color: var(--navy-70); font-size: 0.93rem; margin-bottom: 0; }

/* Card with a photo — used for Hardware repair */
.t-card-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.t-card-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--navy-06); }
.t-card-photo .t-card-body { padding: 18px 20px 20px; }
.t-card-photo h3 { font-size: 1.02rem; }
.t-card-photo p { color: var(--navy-70); font-size: 0.92rem; margin-bottom: 0; }
@media (min-width: 480px) {
  .t-card-photo.t-card-side { flex-direction: row; align-items: stretch; }
  .t-card-photo.t-card-side img { width: 40%; aspect-ratio: auto; flex-shrink: 0; }
  .t-card-photo.t-card-side .t-card-body { padding: 18px; }
}

/* Offer cards: the four main services, given more weight */
.offer-card { border-top: 3px solid var(--savclick-azure-action); border-radius: var(--radius-sm) var(--radius-sm) var(--radius-md) var(--radius-md); }

/* Split layout: text block + media slot */
.t-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start; }
@media (min-width: 960px) { .t-split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }
.t-split .t-grid { grid-template-columns: 1fr; }
@media (min-width: 640px) { .t-split .t-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .t-split-media { position: sticky; top: calc(var(--header-h) + 24px); } }

/* Media slots: swap the <img> src for real workshop photos / video */
.media-slot { margin: 0; }
.media-slot img, .media-slot video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); background: var(--navy-06); }
.media-slot figcaption { margin-top: 10px; font-size: 0.84rem; color: var(--navy-70); }

/* Logic board feature: dark panel, the one bold moment on the page */
.board-feature { background: var(--savclick-navy-primary); color: var(--white); }
.board-feature h2 { color: var(--white); }
.board-feature .t-head p { color: rgba(255,255,255,0.7); }
.board-feature .t-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.board-feature .t-card h3 { color: var(--white); }
.board-feature .t-card p { color: rgba(255,255,255,0.68); }
.board-feature .media-slot figcaption { color: rgba(255,255,255,0.6); }
.board-feature .media-slot img { background: rgba(255,255,255,0.06); }

/* Workshop gallery */
.gallery { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-list li { font-size: 0.85rem; padding: 6px 14px; border: 1px solid var(--border-hairline); border-radius: 999px; color: var(--navy-70); background: var(--white); }

/* Repair process: connected circles, no card copy */
.process { display: flex; flex-direction: column; align-items: center; gap: 40px; list-style: none; margin: 0; padding: 0; }
.process-step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: var(--border-hairline);
}
.process-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--savclick-azure-action);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}
.process-step p { margin: 12px 0 0; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }

@media (min-width: 760px) {
  .process { flex-direction: row; align-items: flex-start; justify-content: center; gap: 0; }
  .process-step { flex: 1 1 0; max-width: 200px; }
  .process-step:not(:last-child)::after {
    top: 34px;
    left: calc(50% + 34px);
    transform: none;
    width: calc(100% - 68px);
    height: 2px;
  }
}

/* Link cards: training, shop, about */
.link-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .link-grid { grid-template-columns: repeat(3, 1fr); } }
.link-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); background: var(--white); }
.link-card h3 { font-size: 1.15rem; }
.link-card p { color: var(--navy-70); font-size: 0.94rem; }
.link-card .btn { align-self: flex-start; margin-top: auto; }
.link-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.link-actions .btn { padding: 11px 18px; font-size: 0.9rem; }

.cta-band .btn-wa { white-space: nowrap; }
.cta-tagline { margin-top: 10px !important; font-size: 0.86rem; }