/* Building Consultant Pro — marketing frontend
   Consultancy-focused design. Bootstrap 5 + CSS variables. */

:root {
  --bcp-navy: #0b1c2e;
  --bcp-brand: #1a4384;
  --bcp-brand-mid: #2456a0;
  --bcp-sky: #4f8fd9;
  --bcp-gold: #c9a24a;
  --bcp-gold-deep: #a98435;
  --bcp-ink: #152033;
  --bcp-muted: #5a6578;
  --bcp-line: #d8dee8;
  --bcp-paper: #f5f7fb;
  --bcp-mist: #e8eef7;
  --bcp-white: #ffffff;
  --bcp-success: #1f7a4d;
  --bcp-shadow: 0 12px 40px rgba(11, 28, 46, 0.08);
  --bcp-shadow-lg: 0 24px 60px rgba(11, 28, 46, 0.14);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --nav-h: 74px;
  --header-h: var(--nav-h);
  --radius: 0.35rem;
  --radius-lg: 0.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--bcp-ink);
  background: var(--bcp-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bcp-brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--bcp-gold-deep); }

h1, h2, h3, h4, h5, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--bcp-navy);
  line-height: 1.2;
}

.container-narrow { max-width: 720px; }

.legal-content {
  color: var(--bcp-ink, #1a2332);
  font-size: 1.02rem;
  line-height: 1.75;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content h1,
.legal-content h2,
.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-display, inherit);
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--bcp-brand, #1e4d7b);
}

/* —— Fixed header shell —— */
.site-header {
  z-index: 1030;
  background: var(--bcp-white);
  border-bottom: 1px solid var(--bcp-line);
  box-shadow: 0 4px 18px rgba(11, 28, 46, 0.04);
  transition: box-shadow .2s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(11, 28, 46, 0.08);
}

/* —— Navbar —— */
.site-navbar {
  background: var(--bcp-white) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  min-height: var(--nav-h);
  border: 0;
}

.site-navbar .container {
  min-height: var(--nav-h);
  position: relative;
}

.site-navbar .navbar-brand {
  margin-right: 1rem;
}

.site-navbar .navbar-brand img {
  height: 52px;
  width: auto;
}

.site-navbar .nav-link {
  color: var(--bcp-ink);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.45rem 0.8rem !important;
  position: relative;
  line-height: 1.2;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--bcp-brand);
}

.site-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--bcp-gold);
}

.site-navbar .btn-gold {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.4rem 0.95rem !important;
  line-height: 1.2;
  white-space: nowrap;
}

.navbar-toggler {
  border: 1px solid var(--bcp-line);
  padding: 0.3rem 0.45rem;
  font-size: 0.95rem;
}

.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 991.98px) {
  .site-navbar .navbar-collapse {
    background: var(--bcp-white);
    border-top: 1px solid var(--bcp-line);
    margin: 0 -0.75rem;
    padding: 0.65rem 0.75rem 0.85rem;
  }
}

.dropdown-menu {
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--bcp-shadow);
  padding: 0.5rem;
  min-width: 280px;
}

.dropdown-item {
  border-radius: var(--radius);
  font-weight: 550;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--bcp-mist);
  color: var(--bcp-brand);
}

.dropdown-item i { color: var(--bcp-brand); width: 1.25rem; }

/* —— Services mega menu —— */
.services-mega-menu {
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  margin: 0.35rem 0 0;
  padding: 1.35rem;
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 48px rgba(11, 28, 46, 0.12);
  background: var(--bcp-white);
}

.mega-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--bcp-ink);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.mega-lead {
  color: var(--bcp-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.25rem;
  max-width: 18rem;
}

.mega-quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 168px;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.mega-quote-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(160deg, rgba(11, 28, 46, 0.35) 0%, rgba(11, 28, 46, 0.82) 100%);
  transition: background .3s var(--ease);
}

.mega-quote-card:hover {
  color: #fff;
}

.mega-quote-card:hover::before {
  background: linear-gradient(160deg, rgba(26, 67, 132, 0.45) 0%, rgba(11, 28, 46, 0.88) 100%);
}

