/* Top Sydney Cleaners - Services Hub (Master Services Redesign).
 * Page-scoped: every selector is qualified by body.tsc-serviceshubv2 so
 * nothing here can leak onto any other page. Built entirely on existing
 * design tokens (--tsc-navy / --tsc-gold / --tsc-space-* / --tsc-radius-* /
 * --tsc-shadow-*) - no new colours, no new fonts. Reuses .tsc-svc /
 * .tsc-related__grid / .tsc-steps / .tsc-areas / .tsc-faq / .tsc-cta-band /
 * .tsc-keylist as-is (service.css) for the 3 category-featured cards and the
 * lower sections; the only genuinely new component here is the compact
 * .tsc-svcgrid card used for the 45 individual sub-service links, and the
 * .tsc-catnav category jump-bar.
 */

/* 1 - Category jump nav ---------------------------------------------------- */
body.tsc-serviceshubv2 .tsc-catnav{
  position:sticky;
  top:var(--tsc-header-h, 60px);
  z-index:20;
  background:var(--tsc-white);
  border-bottom:1px solid var(--tsc-color-border);
  box-shadow:0 1px 0 rgba(14,42,71,.04);
}
body.tsc-serviceshubv2 .tsc-catnav__inner{
  display:flex;
  align-items:center;
  gap:14px;
  padding-block:12px;
  overflow-x:auto;
  scrollbar-width:none;
}
body.tsc-serviceshubv2 .tsc-catnav__inner::-webkit-scrollbar{ display:none; }
body.tsc-serviceshubv2 .tsc-catnav__label{
  flex:none;
  font-size:.76rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--tsc-color-text-muted);
}
body.tsc-serviceshubv2 .tsc-catnav__list{
  display:flex;
  align-items:center;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
}
body.tsc-serviceshubv2 .tsc-catnav__list li{ flex:none; }
body.tsc-serviceshubv2 .tsc-catnav__link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 16px;
  border-radius:var(--tsc-radius-pill);
  border:1px solid var(--tsc-color-border);
  background:var(--tsc-color-surface);
  color:var(--tsc-navy);
  font-size:.86rem;
  font-weight:600;
  text-decoration:none;
  white-space:nowrap;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}
body.tsc-serviceshubv2 .tsc-catnav__link svg{ width:16px; height:16px; color:var(--tsc-gold-600); }
body.tsc-serviceshubv2 .tsc-catnav__link:hover{ border-color:var(--tsc-gold); }
body.tsc-serviceshubv2 .tsc-catnav__link:focus-visible{ outline:2px solid var(--tsc-navy); outline-offset:2px; }
body.tsc-serviceshubv2 .tsc-catnav__link.is-active{
  background:var(--tsc-navy);
  border-color:var(--tsc-navy);
  color:var(--tsc-white);
}
body.tsc-serviceshubv2 .tsc-catnav__link.is-active svg{ color:var(--tsc-gold); }

/* 2 - Category section header ----------------------------------------------- */
body.tsc-serviceshubv2 .tsc-catsec{
  padding-block:clamp(40px,5vw,64px) 0;
  scroll-margin-top:calc(var(--tsc-header-h, 60px) + 64px);
}
body.tsc-serviceshubv2 .tsc-catsec__head{ max-width:46rem; margin-bottom:clamp(24px,3vw,32px); }
body.tsc-serviceshubv2 .tsc-catsec__featured{ margin-bottom:clamp(20px,2.6vw,28px); }
body.tsc-serviceshubv2 .tsc-catsec__featured.tsc-related__grid{ grid-template-columns:1fr; max-width:640px; }

