/* ============================================================
   Truck & Trailer Repair — page styles
   ============================================================ */

/* ---------- Truck logo — transparent, no plate (matches home + equipment pages) ---------- */
.brand__logo { height: 54px; flex: none; display: flex; align-items: center; }
.brand__logo img { height: 100%; width: auto; object-fit: contain; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,.4)); }
.site-footer .brand__logo { height: 60px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink-deep);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; border: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, oklch(0.155 0.014 248 / .55) 0%, oklch(0.155 0.014 248 / .15) 38%, oklch(0.155 0.014 248 / .78) 88%, var(--ink-deep) 100%),
    linear-gradient(90deg, oklch(0.155 0.014 248 / .72) 0%, oklch(0.155 0.014 248 / .1) 60%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(40px, 8vh, 96px) clamp(40px, 6vh, 64px); }
.hero .display { color: var(--on-ink); margin: 18px 0 22px; max-width: 16ch; text-shadow: 0 2px 30px oklch(0.12 0.02 248 / .5); }
.hero .lead { max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__strip {
  position: relative; z-index: 2;
  border-top: 1px solid oklch(1 0 0 / .1);
  background: oklch(0.135 0.014 248 / .6);
  backdrop-filter: blur(8px);
}
.hero__strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.trust { padding: 22px 4px 24px; position: relative; }
.trust:not(:first-child)::before {
  content:""; position:absolute; left:0; top:24px; bottom:24px; width:1px; background: oklch(1 0 0 /.1);
}
.trust b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--amber); line-height: 1; text-transform: uppercase; }
.trust span { display: block; font-family: var(--font-semi); font-weight: 600; font-size: 13.5px; letter-spacing: .04em; color: var(--on-ink-soft); margin-top: 7px; text-transform: uppercase; }

/* ---------- Section heads ---------- */
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head .h2 { margin: 14px 0 18px; }

/* ---------- Services ---------- */
.services { background: var(--paper); }
.services__layout { display: grid; grid-template-columns: 0.82fr 1.6fr; gap: clamp(24px, 3vw, 48px); align-items: stretch; }
.services__media {
  position: relative; border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-md); min-height: 460px;
}
.services__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: 8px;
  padding: 26px 24px 22px; position: relative; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.svc::before {
  content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background: var(--amber);
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc:hover::before { transform: scaleY(1); }
.svc__n { font-family: var(--font-mono); font-size: 13px; color: var(--amber-deep); font-weight: 500; letter-spacing: .04em; }
.svc .h3 { font-size: 23px; line-height: .98; color: var(--txt); }
.svc p { font-size: 15.5px; line-height: 1.5; color: var(--txt-soft); }
.svc__tags { font-family: var(--font-semi); font-weight: 600; font-size: 13px; line-height: 1.45; color: var(--txt); letter-spacing: .01em; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--paper-line); }
.svc__go {
  font-family: var(--font-semi); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; font-size: 12.5px; color: var(--amber-deep);
  opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease); margin-top: 2px;
}
.svc:hover .svc__go { opacity: 1; transform: none; }

/* ---------- Who We Are ---------- */
.who { background: var(--ink); color: var(--on-ink); position: relative; }
.who__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(48px, 6vw, 80px); }
.who__intro { max-width: 760px; margin-inline: auto; text-align: center; }
.who__intro .eyebrow { justify-content: center; }
.who__intro .lead { margin-inline: auto; }
.who__intro .flag-badge { justify-content: center; }
.who__intro .h2 { color: var(--on-ink); margin: 14px 0 22px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: oklch(1 0 0 /.1); border: 1px solid oklch(1 0 0 /.1); border-radius: 8px; overflow: hidden; }
.pillar { background: var(--ink); padding: clamp(28px, 3vw, 40px); }
.pillar__k { font-family: var(--font-mono); font-size: 13px; color: var(--amber); font-weight: 500; }
.pillar .h3 { color: var(--on-ink); margin: 12px 0 12px; }
.pillar p { color: var(--on-ink-soft); font-size: 16px; line-height: 1.55; }

/* ---------- Contact ---------- */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 4vw, 64px); align-items: start; }
.contact__info, .contact__form { min-width: 0; }
@media (min-width: 981px) { .contact__grid { grid-template-columns: 1fr 1fr; } }
.contact__info .h2 { margin: 14px 0 16px; }

.contact__call {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--ink); color: var(--on-ink);
  padding: 16px 26px 16px 18px; border-radius: 8px; margin: 28px 0 28px;
  box-shadow: var(--shadow-md); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.contact__call:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.contact__call-ic { width: 46px; height: 46px; border-radius: 8px; background: var(--amber); color: var(--ink-deep); display: grid; place-items: center; flex: none; }
.contact__call-ic svg { width: 24px; height: 24px; }
.contact__call-txt small { display: block; font-family: var(--font-semi); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--amber); }
.contact__call-txt b { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: .01em; line-height: 1.05; }

.contact__meta { list-style: none; padding: 0; display: grid; gap: 4px; }
.contact__meta li { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--paper-line); }
.contact__meta-ic { width: 38px; height: 38px; flex: none; border-radius: 8px; background: #fff; border: 1px solid var(--paper-line); display: grid; place-items: center; color: var(--amber-deep); }
.contact__meta-ic svg { width: 20px; height: 20px; }
.contact__meta small { display: block; font-family: var(--font-semi); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--txt-soft); margin-bottom: 1px; }
.contact__meta b, .contact__meta a { font-size: 17px; color: var(--txt); font-weight: 600; word-break: break-word; }
.contact__meta a:hover { color: var(--amber-deep); }

/* Form */
.contact__form { background: #fff; border: 1px solid var(--paper-line); border-radius: 12px; padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-md); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-family: var(--font-semi); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--txt-soft); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--txt);
  background: var(--paper); border: 1px solid var(--paper-line); border-radius: 7px;
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: oklch(0.62 0.01 248); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 3px var(--amber-soft); background: #fff; }
.form-note { font-size: 14.5px; color: var(--txt-soft); text-align: center; margin-top: 14px; }
.form-note a { color: var(--amber-deep); font-weight: 600; }

.form-success { text-align: center; padding: 14px 8px 8px; }
.form-success__ic { width: 64px; height: 64px; border-radius: 50%; background: var(--amber); color: var(--ink-deep); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success__ic svg { width: 34px; height: 34px; }
.form-success p { color: var(--txt-soft); margin: 10px 0 18px; max-width: 36ch; margin-inline: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services__layout { grid-template-columns: 1fr; }
  .services__media { position: relative; top: 0; aspect-ratio: 16 / 7; min-height: 0; }
  .pillars { grid-template-columns: 1fr; }
  /* center the contact info column and keep the call box on-screen */
  .contact__info { text-align: center; }
  .contact__info .eyebrow { justify-content: center; }
  .contact__info .lead { margin-inline: auto; }
  .contact__call { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; }
  .contact__meta { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 680px) {
  .hero__strip-inner { grid-template-columns: repeat(2, 1fr); }
  .trust:nth-child(3)::before { display: none; }
  .trust b { font-size: 26px; }
  .services__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  /* full-width hero CTAs so the phone-number button never clips/overflows */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .contact__call { gap: 12px; padding: 14px 18px 14px 14px; }
  .contact__call-txt b { font-size: 25px; }
}
@media (max-width: 380px) {
  .hero__strip-inner { grid-template-columns: 1fr 1fr; }
}