.mega-quote-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
}

.mega-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  background: var(--bcp-brand);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius);
  transition: background .25s var(--ease);
}

.mega-quote-card:hover .mega-quote-btn {
  background: var(--bcp-gold);
  color: var(--bcp-navy);
}

.mega-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.mega-service-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem 0.55rem 0.55rem;
  border-radius: var(--radius-lg);
  background: var(--bcp-white);
  border: 1px solid var(--bcp-line);
  box-shadow: 0 6px 18px rgba(11, 28, 46, 0.05);
  color: var(--bcp-ink);
  text-decoration: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}

.mega-service-link:hover,
.mega-service-link:focus {
  color: var(--bcp-brand);
  border-color: rgba(26, 67, 132, 0.28);
  box-shadow: 0 10px 24px rgba(11, 28, 46, 0.1);
  transform: translateY(-1px);
}

.mega-service-thumb {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 0.45rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bcp-mist);
}

.mega-service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}

.mega-service-link:hover .mega-service-thumb img {
  transform: scale(1.06);
}

.mega-service-thumb--all {
  display: grid;
  place-items: center;
  color: var(--bcp-brand);
  font-size: 1.15rem;
}

.mega-service-title {
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
}

.mega-service-arrow {
  color: var(--bcp-brand);
  font-size: 0.95rem;
  transition: transform .2s var(--ease);
}

.mega-service-link:hover .mega-service-arrow {
  transform: translateX(3px);
}

.mega-service-link--all {
  background: var(--bcp-mist);
  border-color: transparent;
}

@media (min-width: 768px) {
  .mega-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .services-mega-menu {
    padding: 1.6rem 1.5rem 1.75rem;
  }

  .mega-services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1rem;
  }

  .mega-lead {
    max-width: none;
  }
}

@media (max-width: 991.98px) {
  .services-mega-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin: 0.35rem 0 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0.35rem 0 0.5rem;
    min-width: 0;
  }

  .mega-intro {
    padding-bottom: 0.25rem;
  }

  .mega-quote-card {
    min-height: 140px;
  }
}

/* —— Buttons —— */
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius);
  padding: 0.7rem 1.35rem;
  letter-spacing: 0.01em;
}

.btn-bcp {
  background: var(--bcp-brand);
  border-color: var(--bcp-brand);
  color: #fff;
}

.btn-bcp:hover,
.btn-bcp:focus {
  background: var(--bcp-brand-mid);
  border-color: var(--bcp-brand-mid);
  color: #fff;
}

.btn-gold {
  background: var(--bcp-gold);
  border-color: var(--bcp-gold);
  color: var(--bcp-navy);
}

.btn-gold:hover,
.btn-gold:focus {
  background: var(--bcp-gold-deep);
  border-color: var(--bcp-gold-deep);
  color: #fff;
}

.btn-outline-bcp {
  border: 1.5px solid rgba(255,255,255,.75);
  color: #fff;
  background: transparent;
}

.btn-outline-bcp:hover {
  background: #fff;
  color: var(--bcp-navy);
  border-color: #fff;
}

.btn-outline-ink {
  border: 1.5px solid var(--bcp-navy);
  color: var(--bcp-navy);
  background: transparent;
}

.btn-outline-ink:hover {
  background: var(--bcp-navy);
  color: #fff;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.btn-whatsapp:hover { background: #1ebe57; border-color: #1ebe57; color: #fff; }

/* —— Hero slider —— */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
}

.hero-slide {
  position: relative;
  min-height: min(66vh, 580px);
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 7.5s ease-out;
  will-change: transform;
}

.carousel-item.active .hero-media img {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(11,28,46,.92) 0%, rgba(11,28,46,.62) 42%, rgba(11,28,46,.28) 72%, rgba(11,28,46,.18) 100%),
    linear-gradient(to top, rgba(11,28,46,.82) 0%, transparent 48%);
  z-index: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(rgba(255,255,255,.35) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 0 4.25rem;
}

