/* AUTOMATION SERVICES HUB PAGE — Additional styles
   Self-contained: only rules not already defined in main.css.
   Scoped to .is-automation-hub-page via body class.
   Loaded exclusively on template-automation-hub.php.
================================================================ */

/* ── Section / layout utilities (self-contained redef) ──────── */
.is-automation-hub-page .section      { padding: clamp(72px, 8vw, 112px) 0; }
.is-automation-hub-page .section-alt  { background: var(--mist); }
.is-automation-hub-page .section-dark { background: var(--ink); }
.is-automation-hub-page .wrap         { width: var(--w); margin: 0 auto; }

/* ── Button: ghost (on dark bg) ──────────────────────────────── */
.is-automation-hub-page .btn-ghost {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.8);
  font-family: var(--ff-body); font-size: .95rem; font-weight: 500;
  padding: 13px 26px; border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.18);
  transition: all .25s var(--ease);
  text-decoration: none;
}
.is-automation-hub-page .btn-ghost:hover {
  border-color: rgba(255,255,255,.38); color: #fff;
  transform: translateY(-2px);
  background: rgba(255,255,255,.09);
}

/* ── Button: outlined (light bg) ────────────────────────────── */
.is-automation-hub-page .btn-out {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  font-family: var(--ff-body); font-size: .88rem; font-weight: 600;
  padding: 11px 22px; border-radius: var(--r2);
  border: 1.5px solid var(--line2);
  transition: all .25s var(--ease);
  text-decoration: none;
}
.is-automation-hub-page .btn-out:hover { border-color: var(--fire); color: var(--fire); }

/* ── Button: fire (primary CTA) ─────────────────────────────── */
.is-automation-hub-page .btn-fire {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--fire); color: #fff;
  font-family: var(--ff-body); font-size: .95rem; font-weight: 600;
  padding: 14px 28px; border-radius: var(--r2);
  border: none; transition: all .25s var(--ease);
  text-decoration: none; cursor: pointer;
}
.is-automation-hub-page .btn-fire:hover {
  background: var(--fire2); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240,98,12,.35);
}

/* ── H1 span variants ────────────────────────────────────────── */
.is-automation-hub-page .h1-dim {
  display: block; font-style: italic; font-weight: 300;
  color: rgba(255,255,255,.45); margin-bottom: 4px;
  font-size: .82em;
}
.is-automation-hub-page .h1-white { color: #fff; font-weight: 800; display: inline; }
.is-automation-hub-page .h1-fire  { color: var(--fire); font-weight: 800; display: inline; }
.is-automation-hub-page .h1-underline {
  display: block; color: #fff; font-weight: 800;
  position: relative; padding-bottom: 6px; margin-top: 4px;
}
.is-automation-hub-page .h1-underline::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--fire), rgba(240,98,12,0));
  border-radius: 2px;
  transition: width 1.4s .7s var(--ease);
}
.is-automation-hub-page .h1-underline.drawn::after { width: 100%; }

/* ── Section shared typography ───────────────────────────────── */
.is-automation-hub-page .section-label {
  font-family: var(--ff-body); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--fire); margin: 0 0 10px;
}
.is-automation-hub-page .section-label--light { color: rgba(240,98,12,.85); }

.is-automation-hub-page .hub-section-head {
  text-align: center; margin-bottom: clamp(40px,5vw,60px);
}
.is-automation-hub-page .hub-section-head--dark .hub-h2 { color: #fff; }

.is-automation-hub-page .hub-h2 {
  font-family: var(--ff-head); font-size: clamp(1.75rem,3.5vw,2.5rem);
  font-weight: 800; color: var(--ink); margin: 0 0 16px;
  line-height: 1.2;
}
.is-automation-hub-page .hub-h2--white { color: #fff; }

.is-automation-hub-page .hub-h2-sub {
  font-family: var(--ff-body); font-size: 1.05rem;
  color: var(--text2); max-width: 620px; margin: 0 auto;
  line-height: 1.7;
}

/* ── Scroll-reveal base state ────────────────────────────────── */
.is-automation-hub-page .reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.is-automation-hub-page .reveal-card.is-visible {
  opacity: 1; transform: none;
}
/* stagger inside grids */
.is-automation-hub-page .reveal-grid .reveal-card:nth-child(2) { transition-delay: .08s; }
.is-automation-hub-page .reveal-grid .reveal-card:nth-child(3) { transition-delay: .16s; }
.is-automation-hub-page .reveal-grid .reveal-card:nth-child(4) { transition-delay: .24s; }
.is-automation-hub-page .reveal-grid .reveal-card:nth-child(5) { transition-delay: .32s; }
.is-automation-hub-page .reveal-grid .reveal-card:nth-child(6) { transition-delay: .40s; }
.is-automation-hub-page .reveal-grid .reveal-card:nth-child(7) { transition-delay: .48s; }

/* ════════════════════════════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-hero {
  background: var(--ink);
  padding: clamp(80px,9vw,130px) 0 0;
  overflow: hidden;
  position: relative;
}

/* grid layout */
.is-automation-hub-page .hub-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px,5vw,72px);
  align-items: center;
}

