/* ==========================================================================
   ABLENTRA V15 — service pages (Phases 5-6, 2026-11-08). Linked ONLY on the
   12 pages under /services/ (11 detail pages + hub), AFTER v15-base.css.
   1. D4 (ROOT CAUSE, now V16 F10): <main> used to start with an unstyled
      breadcrumb <nav> followed by .core-group-banner - both sat at document
      top (y=0) under the 64px fixed header, so the banner showed only its
      bottom half. The breadcrumb was DELETED (owner order); the banner/hero
      now carries the header clearance (64px bar + ~18px gap) itself, and
      scroll-margin keeps anchor jumps clear too.
   2. D5 (belt & braces): the gradient band (.bz-band) already used dark
      ink #0E0E0F in the base - verified >=4.5:1 on every stop (see
      phase5-6 report). These rules pin dark ink on the band at the last
      load position so no later stylesheet can reintroduce pale text.
   3. Anchor-nav hardening: .anchor-nav itself is pointer-events:none by
      design (lets clicks pass through its empty strip); its .wrap and
      links re-enable input. Re-asserted here so the sub-nav stays
      clickable whatever else loads.
   ========================================================================== */

/* --- 1. D4 (V16 F10): breadcrumb DELETED (owner order) — the banner/hero is
   now the first content in <main>, so IT carries the fixed-header clearance
   the breadcrumb used to provide, or the banner hides under the 64px bar. */
main#main > .core-group-banner,
main#main > section.page-hero {
  padding-top: calc(64px + 1.1rem);
  scroll-margin-top: 170px;
}

/* --- 2. D5: dark ink pinned on the orange gradient band ------------------ */
main#main section.bz-band h2,
main#main section.bz-band .kicker,
main#main section.bz-band .p2-lede,
main#main section.bz-band .p2-decision,
main#main section.bz-band .p2-decision strong {
  color: #0E0E0F !important;
}
main#main section.bz-band p {
  color: rgba(14, 14, 15, .92) !important;
}

/* --- 3. Anchor-nav stays clickable --------------------------------------- */
.anchor-nav .wrap,
.anchor-nav a {
  pointer-events: auto;
}

/* --- 4. WHITE HERO — owner design change 2026-11-08 -----------------------
   Owner: the black service-page hero "nai sahi lag raha" — service heroes
   go WHITE, simple/professional, Buzz feel (Buzz service pages: white
   pages, huge black type). Homepage hero (video panel) and industry
   heroes are OUT of scope and untouched.
   SCOPE BY FILE: v15-services.css loads ONLY on the 12 pages under
   /services/ (11 detail + hub), so no other page can be affected; industry
   pages never load this sheet and keep their dark heroes.
   SOURCE OF THE DARK HERO: ablentra-signature-redesign.css "VISUAL
   REDESIGN PASS 2" (.page-hero:not(.home-hero), !important, orange radial
   gradients over #0e0e0f + white text + white-glass buttons/captions).
   Every rule below beats it on specificity (main#main ID) + !important +
   later load order.
   KEPT: layout, rounded bottom corners (incl. 26px mobile radius),
   right-side image position/size, caption position/size, CTA colours
   (orange primary, ghost secondary — secondary restored to its base
   ghost look, NOT rebuilt as a solid button).
   TOKENS (existing only): #FFFFFF = var(--surface), #0E0E0F = var(--ink),
   #3F434A = pinned caption ink (D-02 / V15-IND-01, re-asserted below so
   the broad paragraph rule cannot override the IND-01 fix). */
main#main > section.page-hero {
  background: #FFFFFF !important;
  color: #0E0E0F !important;
  border-radius: 0 0 clamp(24px, 3vw, 42px) clamp(24px, 3vw, 42px) !important;
}
main#main > section.page-hero::before {
  display: none !important;
}
@media (max-width: 760px) {
  main#main > section.page-hero {
    border-radius: 0 0 26px 26px !important;
  }
}
/* Headings + word-reveal spans: white -> ink. No service H1 uses <em>/.hl
   today; the rule is defensive so a future accent cannot render orange
   on white below the large-text threshold. */