.hero-copy {
  position: relative;
  max-width: 36rem;
  padding-left: 1.15rem;
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--bcp-gold) 0%, rgba(201,162,74,.25) 100%);
}

.hero-index {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bcp-gold);
  margin-bottom: 0.85rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.15rem);
  max-width: 18ch;
  margin: 0 0 0.9rem;
  text-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.hero h1 em {
  font-style: italic;
  color: var(--bcp-gold);
  font-weight: 500;
}

.hero-lead {
  max-width: 38ch;
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  margin: 0 0 1.65rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero-actions .btn {
  min-width: 9.5rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.hero-actions .btn-outline-bcp {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.06);
}

.hero-actions .btn-outline-bcp:hover {
  background: #fff;
}

/* Content entrance on active slide */
.hero-copy > * {
  opacity: 0;
  transform: translateY(18px);
}

.carousel-item.active .hero-copy > * {
  animation: heroCopyIn .75s var(--ease) forwards;
}

.carousel-item.active .hero-copy > *:nth-child(1) { animation-delay: .08s; }
.carousel-item.active .hero-copy > *:nth-child(2) { animation-delay: .18s; }
.carousel-item.active .hero-copy > *:nth-child(3) { animation-delay: .28s; }
.carousel-item.active .hero-copy > *:nth-child(4) { animation-delay: .38s; }

@keyframes heroCopyIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-slider .carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease;
  transform: none;
}

.hero-slider .carousel-fade .carousel-item.active {
  opacity: 1;
  z-index: 1;
}

/* Progress-style indicators */
.hero-slider .hero-indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.15rem;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  z-index: 5;
}

.hero-slider .hero-indicators [data-bs-target] {
  width: 2.4rem;
  height: 3px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255,255,255,.28);
  opacity: 1;
  position: relative;
  overflow: hidden;
  text-indent: -9999px;
}

.hero-slider .hero-indicators .hero-indicator-bar {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--bcp-gold);
  border-radius: inherit;
}

.hero-slider .hero-indicators .active .hero-indicator-bar {
  width: 100%;
  animation: heroProgress 7s linear forwards;
}

@keyframes heroProgress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: 4.5rem;
  opacity: 1;
  z-index: 4;
}

.hero-control {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  font-size: 1.05rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}

.hero-slider .carousel-control-prev:hover .hero-control,
.hero-slider .carousel-control-next:hover .hero-control,
.hero-slider .carousel-control-prev:focus .hero-control,
.hero-slider .carousel-control-next:focus .hero-control {
  background: var(--bcp-gold);
  border-color: var(--bcp-gold);
  color: var(--bcp-navy);
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .hero-slider .carousel-control-prev,
  .hero-slider .carousel-control-next {
    display: none;
  }
  .hero-copy {
    padding-left: 0.9rem;
  }
  .hero-inner {
    padding-bottom: 3.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img,
  .carousel-item.active .hero-media img {
    transform: none;
    transition: none;
  }
  .carousel-item.active .hero-copy > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero-slider .hero-indicators .active .hero-indicator-bar {
    animation: none;
    width: 100%;
  }
}

/* —— Sections —— */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-paper { background: var(--bcp-white); }
.section-mist { background: var(--bcp-white); }
.section-navy {
  background: linear-gradient(135deg, var(--bcp-navy) 0%, #143456 100%);
  color: rgba(255,255,255,.88);
}
.section-navy h2,
.section-navy h3 { color: #fff; }

.section-cta {
  background: linear-gradient(125deg, var(--bcp-navy) 0%, var(--bcp-brand) 58%, #2456a0 100%);
  color: rgba(255,255,255,.88);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(201,162,74,.22), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(79,143,217,.18), transparent 40%);
  pointer-events: none;
}

.section-cta .container { position: relative; z-index: 1; }

.section-cta .section-title { color: #fff; }

.section-cta .section-lead { color: rgba(255,255,255,.8); }

.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bcp-gold-deep);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  margin-bottom: 0.85rem;
}

.section-lead {
  color: var(--bcp-muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.link-gold {
  color: var(--bcp-gold-deep);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.link-gold:hover {
  color: var(--bcp-brand);
}

.section-navy .section-lead { color: rgba(255,255,255,.75); }

/* —— Service cards —— */
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bcp-white);
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(11, 28, 46, 0.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bcp-shadow-lg);
  border-color: transparent;
  color: inherit;
}

.service-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bcp-mist);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.07);
}

