/* ============================================================
   Car Care Geek — homepage only (enqueued when is_front_page)
   Module order: hero → process strip → grid → strips → wall → tags
   ============================================================ */

.aa9db1-home { padding-bottom: 70px; }

/* ---------- 1. two-column hero ---------- */
.aa9db1-hero {
  display: grid; grid-template-columns: 1.35fr .95fr; gap: 40px;
  align-items: center;
  padding: 46px 52px;
  margin: 42px 0 50px;
}
.aa9db1-hero-l { min-width: 0; }
.aa9db1-eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--font-head); font-size: 11.5px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: #0b6b6b;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(20, 163, 163, .12); border: 1px solid rgba(20, 163, 163, .3);
}
.aa9db1-hero-h {
  font-size: 50px; line-height: 1.08; letter-spacing: -.03em;
  margin: 0 0 18px;
}
.aa9db1-hero-h em { font-style: normal; color: var(--accent); }
.aa9db1-hero-lead {
  font-size: 18px; color: var(--text-muted); line-height: 1.78; margin: 0; max-width: 34em;
}
.aa9db1-hero-r { padding: 28px 26px; }
.aa9db1-hero-r h3 { font-size: 18px; margin: 0 0 8px; }
.aa9db1-hero-r p { margin: 0 0 18px; font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.aa9db1-subnote {
  margin: 12px 0 0; font-size: 12.5px; color: var(--text-muted);
  font-family: var(--font-head); line-height: 1.6;
}
.aa9db1-herostats {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 24px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.aa9db1-herostats div { font-family: var(--font-head); }
.aa9db1-herostats b { display: block; font-size: 23px; color: var(--accent); letter-spacing: -.02em; }
.aa9db1-herostats span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- 2. process strip (4 steps) ---------- */
.aa9db1-proc { padding: 30px 30px 26px; margin-bottom: 54px; }
.aa9db1-proc-h { margin-bottom: 20px; }
.aa9db1-proc-h h2 { font-size: 22px; margin: 0 0 5px; }
.aa9db1-proc-h p { margin: 0; font-size: 14.5px; color: var(--text-muted); }
.aa9db1-steps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
  counter-reset: aa9db1step;
}
.aa9db1-step {
  position: relative; padding: 20px 18px 18px;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-edge); border-radius: 14px;
  counter-increment: aa9db1step;
}
.aa9db1-step::before {
  content: counter(aa9db1step, decimal-leading-zero);
  display: block; margin-bottom: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  letter-spacing: .08em; color: var(--accent);
}
.aa9db1-step h3 { font-size: 16px; margin: 0 0 7px; }
.aa9db1-step p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.66; }
.aa9db1-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -9px;
  width: 12px; height: 1px; background: rgba(20, 163, 163, .5);
}

/* ---------- 5. image wall (6 tiles) ---------- */
.aa9db1-wall {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px;
}
.aa9db1-wall a {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--glass-edge);
  background: var(--bg-deep); box-shadow: var(--shadow-soft);
}
.aa9db1-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.aa9db1-wall a:hover img { transform: scale(1.07); }
.aa9db1-wall .aa9db1-wcap {
  position: absolute; inset: auto 0 0 0; padding: 22px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(9, 26, 26, .82));
  color: #fff; font-family: var(--font-head); font-size: 12px; font-weight: 600;
  line-height: 1.35;
  opacity: 0; transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.aa9db1-wall a:hover .aa9db1-wcap { opacity: 1; transform: translateY(0); }

/* ---------- 6. tag cloud ---------- */
.aa9db1-tags { padding: 26px 28px; }
.aa9db1-tags .tagcloud { display: flex; flex-wrap: wrap; gap: 9px; }
.aa9db1-tags .tagcloud a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .72); border: 1px solid var(--glass-edge);
  font-family: var(--font-head); font-size: 13px !important; color: var(--text);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.aa9db1-tags .tagcloud a:hover {
  background: var(--accent); color: #fff; border-color: transparent;
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .aa9db1-hero { grid-template-columns: minmax(0, 1fr); padding: 34px 30px; gap: 28px; }
  .aa9db1-hero-h { font-size: 38px; }
  .aa9db1-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa9db1-step:nth-child(2)::after { display: none; }
  .aa9db1-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .aa9db1-hero { padding: 26px 20px; margin: 24px 0 34px; }
  .aa9db1-hero-h { font-size: 30px; }
  .aa9db1-hero-lead { font-size: 16px; }
  .aa9db1-steps { grid-template-columns: minmax(0, 1fr); }
  .aa9db1-step::after { display: none; }
  .aa9db1-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aa9db1-proc { padding: 22px 20px; }
  .aa9db1-tags { padding: 20px 18px; }
}