main#main section.page-hero h1,
main#main section.page-hero h1 .abl-w,
main#main section.page-hero h1 span,
main#main section.page-hero h2,
main#main section.page-hero h3,
main#main section.page-hero .h-display,
main#main section.page-hero .h-section,
main#main section.page-hero .hl,
main#main section.page-hero h1 em {
  color: #0E0E0F !important;
}
/* Body text: lede / microcopy / paragraphs / lists / word-reveal spans. */
main#main section.page-hero .lede,
main#main section.page-hero .microcopy,
main#main section.page-hero p:not(.kicker),
main#main section.page-hero li,
main#main section.page-hero small,
main#main section.page-hero .abl-w {
  color: #0E0E0F !important;
}
/* Eyebrow: orange-on-dark pill -> ink-on-white pill. Base .kicker has no
   background of its own; transparent removes the dark-rule's translucent
   white pill fill. */
main#main section.page-hero .kicker,
main#main section.page-hero .kicker-pill,
main#main section.page-hero .pq-badge {
  color: #0E0E0F !important;
  background: transparent !important;
  border-color: rgba(14, 14, 15, .2) !important;
}
/* Caption strip: re-assert the IND-01 pin (#3F434A on the #E8E5DF strip
   at desktop, on white at <=767px where the figure background is none).
   Placed AFTER the paragraph rule above (same specificity, later wins)
   so the broad p rule cannot override it. Orange <strong> 01/02/03/Note
   is untouched, as in the IND-01 fix. */
main#main section.page-hero .annot-notes,
main#main section.page-hero .annot-notes p {
  color: #3F434A !important;
}
/* Secondary CTA: the dark rule turned .btn-dark into a white-glass button.
   Service heroes use .btn-dark.pq-btn-ghost (ghost secondary) — restore
   its base ghost look (transparent bg, ink text/border). A plain .btn-dark
   (none in service heroes today) is restored to the solid ink button. */
main#main section.page-hero .btn-dark.pq-btn-ghost {
  color: #0E0E0F !important;
  background: transparent !important;
  border-color: #0E0E0F !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
main#main section.page-hero .btn-dark.pq-btn-ghost:hover,
main#main section.page-hero .btn-dark.pq-btn-ghost:focus-visible {
  color: #FFFFFF !important;
  background: #0E0E0F !important;
  border-color: #0E0E0F !important;
}
main#main section.page-hero .btn-dark:not(.pq-btn-ghost) {
  color: #FFFFFF !important;
  background: #0E0E0F !important;
  border-color: #0E0E0F !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
main#main section.page-hero .btn-dark:not(.pq-btn-ghost):hover {
  background: #232327 !important;
}
/* Hero image frame: the dark rule's white border + heavy black/orange
   shadow were drawn for a charcoal panel. On white, use the site's own
   light-page figure tokens (border rgba ink .12, the same soft shadow
   .page-hero-visual/.services-hero-visual already use). */
main#main section.page-hero .page-hero-visual img,
main#main section.page-hero .service-hero-visual img,
main#main section.page-hero .annot-wrap {
  border: 1px solid rgba(14, 14, 15, .12) !important;
  box-shadow: 0 24px 60px -34px rgba(14, 14, 15, .32) !important;
}

/* --- V15-IND-01b FIX 2026-11-08: caption clipped by figure/visual overflow ---
   The white hero left figure.annotated + .page-hero-visual at image-height
   (404px) with overflow:hidden, so figcaption.annot-notes (y 690-765) was
   clipped from paint on all 11 service pages although it computed visible
   (7.91:1). Let both grow to contain the caption; the image keeps its own
   border-radius + .annot-wrap overflow:hidden, so corners stay rounded. */
main#main section.page-hero figure.annotated,
main#main section.page-hero .page-hero-visual,
main#main section.page-hero .service-hero-visual {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}