.service-card-arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bcp-gold);
  color: var(--bcp-navy);
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(11, 28, 46, 0.18);
  transition: background .25s var(--ease), transform .25s var(--ease);
}

.service-card:hover .service-card-arrow {
  background: var(--bcp-brand);
  color: #fff;
  transform: translateX(2px);
}

.service-card-body {
  padding: 1.05rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bcp-navy);
  margin: 0;
  line-height: 1.3;
}

.service-card-desc {
  margin: 0;
  color: var(--bcp-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* —— Project cards (hover reveal) —— */
.project-card {
  position: relative;
  display: block;
  width: 100%;
  height: min(52vh, 420px);
  min-height: 320px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  text-align: left;
  text-decoration: none;
  isolation: isolate;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(11, 28, 46, 0.1);
  background: var(--bcp-navy);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.project-card:hover img,
.project-card:focus-visible img {
  transform: scale(1.06);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(11, 28, 46, 0.88) 0%, rgba(11, 28, 46, 0.35) 38%, transparent 62%);
  transition: background .45s var(--ease);
}

.project-card:hover .project-card-overlay,
.project-card:focus-visible .project-card-overlay {
  background: linear-gradient(160deg, rgba(11, 28, 46, 0.82) 0%, rgba(11, 28, 46, 0.88) 100%);
}

.project-card-content {
  width: 100%;
  padding: 1.35rem 1.35rem 1.45rem;
}

.project-card-sector {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.project-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.project-card-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--bcp-gold);
  margin-bottom: 0;
  transform-origin: left center;
  transition: margin .35s var(--ease);
}

.project-card-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(10px);
  transition: max-height .45s var(--ease), opacity .35s var(--ease), transform .45s var(--ease), margin .35s var(--ease);
  margin-top: 0;
}

.project-card:hover .project-card-detail,
.project-card:focus-visible .project-card-detail {
  max-height: 160px;
  opacity: 1;
  transform: none;
  margin-top: 0.85rem;
}

.project-card:hover .project-card-line,
.project-card:focus-visible .project-card-line {
  margin-bottom: 0;
}

.project-card-detail p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.project-card-btn {
  display: inline-block;
  background: var(--bcp-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius);
  transition: background .25s var(--ease);
}

.project-card:hover .project-card-btn,
.project-card:focus-visible .project-card-btn {
  background: var(--bcp-gold);
  color: var(--bcp-navy);
}

@media (hover: none) {
  .project-card-overlay {
    background: linear-gradient(160deg, rgba(11, 28, 46, 0.55) 0%, rgba(11, 28, 46, 0.9) 100%);
  }
  .project-card-detail {
    max-height: 160px;
    opacity: 1;
    transform: none;
    margin-top: 0.85rem;
  }
}

/* —— Project detail modal —— */
.project-detail-modal .modal-content {
  border: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bcp-white);
}

.project-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 5;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(11, 28, 46, 0.72);
  color: #fff;
  cursor: pointer;
  transition: background .2s var(--ease);
}

.project-modal-close:hover {
  background: var(--bcp-brand);
}

.project-modal-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bcp-navy);
}

.project-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-body {
  padding: 1.35rem 1.5rem 1.6rem;
}

.project-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.project-modal-meta span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bcp-brand);
  background: var(--bcp-mist);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius);
}

.project-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: var(--bcp-ink);
  margin: 0 0 0.65rem;
  line-height: 1.25;
}

.project-modal-summary {
  font-weight: 600;
  color: var(--bcp-ink);
  margin-bottom: 0.75rem;
}

.project-modal-desc {
  color: var(--bcp-ink);
  margin-bottom: 1.35rem;
}

.project-modal-desc.rich-content p,
.service-detail-content p {
  color: var(--bcp-muted);
  margin-bottom: 1rem;
}