/* ── pill ── */
.is-automation-hub-page .hub-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--fire); background: rgba(240,98,12,.1);
  border: 1px solid rgba(240,98,12,.25);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.is-automation-hub-page .hub-pill svg { flex-shrink: 0; }

/* ── H1 ── */
.is-automation-hub-page .hub-hero__h1 {
  font-family: var(--ff-head);
  font-size: clamp(2rem,4.2vw,3.1rem);
  font-weight: 800; line-height: 1.18;
  margin: 0 0 22px;
}

/* ── sub ── */
.is-automation-hub-page .hub-hero__sub {
  font-family: var(--ff-body); font-size: 1.05rem; font-weight: 400;
  color: rgba(255,255,255,.65); line-height: 1.72;
  margin: 0 0 32px; max-width: 520px;
}

/* ── buttons ── */
.is-automation-hub-page .hub-hero__btns {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 42px;
}

/* ── stats ── */
.is-automation-hub-page .hub-hero__stats {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}
.is-automation-hub-page .hub-stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 24px;
}
.is-automation-hub-page .hub-stat:first-child { padding-left: 0; }
.is-automation-hub-page .hub-stat__num {
  font-family: var(--ff-head); font-size: 1.9rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.is-automation-hub-page .hub-stat__num sup {
  font-size: .55em; vertical-align: super; color: var(--fire);
}
.is-automation-hub-page .hub-stat__amp {
  font-size: .75em; color: var(--fire);
}
.is-automation-hub-page .hub-stat__label {
  font-family: var(--ff-body); font-size: .75rem; color: rgba(255,255,255,.45);
  max-width: 120px; line-height: 1.4;
}
.is-automation-hub-page .hub-stat__div {
  width: 1px; height: 36px;
  background: rgba(255,255,255,.12);
  flex-shrink: 0;
}

/* ── auto-panel ── */
.is-automation-hub-page .hub-hero__panel {
  display: flex; justify-content: center; align-items: flex-start;
}

.is-automation-hub-page .auto-panel {
  background: #111827;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 0;
  width: 100%; max-width: 440px;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04);
  overflow: hidden;
}

/* panel header */
.is-automation-hub-page .auto-panel__header {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.03);
}
.is-automation-hub-page .auto-panel__icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,98,12,.15); border-radius: 8px;
  color: var(--fire); flex-shrink: 0;
}
.is-automation-hub-page .auto-panel__title {
  font-family: var(--ff-body); font-size: .82rem; font-weight: 700;
  color: #fff; flex: 1;
}
.is-automation-hub-page .auto-panel__live {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--ff-body); font-size: .65rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  color: #22c55e;
}
.is-automation-hub-page .auto-panel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.8s ease-in-out infinite;
}

/* workflow rows */
.is-automation-hub-page .auto-panel__rows {
  padding: 8px 0;
}
.is-automation-hub-page .auto-panel__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  animation: slideIn .45s var(--ease) both;
}
.is-automation-hub-page .auto-panel__row--1 { animation-delay: .15s; }
.is-automation-hub-page .auto-panel__row--2 { animation-delay: .28s; }
.is-automation-hub-page .auto-panel__row--3 { animation-delay: .41s; }
.is-automation-hub-page .auto-panel__row:last-child { border-bottom: none; }

.is-automation-hub-page .auto-panel__row-left {
  display: flex; flex-direction: column; gap: 4px;
}
.is-automation-hub-page .auto-panel__wf-name {
  font-family: var(--ff-body); font-size: .82rem; font-weight: 700; color: #fff;
}
.is-automation-hub-page .auto-panel__trigger {
  font-family: var(--ff-body); font-size: .7rem; color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06); border-radius: 4px;
  padding: 2px 7px; display: inline-block;
}

