/* =========================================================
   BENZINEHUB — services.css
   Extra styles for services.html only. Load it AFTER style.css.
   1 Setup  2 Page hero + jump buttons  3 Service sections
   4 "At a glance" card  5 How we work  6 Call to action
   7 Responsive
   ========================================================= */

/* 1. SETUP ------------------------------------------------ */
.brand img,
.site-footer .brand img { width: auto; height: 34px; }   /* wide wordmark logo */

.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); }
.sec-head p:not(.label) { margin-top: 10px; max-width: 56ch; color: var(--muted); }

/* 2. PAGE HERO + JUMP BUTTONS ------------------------------ */
.svc-hero { padding: 26px 0 32px; }
.crumbs { display: flex; gap: 12px; margin-bottom: 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.crumbs a:hover { color: var(--blue); }

.jump { margin-top: 26px; scroll-margin-top: 100px; }
.jump > p { margin: 0 0 12px; max-width: none; font-size: 13px; font-weight: 700; color: var(--ink); }
.jump-list { display: flex; flex-wrap: wrap; gap: 10px; }
.jump-list a {
  display: inline-flex; align-items: center; gap: 12px; height: 38px; padding: 0 16px 0 14px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  transition: border-color 0.15s, transform 0.15s;
}
.jump-list a:hover { border-color: var(--blue); }
.jump-list i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }

/* 3. SERVICE SECTIONS -------------------------------------- */
.service {
  /* colour options: set data-color="blue | green | purple | orange | red | teal | pink" in the HTML */
  --c: #1d63f0;
  --c-soft: #eef3fe;
  --c-tick: #e3ebfd;
  padding: 72px 0;
  scroll-margin-top: 78px;            /* keeps the section clear of the sticky header */
  background: #fff;
}
@supports (color: color-mix(in srgb, red 10%, white)) {
  .service {
    --c-soft: color-mix(in srgb, var(--c) 10%, #fff);
    --c-tick: color-mix(in srgb, var(--c) 14%, #fff);
  }
}
.service[data-color="blue"]   { --c: #1d63f0; }
.service[data-color="green"]  { --c: #10a36f; }
.service[data-color="purple"] { --c: #7c4dff; }
.service[data-color="orange"] { --c: #f59e0b; }
.service[data-color="red"]    { --c: #e5484d; }
.service[data-color="teal"]   { --c: #0e9f8e; }
.service[data-color="pink"]   { --c: #d9469a; }

.service:nth-child(odd)  { border-bottom: 1px solid #eef2fa; }
.service:nth-child(even) { background: var(--bg); }

.service-grid {
  display: grid; grid-template-columns: minmax(0, 640px) minmax(0, 440px);
  justify-content: space-between; align-items: start;
}
/* every second service swaps sides automatically */
.service:nth-child(even) .service-grid { grid-template-columns: minmax(0, 440px) minmax(0, 640px); }
.service:nth-child(even) .glance { order: -1; }

.service-head { display: flex; align-items: center; gap: 16px; }
.service-ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--c); color: #fff; font-size: 22px; }
.service-num { font-size: 10.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c); }
.service h2 { margin-top: 24px; font-size: clamp(1.6rem, 2.4vw, 2.125rem); }
.service-text p { max-width: 630px; margin-top: 12px; color: var(--muted); }
.service-text h2 + p { margin-top: 14px; }
.inc-title { margin-top: 26px; font-size: 15px; }
.inc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin-top: 14px; }
.inc li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.tick { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-tick); color: var(--c); font-size: 10px; }
.service-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.back-link:hover { color: var(--blue); }
.back-link .ic { transform: rotate(-90deg); }

/* the section you jumped to gets a soft glow around its icon */
.service:target .service-ic { box-shadow: 0 0 0 7px var(--c-tick); }

/* 4. "AT A GLANCE" CARD ------------------------------------ */
.glance { margin-top: 4px; overflow: hidden; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; }
.glance-top { padding: 30px 0 22px; text-align: center; background: var(--c-soft); }
.glance-ic { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--c); color: #fff; font-size: 32px; }
.glance-top p { margin-top: 16px; font-size: 12.5px; font-weight: 700; }
.glance dl { margin: 0 24px; }
.glance dl > div { padding: 11px 4px 10px; border-top: 1px solid var(--line); }
.glance dl > div:first-child { border-top: 0; }
.glance dt { font-size: 12px; color: var(--muted); }
.glance dd { margin: 2px 0 0; font-size: 15px; font-weight: 700; }
.glance-link { display: flex; align-items: center; gap: 10px; margin: 0 24px; padding: 20px 4px 22px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 700; color: var(--blue); }
.glance-link:hover .ic { transform: translateX(3px); }
.glance-link .ic { transition: transform 0.15s; }

/* 5. HOW WE WORK ------------------------------------------- */
.run-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.run-steps li { position: relative; padding-top: 58px; counter-increment: step; }
.run-steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800;
}
.run-steps li::after { content: ""; position: absolute; top: 20px; left: 52px; right: -12px; height: 2px; background: var(--line); }
.run-steps li:last-child::after { display: none; }
.run-steps h3 { font-size: 16px; }
.run-steps p { margin-top: 6px; max-width: 30ch; font-size: 13.5px; color: var(--muted); }

/* 6. CALL TO ACTION (same banner as the homepage, with a tidier heading) */
.cta-grid { grid-template-columns: 1.8fr 1fr 0.7fr; }
.cta h2 { font-size: clamp(1.4rem, 2vw, 1.8rem); }

/* 7. RESPONSIVE --------------------------------------------- */
@media (max-width: 1180px) {
  .cta-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
  .service { padding: 56px 0; }
  .service-grid,
  .service:nth-child(even) .service-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .service:nth-child(even) .glance { order: 0; }
  .glance { max-width: 480px; }
  .run-steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .run-steps li::after { display: none; }
}
@media (max-width: 680px) {
  .inc { grid-template-columns: 1fr; }
  .run-steps, .cta-grid { grid-template-columns: 1fr; }
  .service-actions { flex-direction: column; align-items: flex-start; }
  .jump-list a { font-size: 13px; }
}
