/* ═══════════════════════════════════════════════════════════════
   INNER PAGE — shared styles for category hub & service pages
   (Home page keeps its existing section CSS untouched)
═══════════════════════════════════════════════════════════════ */

/* ── Page hero band (breadcrumb + title) ─────────────────────── */
.page-hero {
  background: var(--sys-navy, #1a2b4a);
  padding: 9rem 0 3.5rem;
}
.page-hero .eyebrow { color: var(--sys-gold, #c9a452); }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .breadcrumb-nav {
  font-size: .78rem;
  color: rgba(255, 255, 255, .38);
  letter-spacing: .02em;
}
.page-hero .breadcrumb-nav a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
}
.page-hero .breadcrumb-nav a:hover { color: var(--sys-gold, #c9a452); }
.page-hero .breadcrumb-nav .sep { margin: 0 .5rem; color: rgba(255, 255, 255, .2); }
.page-hero-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 164, 82, .3);
  background: rgba(201, 164, 82, .06);
  margin-bottom: 1.5rem;
}
.page-hero-icon svg { width: 40px; height: 40px; }

/* ── Category hub intro strip ─────────────────────────────────── */
.hub-intro {
  color: var(--sys-muted-dark, rgba(26, 43, 74, .55));
  max-width: 720px;
  font-weight: 300;
  line-height: 1.9;
}

/* ── Hub service grid cards ───────────────────────────────────── */
.hub-svc-card {
  display: block;
  height: 100%;
  padding: 0 0 1.75rem;
  background: var(--sys-white, #fff);
  border: 1px solid var(--sys-border, rgba(201, 164, 82, .15));
  text-decoration: none;
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
  overflow: hidden;
}
.hub-svc-card .card-banner {
  height: 190px;
  overflow: hidden;
  background: #16233d;
  margin-bottom: 1.25rem;
}
.hub-svc-card .card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.hub-svc-card:hover .card-banner img { transform: scale(1.05); }

/* ── Icon banner variant — used on hub pages where every card in the grid
   belongs to the same category and a repeated photo would look wrong ──── */
.hub-svc-card .card-banner-icon {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sys-navy, #1a2b4a), #16233d);
  margin-bottom: 1.25rem;
}
.hub-svc-card .card-banner-icon svg { width: 48px; height: 48px; opacity: .9; }

/* ── Full-width photo banner on hub & service pages ─────────────── */
.page-banner-photo {
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #16233d;
}
.page-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767.98px) {
  .page-banner-photo { height: 220px; }
}
.hub-svc-card h3, .hub-svc-card p, .hub-svc-card .hub-svc-arrow { margin-left: 1.75rem; margin-right: 1.75rem; }
.hub-svc-card:hover {
  border-color: var(--sys-gold, #c9a452);
  background: var(--sys-ivory, #f2efe8);
  transform: translateY(-2px);
}
.hub-svc-card h3 {
  color: var(--sys-navy, #1a2b4a);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: .6rem;
}
.hub-svc-card p {
  color: var(--sys-muted-dark, rgba(26, 43, 74, .55));
  font-size: .85rem;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 0;
}
.hub-svc-card .hub-svc-arrow {
  display: inline-block;
  margin-top: .9rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sys-gold, #c9a452);
  font-weight: 600;
}

/* ── Service page body ────────────────────────────────────────── */
.content-lead {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--sys-muted-dark, rgba(26, 43, 74, .55));
  margin-bottom: 2.5rem;
}
.whats-included {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.whats-included li {
  position: relative;
  padding: .9rem 0 .9rem 1.75rem;
  border-top: 1px solid var(--sys-border, rgba(201, 164, 82, .15));
  color: var(--sys-navy, #1a2b4a);
  font-size: .95rem;
  font-weight: 400;
  line-height: 1.6;
}
.whats-included li:last-child { border-bottom: 1px solid var(--sys-border, rgba(201, 164, 82, .15)); }
.whats-included li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.35rem;
  width: 8px; height: 1px;
  background: var(--sys-gold, #c9a452);
}

/* ── Sidebar CTA card ──────────────────────────────────────────── */
.side-cta {
  background: var(--sys-navy, #1a2b4a);
  border-left: 3px solid var(--sys-gold, #c9a452);
  padding: 2rem;
  margin-bottom: 2rem;
}
.side-cta h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: .75rem;
}
.side-cta p {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.side-cta .side-contact {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
}
.side-cta .side-contact div { color: rgba(255, 255, 255, .65); margin-bottom: .5rem; }
.side-cta .side-contact a { color: #fff; text-decoration: none; }
.side-cta .side-contact a:hover { color: var(--sys-gold, #c9a452); }

/* ── Related services list ────────────────────────────────────── */
.related-box {
  border: 1px solid var(--sys-border, rgba(201, 164, 82, .15));
  padding: 1.75rem;
}
.related-box h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sys-gold-dim, #a07830);
  font-weight: 700;
  margin-bottom: 1rem;
}
.related-box ul { list-style: none; padding: 0; margin: 0; }
.related-box li {
  border-top: 1px solid var(--sys-border, rgba(201, 164, 82, .15));
}
.related-box li:first-child { border-top: none; }
.related-box a {
  display: block;
  padding: .7rem 0;
  color: var(--sys-navy, #1a2b4a);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
}
.related-box a:hover { color: var(--sys-gold-dim, #a07830); }
.related-box a.current { color: var(--sys-gold, #c9a452); font-weight: 700; }

/* ── Closing CTA banner ───────────────────────────────────────── */
.cta-banner {
  background: var(--sys-navy, #1a2b4a);
  text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, .5); max-width: 560px; margin: 0 auto 2rem; }

/* ── Nav dropdown (Services mega menu) ────────────────────────── */
.bba-nav .dropdown-menu {
  background: var(--sys-navy, #1a2b4a);
  border: 1px solid var(--sys-border, rgba(201, 164, 82, .2));
  border-radius: 0;
  padding: .5rem 0;
  min-width: 240px;
}
.bba-nav .dropdown-item {
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
  padding: .6rem 1.25rem;
}
.bba-nav .dropdown-item:hover,
.bba-nav .dropdown-item:focus {
  background: rgba(201, 164, 82, .1);
  color: var(--sys-gold, #c9a452);
}
.bba-nav.scrolled .dropdown-menu {
  background: #fff;
  border-color: var(--sys-border, rgba(201, 164, 82, .2));
}
.bba-nav.scrolled .dropdown-item { color: var(--sys-navy, #1a2b4a); }
.bba-nav.scrolled .dropdown-item:hover { background: var(--sys-ivory, #f2efe8); color: var(--sys-gold-dim, #a07830); }

/* ── Simple page sections (About / Why Us / Contact) ──────────── */
.simple-section p { color: var(--sys-muted-dark, rgba(26, 43, 74, .55)); line-height: 1.9; font-weight: 300; }
.value-card {
  border-top: 3px solid var(--sys-gold, #c9a452);
  padding: 1.5rem 0 0;
}
.value-card h3 { color: var(--sys-navy, #1a2b4a); font-size: 1.05rem; font-weight: 600; margin-bottom: .6rem; }
.value-card p { font-size: .88rem; }

/* ── Footer (expanded) ─────────────────────────────────────────── */
.site-footer { background: var(--sys-navy-deep, #111e33); border-top: 1px solid var(--sys-border, rgba(201,164,82,.15)); padding: 4rem 0 1.5rem; }
.site-footer h5 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; margin-bottom: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a { color: rgba(255,255,255,.45); text-decoration: none; font-size: .85rem; }
.site-footer a:hover { color: var(--sys-gold, #c9a452); }
.site-footer p { color: rgba(255,255,255,.4); font-size: .85rem; line-height: 1.7; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .72rem;
  color: rgba(255,255,255,.28);
}

@media (max-width: 767.98px) {
  .page-hero { padding: 7rem 0 2.5rem; }
}

/* ── Mobile nav fix: the 146px-tall logo forces ~255px width, pushing the
   hamburger toggle off-screen on narrow viewports. Shrink it below 480px. ── */
@media (max-width: 480px) {
  .bba-nav .brand-logo-w,
  .bba-nav.scrolled .brand-logo-b,
  .bba-nav .navbar-brand:hover .brand-logo-w,
  .bba-nav .navbar-brand:hover .brand-logo-b {
    height: 44px !important;
  }
  .navbar-toggler { padding: .35rem .5rem; background: rgba(0,0,0,.25); }
}

/* ── Shrink the logo once the nav switches to its scrolled (frosted) state ── */
.bba-nav.scrolled .brand-logo-b,
.bba-nav.scrolled .navbar-brand:hover .brand-logo-b {
  height: 64px !important;
  transition: height .3s ease !important;
}