.is-automation-hub-page .auto-panel__row-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.is-automation-hub-page .auto-panel__badge {
  font-family: var(--ff-body); font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 999px;
}
.is-automation-hub-page .auto-panel__badge--running {
  background: rgba(34,197,94,.15); color: #22c55e;
  border: 1px solid rgba(34,197,94,.25);
}
.is-automation-hub-page .auto-panel__tasks {
  font-family: var(--ff-body); font-size: .7rem; color: rgba(255,255,255,.35);
}

/* summary row */
.is-automation-hub-page .auto-panel__summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(240,98,12,.06);
  border-top: 1px solid rgba(240,98,12,.15);
}
.is-automation-hub-page .auto-panel__summary-label {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 600;
  color: rgba(255,255,255,.6);
}
.is-automation-hub-page .auto-panel__summary-badge {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 800;
  color: var(--fire); background: rgba(240,98,12,.14);
  border: 1px solid rgba(240,98,12,.3);
  padding: 4px 12px; border-radius: 999px;
}

/* ── ticker ── */
.is-automation-hub-page .hub-ticker {
  margin-top: clamp(48px,6vw,72px);
  background: rgba(240,98,12,.08);
  border-top: 1px solid rgba(240,98,12,.18);
  border-bottom: 1px solid rgba(240,98,12,.18);
  padding: 13px 0;
  overflow: hidden;
}
.is-automation-hub-page .hub-ticker__track { display: flex; }
.is-automation-hub-page .hub-ticker__inner {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  animation: tickerRun 28s linear infinite;
  display: inline-block;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 2 — WHAT IS AUTOMATION
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-what__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.is-automation-hub-page .hub-what__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 32px 28px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.is-automation-hub-page .hub-what__card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.09);
  transform: translateY(-4px);
}

.is-automation-hub-page .hub-what__card-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px; margin-bottom: 18px; flex-shrink: 0;
}
.is-automation-hub-page .hub-what__card-icon--before {
  background: rgba(239,68,68,.1); color: #ef4444;
}
.is-automation-hub-page .hub-what__card-icon--after {
  background: rgba(34,197,94,.1); color: #22c55e;
}
.is-automation-hub-page .hub-what__card-icon--result {
  background: rgba(240,98,12,.1); color: var(--fire);
}

.is-automation-hub-page .hub-what__card-title {
  font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700;
  color: var(--ink); margin: 0 0 16px;
}

.is-automation-hub-page .hub-what__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.is-automation-hub-page .hub-what__list li {
  font-family: var(--ff-body); font-size: .88rem;
  color: var(--text); line-height: 1.5;
  padding-left: 18px; position: relative;
}
.is-automation-hub-page .hub-what__list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
}
.is-automation-hub-page .hub-what__list--before li::before { background: #ef4444; }
.is-automation-hub-page .hub-what__list--after  li::before { background: #22c55e; }

.is-automation-hub-page .hub-what__result-text {
  font-family: var(--ff-body); font-size: .92rem;
  color: var(--text); line-height: 1.7; margin: 0 0 22px;
}
.is-automation-hub-page .hub-what__cta {
  font-family: var(--ff-body); font-size: .88rem; font-weight: 700;
  color: var(--fire); text-decoration: none;
  transition: gap .2s var(--ease);
}
.is-automation-hub-page .hub-what__cta:hover { color: var(--fire2); }

/* ════════════════════════════════════════════════════════════════
   SECTION 3 — SERVICES
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.is-automation-hub-page .hub-svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 30px 26px;
  position: relative;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.is-automation-hub-page .hub-svc-card::before {
  content: '';
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--fire);
  transform: scaleY(0); transform-origin: top;
  transition: transform .28s var(--ease);
  border-radius: 2px 0 0 2px;
}
.is-automation-hub-page .hub-svc-card:hover {
  box-shadow: 0 14px 40px rgba(0,0,0,.1);
  transform: translateY(-5px);
  border-color: rgba(240,98,12,.2);
}
.is-automation-hub-page .hub-svc-card:hover::before { transform: scaleY(1); }

/* badge */
.is-automation-hub-page .hub-svc-card__badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--ff-body); font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--fire); background: rgba(240,98,12,.09);
  border: 1px solid rgba(240,98,12,.2);
  padding: 3px 9px; border-radius: 999px;
}

/* icon box */
.is-automation-hub-page .hub-svc-card__icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,98,12,.09); color: var(--fire);
  border-radius: 12px; margin-bottom: 16px;
}

