/* ============================================================
   FASTECH™ page — styles specific to /services/fastech/.
   Builds on shared classes in assets/css/site.css (buttons, badges,
   section headers, te-eyebrow).
   ============================================================ */

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */
.trs-fs-hero { position: relative; background: var(--graphite-900); color: #fff; overflow: hidden; }
.trs-fs-hero__dotgrid {
  position: absolute; inset: 0; opacity: 0.6;
  background-image: radial-gradient(circle, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.trs-fs-hero__glow {
  position: absolute; top: -140px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(186,31,57,0.35), transparent 70%);
  pointer-events: none;
}
.trs-fs-hero__grid {
  position: relative; padding: 88px var(--gutter) 72px; display: grid;
  grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
}
.trs-fs-hero__title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.03;
  letter-spacing: -0.02em; text-transform: uppercase; color: #fff; margin: 0 0 24px;
}
.trs-fs-hero__body { font-family: var(--font-sans); font-size: 18px; line-height: 1.6; color: var(--graphite-300); max-width: 46ch; margin: 0 0 36px; }
.trs-fs-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.trs-fs-hero__media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl); border: 1px solid var(--graphite-700); aspect-ratio: 16 / 9;
}
.trs-fs-hero__media video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .trs-fs-hero__grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   How It Handles
   --------------------------------------------------------------- */
.trs-fs-handle-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.trs-fs-handle-card {
  position: relative; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); overflow: hidden;
}
.trs-fs-handle-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand); }
.trs-fs-handle-card__num { font-family: var(--font-mono); font-size: 13px; color: var(--text-subtle); letter-spacing: 0.05em; }
.trs-fs-handle-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: -0.005em; color: var(--text-strong); margin: 12px 0 14px; }
.trs-fs-handle-card p { font-family: var(--font-sans); font-size: 14.5px; line-height: 1.6; color: var(--text-body); margin: 0; }

@media (max-width: 760px) {
  .trs-fs-handle-grid { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Gallery
   --------------------------------------------------------------- */
.trs-fs-gallery { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; margin-top: 48px; align-items: start; }
.trs-fs-gallery__item { margin: 0; }
.trs-fs-gallery__frame {
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); background: var(--color-surface);
}
.trs-fs-gallery__frame img { width: 100%; display: block; }
.trs-fs-gallery__item figcaption { font-family: var(--font-sans); font-size: 13.5px; color: var(--text-muted); margin-top: 12px; line-height: 1.5; }

@media (max-width: 760px) {
  .trs-fs-gallery { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   How It Works steps
   --------------------------------------------------------------- */
.trs-fs-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.trs-fs-step__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--brand); margin-bottom: 8px; }
.trs-fs-step h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: -0.005em; color: var(--text-strong); margin: 0 0 8px; }
.trs-fs-step p { font-family: var(--font-sans); font-size: 14.5px; line-height: 1.6; color: var(--text-body); margin: 0; }

@media (max-width: 760px) {
  .trs-fs-steps { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------
   Spec table
   --------------------------------------------------------------- */
.trs-fs-spec { margin-top: 56px; max-width: 820px; }
.trs-fs-spec__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: -0.005em; color: var(--text-strong); margin: 0 0 18px; }
.trs-fs-spec__table { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.trs-fs-spec__row { display: grid; grid-template-columns: 190px 1fr; background: var(--color-surface); }
.trs-fs-spec__row--alt { background: var(--graphite-50); }
.trs-fs-spec__row + .trs-fs-spec__row { border-top: 1px solid var(--color-divider); }
.trs-fs-spec__label { padding: 14px 20px; font-family: var(--font-sans); font-weight: 700; font-size: 13.5px; color: var(--text-strong); }
.trs-fs-spec__value { padding: 14px 20px; font-family: var(--font-sans); font-size: 13.5px; line-height: 1.5; color: var(--text-body); }

@media (max-width: 640px) {
  .trs-fs-spec__row { grid-template-columns: 1fr; }
  .trs-fs-spec__label { padding-bottom: 4px; }
  .trs-fs-spec__value { padding-top: 0; }
}

/* ---------------------------------------------------------------
   Proof band
   --------------------------------------------------------------- */
.trs-fs-proof { position: relative; background: var(--graphite-900); overflow: hidden; }
.trs-fs-proof__bg { width: 100%; height: 460px; object-fit: cover; display: block; opacity: 0.55; }
.trs-fs-proof__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,14,17,0.95), rgba(12,14,17,0.35));
}
.trs-fs-proof__inner {
  position: relative; height: 460px; display: flex; flex-direction: column; justify-content: center;
}
.trs-fs-proof__inner h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  text-transform: uppercase; color: #fff; margin: 0 0 16px; max-width: 26ch;
}
.trs-fs-proof__inner p { font-family: var(--font-sans); font-size: 18px; color: var(--graphite-200); max-width: 52ch; margin: 0 0 32px; }
.trs-fs-proof__ctas { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 640px) {
  .trs-fs-proof__bg, .trs-fs-proof__inner { height: 560px; }
}