/* 3 - Compact sub-service grid (the 45 real services) ----------------------- */
body.tsc-serviceshubv2 .tsc-svcgrid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));
  gap:14px;
  padding-bottom:clamp(40px,5vw,64px);
}
body.tsc-serviceshubv2 .tsc-svcgrid__card{
  display:flex;
  flex-direction:column;
  background:var(--tsc-color-surface);
  border:1px solid var(--tsc-color-border);
  border-radius:var(--tsc-radius-lg);
  overflow:hidden;
  text-decoration:none;
  box-shadow:var(--tsc-shadow-xs);
  transition:transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s cubic-bezier(.22,1,.36,1), border-color .2s cubic-bezier(.22,1,.36,1);
}
body.tsc-serviceshubv2 .tsc-svcgrid__card:hover,
body.tsc-serviceshubv2 .tsc-svcgrid__card:focus-visible{
  transform:translateY(-4px);
  box-shadow:var(--tsc-shadow-md);
  border-color:var(--tsc-gold);
}
body.tsc-serviceshubv2 .tsc-svcgrid__card:focus-visible{ outline:2px solid var(--tsc-navy); outline-offset:2px; }
body.tsc-serviceshubv2 .tsc-svcgrid__media{
  display:block;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:var(--tsc-navy-050);
}
body.tsc-serviceshubv2 .tsc-svcgrid__media img{
  width:100%; height:100%; object-fit:cover; object-position:center 20%; display:block;
  transition:transform .5s cubic-bezier(.22,1,.36,1);
}
body.tsc-serviceshubv2 .tsc-svcgrid__card:hover .tsc-svcgrid__media img{ transform:scale(1.06); }
body.tsc-serviceshubv2 .tsc-svcgrid__body{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 16px 16px;
}
body.tsc-serviceshubv2 .tsc-svcgrid__ico{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:26px; height:26px;
  margin-bottom:4px;
  border-radius:8px;
  background:var(--tsc-navy-050);
  color:var(--tsc-navy);
}
body.tsc-serviceshubv2 .tsc-svcgrid__ico svg{ width:14px; height:14px; }
body.tsc-serviceshubv2 .tsc-svcgrid__title{
  font-size:.92rem;
  font-weight:700;
  color:var(--tsc-navy);
  line-height:1.3;
}
body.tsc-serviceshubv2 .tsc-svcgrid__text{
  font-size:.78rem;
  line-height:1.45;
  color:var(--tsc-color-text-muted);
}
body.tsc-serviceshubv2 .tsc-svcgrid__link{
  margin-top:8px;
  display:inline-flex;
  align-items:center;
  gap:.35em;
  font-size:.78rem;
  font-weight:700;
  color:var(--tsc-gold-600);
}
body.tsc-serviceshubv2 .tsc-svcgrid__link svg{ width:13px; height:13px; transition:transform .15s ease; }
body.tsc-serviceshubv2 .tsc-svcgrid__card:hover .tsc-svcgrid__link svg{ transform:translateX(3px); }

/* 4 - Why choose us (two-column) --------------------------------------------- */
body.tsc-serviceshubv2 .tsc-hub-why__inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:clamp(28px,4vw,56px);
  align-items:center;
}
body.tsc-serviceshubv2 .tsc-hub-why__inner .tsc-keylist{
  background:var(--tsc-white);
  border:1px solid var(--tsc-color-border);
  border-radius:var(--tsc-radius-lg);
  padding:clamp(18px,2.4vw,26px);
  box-shadow:var(--tsc-shadow-sm);
}

/* 5 - Responsive ------------------------------------------------------------- */
@media (max-width:900px){
  body.tsc-serviceshubv2 .tsc-hub-why__inner{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  body.tsc-serviceshubv2 .tsc-svcgrid{ grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:10px; }
  body.tsc-serviceshubv2 .tsc-svcgrid__body{ padding:10px 12px 12px; }
  body.tsc-serviceshubv2 .tsc-svcgrid__title{ font-size:.86rem; }
  body.tsc-serviceshubv2 .tsc-svcgrid__text{ display:none; } /* keep mobile cards compact/scannable */
  body.tsc-serviceshubv2 .tsc-catnav__label{ display:none; }
}

/* 6 - Reduced motion ---------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  body.tsc-serviceshubv2 .tsc-svcgrid__card,
  body.tsc-serviceshubv2 .tsc-svcgrid__media img,
  body.tsc-serviceshubv2 .tsc-svcgrid__link svg,
  body.tsc-serviceshubv2 .tsc-catnav__link{ transition:none !important; }
  body.tsc-serviceshubv2 .tsc-svcgrid__card:hover{ transform:none !important; }
  html{ scroll-behavior:auto !important; }
}

/* 7 - Smooth in-page anchor scrolling (category nav) -------------------------- */
body.tsc-serviceshubv2{ scroll-behavior:smooth; }