.is-automation-hub-page .hub-svc-card__title {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); margin: 0 0 10px;
}
.is-automation-hub-page .hub-svc-card__desc {
  font-family: var(--ff-body); font-size: .88rem;
  color: var(--text2); line-height: 1.6; margin: 0 0 18px;
}
.is-automation-hub-page .hub-svc-card__link {
  font-family: var(--ff-body); font-size: .85rem; font-weight: 700;
  color: var(--fire); text-decoration: none;
  transition: color .2s var(--ease);
}
.is-automation-hub-page .hub-svc-card__link:hover { color: var(--fire2); }

/* AdSense container */
.is-automation-hub-page .hub-adsense {
  margin: 10px 0 0;
  min-height: 90px;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 4 — HOW I BUILD AUTOMATIONS
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: flex-start;
  gap: 0;
}

.is-automation-hub-page .hub-process__step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 32px 26px;
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
}
.is-automation-hub-page .hub-process__step:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.09);
  transform: translateY(-4px);
}

.is-automation-hub-page .hub-process__connector {
  align-self: flex-start;
  margin-top: 42px;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, rgba(240,98,12,.4), rgba(240,98,12,.15));
  position: relative; flex-shrink: 0;
}
.is-automation-hub-page .hub-process__connector::after {
  content: '';
  position: absolute; right: -1px; top: -4px;
  border: 5px solid transparent;
  border-left-color: rgba(240,98,12,.5);
}

.is-automation-hub-page .hub-process__num {
  font-family: var(--ff-head); font-size: 2.4rem; font-weight: 900;
  color: rgba(240,98,12,.12); line-height: 1;
  margin-bottom: 14px;
}
.is-automation-hub-page .hub-process__title {
  font-family: var(--ff-head); font-size: 1.05rem; font-weight: 700;
  color: var(--ink); margin: 0 0 10px;
}
.is-automation-hub-page .hub-process__desc {
  font-family: var(--ff-body); font-size: .87rem;
  color: var(--text2); line-height: 1.65; margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 5 — TOOLS
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-tools__grid {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center;
  margin-bottom: 28px;
}

.is-automation-hub-page .hub-tool-chip {
  display: inline-block;
  font-family: var(--ff-body); font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  padding: 9px 18px; border-radius: 999px;
  cursor: default;
  transition: all .22s var(--ease);
}
.is-automation-hub-page .hub-tool-chip:hover {
  color: var(--fire);
  border-color: rgba(240,98,12,.45);
  background: rgba(240,98,12,.08);
  transform: translateY(-2px);
}

.is-automation-hub-page .hub-tools__note {
  text-align: center;
  font-family: var(--ff-body); font-size: .88rem;
  color: rgba(255,255,255,.4); margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 6 — WHO THIS IS FOR
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-who__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.is-automation-hub-page .hub-who__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 28px 22px;
  border-top: 3px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.is-automation-hub-page .hub-who__card:hover {
  border-top-color: var(--fire);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
  transform: translateY(-4px);
}

.is-automation-hub-page .hub-who__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(240,98,12,.09); color: var(--fire);
  border-radius: 10px; margin-bottom: 16px;
}
.is-automation-hub-page .hub-who__title {
  font-family: var(--ff-head); font-size: .98rem; font-weight: 700;
  color: var(--ink); margin: 0 0 10px;
}
.is-automation-hub-page .hub-who__desc {
  font-family: var(--ff-body); font-size: .85rem;
  color: var(--text2); line-height: 1.6; margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   SECTION 7 — FAQ
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-faq__list {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}

.is-automation-hub-page .hub-faq__item {
  border-bottom: 1px solid var(--line);
}
.is-automation-hub-page .hub-faq__item:first-child { border-top: 1px solid var(--line); }

.is-automation-hub-page .hub-faq__q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 20px 4px;
  font-family: var(--ff-body); font-size: .97rem; font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.is-automation-hub-page .hub-faq__q:hover { color: var(--fire); }
.is-automation-hub-page .hub-faq__q[aria-expanded="true"] { color: var(--fire); }

.is-automation-hub-page .hub-faq__icon {
  flex-shrink: 0; color: currentColor;
  transition: transform .3s var(--ease);
}
.is-automation-hub-page .hub-faq__q[aria-expanded="true"] .hub-faq__icon {
  transform: rotate(180deg);
}

.is-automation-hub-page .hub-faq__a {
  padding: 0 4px 20px;
}
.is-automation-hub-page .hub-faq__a p {
  font-family: var(--ff-body); font-size: .92rem;
  color: var(--text2); line-height: 1.72; margin: 0;
}
/* open state colour accent */
.is-automation-hub-page .hub-faq__item.is-open { background: rgba(240,98,12,.02); }

/* ════════════════════════════════════════════════════════════════
   SECTION 8 — CTA
═══════════════════════════════════════════════════════════════ */
.is-automation-hub-page .hub-cta {
  background: var(--fire);
  padding: clamp(72px,8vw,112px) 0;
  position: relative; overflow: hidden;
}

/* ghost watermark */
.is-automation-hub-page .hub-cta__watermark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--ff-head); font-size: clamp(60px,14vw,160px);
  font-weight: 900; color: rgba(255,255,255,.06);
  white-space: nowrap; pointer-events: none; user-select: none;
  letter-spacing: -.02em;
}