.project-modal-desc.rich-content ul,
.service-detail-content ul,
.project-modal-desc.rich-content ol,
.service-detail-content ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--bcp-ink);
}

.project-modal-desc.rich-content li,
.service-detail-content li {
  margin-bottom: 0.35rem;
}

.service-detail-content h1,
.service-detail-content h2,
.service-detail-content h3,
.project-modal-desc.rich-content h1,
.project-modal-desc.rich-content h2,
.project-modal-desc.rich-content h3 {
  font-family: var(--font-display);
  color: var(--bcp-ink);
  margin: 1.25rem 0 0.65rem;
}

.project-modal-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--bcp-ink);
}

.project-modal-highlights {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
}

.project-modal-highlights li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.35rem;
  color: var(--bcp-ink);
  font-size: 0.95rem;
}

.project-modal-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--bcp-gold);
}

.project-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* —— Mid band —— */
.band {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.band-media {
  position: absolute;
  inset: 0;
}

.band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,28,46,.88) 0%, rgba(11,28,46,.45) 55%, rgba(11,28,46,.2) 100%);
}

.band-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 3.5rem 0;
}

.band-inner h2 {
  color: #fff;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.band-inner p {
  max-width: 40ch;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.35rem;
}

/* —— Why / trust cards —— */
.trust-card {
  height: 100%;
  background: var(--bcp-white);
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem 1.45rem;
  box-shadow: 0 8px 24px rgba(11, 28, 46, 0.04);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--bcp-shadow);
  border-color: transparent;
}

.trust-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.trust-step {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bcp-gold-deep);
}

.trust-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bcp-mist);
  color: var(--bcp-brand);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.trust-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.55rem;
  color: var(--bcp-navy);
}

.trust-card > p {
  color: var(--bcp-muted);
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.trust-points {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--bcp-line);
}

.trust-points li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bcp-ink);
}

.trust-points li:last-child { margin-bottom: 0; }

.trust-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--bcp-gold);
}

/* —— Insights —— */
.insight-tile {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  color: #fff;
  isolation: isolate;
}

.insight-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.insight-tile:hover img { transform: scale(1.06); }

.insight-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,28,46,.9) 0%, rgba(11,28,46,.2) 55%);
  z-index: 1;
}

.insight-tile-body {
  position: relative;
  z-index: 2;
  padding: 1.35rem;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bcp-navy);
  background: var(--bcp-gold);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.55rem;
  width: fit-content;
}

.insight-tile h3 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.insight-tile time {
  font-size: 0.8rem;
  color: rgba(255,255,255,.7);
}

.insight-lead-card {
  background: var(--bcp-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-lead-card h3 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.insight-lead-card p { color: rgba(255,255,255,.72); margin: 0; }

.insight-lead-card a {
  color: var(--bcp-gold);
  font-weight: 700;
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.insight-lead-card a:hover { color: #fff; }

/* —— Testimonials —— */
.testimonial {
  background: var(--bcp-white);
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
}

.testimonial blockquote {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: var(--bcp-ink);
}

.testimonial cite {
  font-style: normal;
  font-weight: 700;
  color: var(--bcp-brand);
  font-size: 0.9rem;
}

/* —— Page hero (inner pages) —— */
.page-hero {
  margin-top: var(--header-h);
  padding: 3.25rem 0 2.75rem;
  background:
    linear-gradient(120deg, var(--bcp-navy) 0%, var(--bcp-brand) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 20%, rgba(201,162,74,.25), transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(79,143,217,.2), transparent 45%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255,255,255,.8);
}

.service-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
  color: rgba(255,255,255,.65);
}

.service-breadcrumb a {
  color: rgba(255,255,255,.85);
}

.service-breadcrumb a:hover {
  color: var(--bcp-gold);
}

.service-detail-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--bcp-shadow);
}

.service-detail-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.service-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius);
  background: var(--bcp-white);
}

.service-check-list i {
  color: var(--bcp-gold-deep);
  font-size: 1.1rem;
  margin-top: 0.1rem;
}

.service-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.service-process-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--bcp-gold);
  background: var(--bcp-mist);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.service-process-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--bcp-brand);
  min-width: 1.75rem;
}

.service-detail-aside {
  position: sticky;
  top: calc(var(--header-h) + 0.75rem);
  max-height: calc(100vh - var(--header-h) - 1.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.service-detail-aside::-webkit-scrollbar {
  width: 4px;
}

.service-detail-aside::-webkit-scrollbar-thumb {
  background: var(--bcp-line);
  border-radius: 99px;
}

.service-aside-card {
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem 1.2rem;
  background: var(--bcp-white);
  box-shadow: 0 8px 24px rgba(11, 28, 46, 0.05);
}

.service-aside-card .btn {
  padding: 0.55rem 0.9rem;
  font-size: 0.875rem;
}

.service-aside-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bcp-mist);
  color: var(--bcp-brand);
  font-size: 1.1rem;
  margin-bottom: 0.65rem;
}

.service-aside-card .h5 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem !important;
}

.service-aside-card .small.text-muted {
  margin-bottom: 0.75rem !important;
  font-size: 0.8rem;
}

.service-related-list {
  list-style: none;
  margin: 0 0 0.65rem;
  padding: 0;
}

.service-related-list li {
  margin-bottom: 0.25rem;
}

.service-related-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius);
  color: var(--bcp-ink);
  font-weight: 600;
  font-size: 0.85rem;
}

.service-related-list a:hover {
  background: var(--bcp-mist);
  color: var(--bcp-brand);
}

.service-related-list i {
  color: var(--bcp-brand);
}

@media (max-width: 991.98px) {
  .service-detail-aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

/* —— Forms —— */
.form-panel {
  background: var(--bcp-white);
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--bcp-shadow);
}

.form-label {
  font-weight: 650;
  font-size: 0.85rem;
  color: var(--bcp-ink);
}

.form-control,
.form-select {
  border: 1px solid var(--bcp-line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  background: var(--bcp-paper);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bcp-sky);
  box-shadow: 0 0 0 0.2rem rgba(79,143,217,.2);
  background: #fff;
}

/* —— Footer —— */
.site-footer {
  background: var(--bcp-navy);
  color: rgba(255,255,255,.78);
  padding-top: 3.5rem;
}

.site-footer h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: var(--bcp-gold); }

.site-footer .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.footer-social a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff !important;
  font-size: 1rem;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.footer-social a:hover {
  background: var(--bcp-gold);
  border-color: var(--bcp-gold);
  color: var(--bcp-navy) !important;
  transform: translateY(-2px);
}

.footer-contact-list,
.footer-office-list {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-contact-item,
.footer-office-item {
  line-height: 1.4;
}

.footer-contact-label,
.footer-office-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: 0.2rem;
}

.footer-contact-item a {
  font-weight: 600;
  color: #fff;
}

.footer-contact-item a:hover {
  color: var(--bcp-gold);
}

.footer-office-line {
  color: rgba(255,255,255,.82);
  font-size: 0.92rem;
  padding-left: 1.45rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li { margin-bottom: 0.45rem; }

.site-footer .form-control {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.15);
  color: #fff;
}

.site-footer .form-control::placeholder { color: rgba(255,255,255,.45); }

.site-footer .form-control:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--bcp-gold);
  box-shadow: none;
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.8125rem;
  color: rgba(255,255,255,.55);
}

.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--bcp-gold); }

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37,211,102,.35);
}

.wa-float:hover { background: #1ebe57; color: #fff !important; }

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* —— Utilities —— */
.text-gold { color: var(--bcp-gold-deep) !important; }
.bg-paper { background: var(--bcp-paper) !important; }

@media (max-width: 991.98px) {
  :root {
    --nav-h: 66px;
  }
  .hero-slide { min-height: min(58vh, 500px); }
  .hero { margin-top: var(--header-h); }
  .page-hero { margin-top: var(--header-h); }
  .site-navbar .nav-link.active::after { display: none; }
  .site-navbar .navbar-brand img { height: 46px; }
  .wa-float span { display: none; }
}