.is-automation-hub-page .hub-cta__inner {
  position: relative; z-index: 1;
}
.is-automation-hub-page .hub-cta__content {
  text-align: center;
  max-width: 680px; margin: 0 auto;
}

.is-automation-hub-page .hub-cta__h2 {
  font-family: var(--ff-head); font-size: clamp(1.65rem,3.5vw,2.4rem);
  font-weight: 800; color: #fff;
  line-height: 1.22; margin: 0 0 18px;
}
.is-automation-hub-page .hub-cta__sub {
  font-family: var(--ff-body); font-size: 1.05rem;
  color: rgba(255,255,255,.78); margin: 0 0 34px;
  line-height: 1.65;
}
.is-automation-hub-page .hub-cta__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: var(--fire);
  font-family: var(--ff-body); font-size: .97rem; font-weight: 700;
  padding: 16px 32px; border-radius: var(--r2);
  text-decoration: none;
  transition: all .25s var(--ease);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.is-automation-hub-page .hub-cta__btn:hover {
  background: var(--ink); color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */

/* 1080px — start compressing process row */
@media (max-width: 1080px) {
  .is-automation-hub-page .hub-process__steps {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .is-automation-hub-page .hub-process__connector {
    display: none;
  }
  .is-automation-hub-page .hub-who__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 960px — hero goes 1-col */
@media (max-width: 960px) {
  .is-automation-hub-page .hub-hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .is-automation-hub-page .hub-hero__copy {
    order: 1;
  }
  .is-automation-hub-page .hub-hero__panel {
    order: 2;
  }
  .is-automation-hub-page .hub-hero__btns {
    justify-content: center;
  }
  .is-automation-hub-page .hub-hero__h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }
  .is-automation-hub-page .hub-hero__sub {
    max-width: 100%;
    margin-left: auto; margin-right: auto;
  }
  .is-automation-hub-page .hub-hero__stats {
    justify-content: center;
  }
  .is-automation-hub-page .hub-stat:first-child { padding-left: 24px; }
  .is-automation-hub-page .h1-underline::after {
    left: 50%; transform: translateX(-50%);
  }
  .is-automation-hub-page .hub-what__grid {
    grid-template-columns: 1fr;
  }
}

/* 768px — services 2-col */
@media (max-width: 768px) {
  .is-automation-hub-page .hub-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .is-automation-hub-page .hub-process__steps {
    grid-template-columns: 1fr;
  }
  .is-automation-hub-page .hub-who__grid {
    grid-template-columns: 1fr 1fr;
  }
  .is-automation-hub-page .hub-h2 {
    font-size: 1.6rem;
  }
}

/* 520px — single column everything */
@media (max-width: 520px) {
  .is-automation-hub-page .hub-services__grid {
    grid-template-columns: 1fr;
  }
  .is-automation-hub-page .hub-who__grid {
    grid-template-columns: 1fr;
  }
  .is-automation-hub-page .hub-hero__stats {
    flex-direction: column; align-items: center; gap: 16px;
  }
  .is-automation-hub-page .hub-stat__div { width: 40px; height: 1px; }
  .is-automation-hub-page .hub-stat { padding: 0; text-align: center; }
  .is-automation-hub-page .hub-stat:first-child { padding-left: 0; }
  .is-automation-hub-page .hub-stat__label { max-width: 200px; }
  .is-automation-hub-page .auto-panel { max-width: 100%; }
  .is-automation-hub-page .hub-cta__btn {
    width: 100%; justify-content: center;
  }
  .is-automation-hub-page .hub-hero__btns {
    flex-direction: column; align-items: stretch;
  }
  .is-automation-hub-page .hub-hero__btns .btn-fire,
  .is-automation-hub-page .hub-hero__btns .btn-ghost {
    justify-content: center;
  }
}
