/* =========================================================
   Global styles  —  Home / About / Contact
   Palette: BillOvix navy + gold (matches the logo)
   ========================================================= */
:root {
  /* BillOvix brand: deep navy + metallic gold (from the logo) */
  --navy: #1f2d5c;
  --navy-dark: #121b3a;
  --gold: #c9a44c;        /* accent fills: buttons, icons, badges */
  --gold-light: #e6c97e;
  --gold-deep: #94721f;   /* gold text on light backgrounds (readable contrast) */
  --cyan: var(--gold);    /* legacy alias: old accent name now maps to gold */
  --ink: #121b3a;
  --ink-2: #0b1124;
  --soft: #f6f4ee;
  --border: #e4e1d8;
  --text: #4a5063;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 27, 58, .10);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: clip; /* stops AOS slide-in animations from causing sideways scroll */
}
/* Large gutters overflow small screens — tighten them below lg */
@media (max-width: 991.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 600; }
a { color: var(--navy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; }

/* ---------- Helpers ---------- */
.section { padding: 70px 0; position: relative; }
@media (min-width: 576px) { .section { padding: 130px 0; } }
.bg-soft { background: var(--soft); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-ink { background: var(--ink-2); color: #fff; }
.text-cyan, .text-gold { color: var(--gold-deep) !important; }
.text-navy { color: var(--navy) !important; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-title span { color: var(--gold-deep); }
.bg-navy .section-title, .bg-ink .section-title { color: #fff; }
.bg-navy .section-title span, .bg-ink .section-title span { color: var(--gold); }
.bg-navy .eyebrow, .bg-ink .eyebrow, .cta-strip .eyebrow, .page-banner .eyebrow { color: var(--gold-light); }
.lead-muted { max-width: 720px; font-size: 1.05rem; line-height: 1.8; }

/* ---------- Buttons ---------- */
.btn-brand {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  border: 2px solid var(--gold);
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all .25s;
}
.btn-brand:hover, .btn-brand:focus-visible { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--gold-light); }
.hero .btn-brand:hover, .bg-navy .btn-brand:hover, .bg-ink .btn-brand:hover, .cta-strip .btn-brand:hover,
.site-header.is-transparent:not(.scrolled) .btn-brand:hover { background: transparent; border-color: var(--gold); color: var(--gold-light); }
.btn-outline-light-brand {
  border: 2px solid #fff;
  color: #fff;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 500;
}
.btn-outline-light-brand:hover { background: #fff; border-color: #fff; color: var(--navy); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1030;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .3s, box-shadow .3s, height .3s;
}
.site-header.is-transparent { background: transparent; }
.site-header.is-solid,
.site-header.scrolled {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
  --header-h: 72px;
}
.brand-logo { display: flex; align-items: center; gap: .55rem; color: var(--navy); }
.brand-logo:hover { color: var(--navy); }
.brand-logo .logo-mark { width: 46px; height: 43px; flex: 0 0 auto; overflow: visible; }
.brand-logo .wordmark {
  display: block; line-height: 1; white-space: nowrap;
  font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; color: var(--ink);
}
.brand-logo .wordmark .o { color: var(--gold); }
.brand-logo .wordmark small {
  font-size: .56rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: .3rem; display: flex; align-items: center; gap: .35rem;
}
.brand-logo .wordmark small::before, .brand-logo .wordmark small::after { content: ""; height: 1px; width: 10px; background: currentColor; }
.site-header.is-transparent:not(.scrolled) .brand-logo .wordmark,
.site-footer .brand-logo .wordmark { color: #fff; }
.site-header.is-transparent:not(.scrolled) .brand-logo .wordmark small,
.site-footer .brand-logo .wordmark small { color: var(--gold); }
.site-header.is-transparent:not(.scrolled) .brand-logo,
.site-header.is-transparent:not(.scrolled) .main-nav > li > a,
.site-header.is-transparent:not(.scrolled) .menu-toggle { color: #fff; }
.main-nav > li > a { color: var(--ink); }

.main-nav { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; padding: .6rem .9rem; font-weight: 500; font-size: .95rem;
}
.main-nav > li > a:hover,
.main-nav > li > a.active { color: var(--gold-deep) !important; }
.site-header.is-transparent:not(.scrolled) .main-nav > li > a:hover,
.site-header.is-transparent:not(.scrolled) .main-nav > li > a.active { color: var(--gold-light) !important; }
.main-nav .caret { font-size: .7rem; margin-left: .25rem; }

/* Mega menu */
.mega-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 12px);
  width: min(920px, 90vw);
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(31, 45, 92, 0.12);
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(10, 24, 60, .18);
  padding: 1.5rem;
  opacity: 0; visibility: hidden;
  transition: all .25s;
  z-index: 1100;
}
.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.service-group-box {
  background: linear-gradient(180deg, #fcfbf7 0%, #f4f0e5 100%);
  border: 1px solid rgba(31, 45, 92, 0.08);
  border-radius: 18px;
  padding: 1rem 1rem 0.9rem;
  height: 100%;
}
.mega-menu h6 {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: .9rem; display: flex; align-items: center; gap: .5rem;
}
.service-inline-list {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.service-inline-list span {
  display: inline-block;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(31, 45, 92, 0.08);
  border-radius: 999px;
  padding: .42rem .8rem;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
}
.mega-menu .mega-intro {
  background: linear-gradient(135deg, #f7f2e6 0%, #efe7d2 100%);
  border: 1px solid rgba(31, 45, 92, 0.08);
  border-radius: 18px;
  padding: 1.25rem;
  height: 100%;
}
.mega-menu .mega-intro h6 { margin-bottom: .6rem; }
.mega-menu .mega-intro p { color: rgba(15, 23, 42, 0.75); }
.offcanvas .mobile-nav .fw-semibold { color: var(--navy); font-weight: 600; }
.offcanvas .mobile-nav .mobile-service-group {
  margin: .2rem 0 1rem;
}
.offcanvas .mobile-nav .sub {
  display: flex; flex-wrap: wrap; gap: .45rem; padding-top: .35rem;
}
.offcanvas .mobile-nav .sub span {
  display: inline-block;
  background: #f8f5ee;
  color: var(--ink);
  border: 1px solid rgba(31, 45, 92, 0.08);
  border-radius: 999px;
  padding: .38rem .7rem;
  font-size: .85rem;
  line-height: 1.4;
}

/* Simple dropdown (About) */
.simple-drop {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: #fff; border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.12);
  list-style: none; padding: .6rem 0; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s;
}
.has-drop:hover .simple-drop, .has-drop:focus-within .simple-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.simple-drop a { display: block; padding: .45rem 1.1rem; color: var(--text); font-size: .92rem; }
.simple-drop a:hover { background: var(--soft); color: var(--navy); }

.menu-toggle { background: none; border: 0; font-size: 1.5rem; color: var(--ink); }

/* Mobile offcanvas */
.offcanvas .mobile-nav a { display: block; padding: .6rem 0; color: var(--ink); border-bottom: 1px solid #f1f1f1; }
.offcanvas .mobile-nav .sub a,
.offcanvas .mobile-nav .sub span { display: block; padding-left: 1rem; font-size: .92rem; color: var(--text); line-height: 1.6; }
.offcanvas .mobile-nav .fw-semibold { color: var(--navy); font-weight: 600; }

/* =========================================================
   Hero (home)
   ========================================================= */
.hero {
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
@media (min-width: 992px) { .hero { min-height: 100vh; padding-bottom: 60px; } }
.hero video, .hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4;
}
.hero .hero-bg {
  opacity: 1;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 164, 76, .22), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(201, 164, 76, .16), transparent 40%),
    linear-gradient(135deg, #0b1124, #121b3a 45%, #1f2d5c);
}
.hero .orb {
  position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 164, 76, .25);
  animation: float 12s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-40px); } }
.hero-inner { position: relative; z-index: 2; }
.hero-content { animation: hero-in .8s ease-out both; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .45rem 1rem; border-radius: 50px; margin-bottom: 1.4rem;
  background: rgba(201, 164, 76, .12); border: 1px solid rgba(201, 164, 76, .35);
  color: var(--gold-light); font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); font-weight: 700;
  line-height: 1.12; letter-spacing: -.01em; margin-bottom: 1.25rem;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.8; color: rgba(255, 255, 255, .78); max-width: 560px; margin: 0 auto 1rem; }
.hero-rotator { font-size: 1.05rem; color: rgba(255, 255, 255, .9); margin-bottom: 2rem; min-height: 1.7em; }
@media (min-width: 992px) { .hero-lead { margin-left: 0; } }
/* Small screens: rotating word gets its own line so long names never push the CTA around */
@media (max-width: 575.98px) {
  .hero-rotator { min-height: 3.4em; }
  .hero-rotator .rotator { display: table; margin: .25rem auto 0; }
}
.rotator { color: var(--gold-light); font-weight: 500; display: inline-block; min-width: 1ch; border-right: 3px solid var(--gold); padding-right: 6px; }

/* Primary hero CTA */
.btn-hero {
  padding: 1rem 2.4rem; font-size: 1.05rem; font-weight: 600;
  box-shadow: 0 12px 30px rgba(201, 164, 76, .35);
}
.hero .btn-hero:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(201, 164, 76, .25); }
.hero .btn-hero:focus-visible {
  background: transparent; border-color: var(--gold); color: var(--gold-light);
  outline: 3px solid rgba(230, 201, 126, .6); outline-offset: 3px;
}
.hero .btn-hero:active { transform: translateY(0) scale(.97); background: var(--gold); border-color: var(--gold); color: var(--navy-dark); box-shadow: none; }

/* Attention cue: pulsing gold ring + light sweep + calendar icon nudge, all on one 3s beat.
   Pseudo-elements sit behind the label (isolation + z-index:-1), so text stays crisp. */
.btn-hero { position: relative; isolation: isolate; }
.btn-hero::before, .btn-hero::after {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; pointer-events: none;
}
.btn-hero::before { animation: cta-ring 3s ease-out infinite; }
.btn-hero::after {
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .85) 50%, transparent 62%) no-repeat;
  background-size: 250% 100%; background-position: 150% 0;
  animation: cta-shine 3s ease-in-out infinite;
}
.btn-hero i { display: inline-block; transform-origin: 50% 60%; animation: cta-icon 3s ease-in-out infinite; }
.btn-hero:hover::before, .btn-hero:hover::after, .btn-hero:hover i,
.btn-hero:focus-visible::before, .btn-hero:focus-visible::after, .btn-hero:focus-visible i { animation: none; }
@keyframes cta-ring {
  0%   { box-shadow: 0 0 0 0 rgba(230, 201, 126, .6); }
  55%  { box-shadow: 0 0 0 16px rgba(230, 201, 126, 0); }
  100% { box-shadow: 0 0 0 16px rgba(230, 201, 126, 0); }
}
@keyframes cta-shine {
  0%, 45% { background-position: 150% 0; }
  75%, 100% { background-position: -50% 0; }
}
@keyframes cta-icon {
  0%, 60%, 100% { transform: rotate(0); }
  66% { transform: rotate(-14deg) scale(1.15); }
  72% { transform: rotate(12deg) scale(1.15); }
  78% { transform: rotate(-6deg) scale(1.08); }
  84% { transform: rotate(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-hero::before, .btn-hero::after, .btn-hero i { animation: none; }
}

.hero-trust {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: flex; flex-wrap: wrap; gap: .6rem 1.75rem; justify-content: center;
  font-size: .9rem; color: rgba(255, 255, 255, .8);
}
.hero-trust i { color: var(--gold); margin-right: .45rem; }
@media (min-width: 992px) { .hero-trust { justify-content: flex-start; } }

/* Doctor photo + floating badges */
.hero-visual {
  position: relative; max-width: 460px; margin: 0 auto;
  animation: hero-in 1s .15s ease-out both;
}
@media (min-width: 992px) { .hero-visual { margin-right: 0; } }
.hero-visual::before { /* offset gold outline frame */
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 2px solid rgba(201, 164, 76, .45); border-radius: 32px;
}
.hero-visual::after { /* soft gold glow */
  content: ""; position: absolute; inset: 15% -10% -5% 10%; z-index: -1;
  background: radial-gradient(circle, rgba(201, 164, 76, .35), transparent 65%); filter: blur(20px);
}
.hero-photo {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 5 / 6;
  object-fit: cover; object-position: top; border-radius: 32px;
  box-shadow: 0 30px 60px rgba(5, 8, 18, .45);
}
.hero-badge {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem;
  padding: .6rem 1.1rem .6rem .6rem; border-radius: 16px; background: #fff;
  color: var(--ink); font-size: .9rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 14px 34px rgba(5, 8, 18, .28);
  animation: hero-float 6s ease-in-out infinite;
}
.hero-badge .ic {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, #f5eedc, #ece0c2); color: var(--navy); font-size: 1rem;
}
.hero-badge strong { display: block; font-size: 1.1rem; line-height: 1.1; color: var(--navy); }
.hero-badge small { display: block; font-size: .75rem; font-weight: 500; color: var(--text); }
.hero-badge--a { bottom: 7%; left: -48px; }
.hero-badge--b { top: 46%; right: -44px; animation-delay: -2s; }
.hero-badge--c { top: 10%; left: -36px; animation-delay: -4s; }

/* Badge A: rotating specialty labels (cycled by main.js). Fixed size so nothing shifts. */
.hero-spec { flex-direction: column; align-items: stretch; gap: .6rem; width: 250px; padding: .75rem .8rem .85rem; }
.hero-spec-head { display: flex; align-items: center; gap: .6rem; font-size: .85rem; }
.hero-spec-head .ic { width: 32px; height: 32px; border-radius: 10px; font-size: .85rem; }
.hero-spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.hero-spec-list li { height: 28px; display: flex; align-items: center; }
.hero-spec-pill {
  display: inline-block; max-width: 100%; padding: .3rem .75rem; border-radius: 50px;
  background: var(--soft); border: 1px solid rgba(201, 164, 76, .35);
  color: var(--navy); font-size: .76rem; font-weight: 500; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-spec-pill::before {
  content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); margin-right: .45rem; vertical-align: middle;
}

/* Badge B: rotating service (cycled by main.js). Fixed size; long names wrap onto a second line. */
.hero-svc { width: 250px; padding: .6rem 1rem .6rem .6rem; }
.hero-svc .hero-swap { display: flex; align-items: center; gap: .65rem; width: 100%; }
.hero-svc strong { font-size: .88rem; line-height: 1.25; white-space: normal; height: 2.5em; display: flex; align-items: center; }

/* Fade-up swap shared by the rotating hero badges (classes toggled by main.js) */
.hero-swap { transition: opacity .45s ease, transform .45s ease; }
.hero-swap.is-out { opacity: 0; transform: translateY(-6px); }
.hero-swap.is-in { opacity: 0; transform: translateY(6px); transition: none; }
@media (max-width: 1199.98px) {
  .hero-badge--a { left: -24px; }
  .hero-badge--b { right: -24px; }
  .hero-badge--c { left: -16px; }
}
@media (max-width: 575.98px) {
  .hero-visual::before { inset: 14px -10px -14px 10px; }
  .hero-badge { font-size: .78rem; padding: .45rem .8rem .45rem .45rem; border-radius: 12px; gap: .5rem; }
  .hero-badge .ic { width: 30px; height: 30px; border-radius: 9px; font-size: .85rem; }
  .hero-badge strong { font-size: .95rem; }
  .hero-badge--a { left: -6px; }
  .hero-badge--b { right: -6px; }
  .hero-badge--c { left: -6px; }
  .hero-spec { width: 200px; padding: .6rem .65rem .7rem; gap: .45rem; }
  .hero-spec-head { font-size: .76rem; }
  .hero-spec-head .ic { width: 26px; height: 26px; border-radius: 8px; font-size: .75rem; }
  .hero-spec-list { gap: .3rem; }
  .hero-spec-list li { height: 24px; }
  .hero-spec-pill { font-size: .7rem; padding: .25rem .6rem; }
  .hero-svc { width: 190px; padding: .45rem .7rem .45rem .45rem; }
  .hero-svc strong { font-size: .76rem; }
}
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-content, .hero-visual, .hero-badge, .hero .orb { animation: none; }
}

/* Inner page banner */
.page-banner {
  padding: calc(var(--header-h) + 80px) 0 90px;
  background: linear-gradient(135deg, #0b1124, var(--navy-dark) 45%, var(--navy));
  border-bottom: 3px solid var(--gold);
  color: #fff; position: relative; overflow: hidden;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; }
.page-banner .breadcrumb { background: none; padding: 0; margin: 0; }
.page-banner .breadcrumb a, .page-banner .breadcrumb-item.active { color: rgba(255,255,255,.8); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.6); }
.page-banner .dots {
  position: absolute; right: -40px; top: 40px; width: 260px; height: 260px; opacity: .25;
  background-image: radial-gradient(var(--gold) 2px, transparent 2px); background-size: 18px 18px;
}

/* =========================================================
   Cards
   ========================================================= */
.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf7 100%);
  border: 1px solid rgba(27, 50, 108, 0.08);
  border-radius: 22px;
  padding: 2rem 1.5rem 1.6rem;
  height: 100%;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  display: flex; flex-direction: column; justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(16, 30, 80, 0.04);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(16, 30, 80, 0.08); border-color: rgba(27, 50, 108, 0.15); }
.service-card h4, .service-card p, .service-card ul { margin-top: 0; }
.service-card p { margin-bottom: 0; line-height: 1.7; color: rgba(15, 23, 42, 0.78); }
.icon-box {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(135deg, #f5eedc 0%, #ece0c2 100%);
  color: var(--navy); font-size: 1.6rem; margin-bottom: 1.15rem;
  transition: all .3s;
  box-shadow: inset 0 0 0 1px rgba(27, 50, 108, 0.05);
}
.service-card:hover .icon-box { background: linear-gradient(135deg, var(--navy) 0%, #121b3a 100%); color: var(--gold-light); }
.service-card h4 { font-size: 1.2rem; margin-bottom: 0.8rem; line-height: 1.4; }
.service-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.service-card ul li { padding: 0; font-size: .92rem; line-height: 1.6; display: flex; align-items: flex-start; }
.service-card ul li i { color: var(--cyan); margin-right: .5rem; font-size: .8rem; margin-top: .3rem; flex-shrink: 0; }

/* Leadership */
.leader-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  height: 100%; transition: transform .3s;
}
.leader-card:hover { transform: translateY(-6px); }
.leader-photo {
  aspect-ratio: 4/3.4; background: linear-gradient(160deg, #e3e6ef, #c7cde0);
  display: grid; place-items: center; color: var(--navy); font-size: 3.2rem; font-weight: 700;
}
.leader-body { padding: 1.5rem; }
.leader-body h5 { margin-bottom: .15rem; }
.leader-body .role { color: var(--gold-deep); font-size: .88rem; font-weight: 500; }
.leader-social a {
  width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--soft); color: var(--navy); margin-right: .35rem; font-size: .85rem;
}
.leader-social a:hover { background: var(--navy); color: #fff; }
.leaders-head { padding: 70px 0; }
.leaders-body { padding-bottom: 70px; }
.leaders-wrap { margin-top: 2rem; }
@media (min-width: 768px) {
  .leaders-head { padding: 130px 0 250px; }
  .leaders-body { padding-bottom: 130px; }
  .leaders-wrap { margin-top: -11rem; }
}

/* Roadmap steps */
.step-card { position: relative; padding: 2rem 1.5rem; border-radius: var(--radius); background: var(--soft); height: 100%; }
.step-num {
  position: absolute; top: 1rem; right: 1.25rem; font-size: 2.8rem; font-weight: 800;
  color: rgba(31, 45, 92, .08); line-height: 1;
}
.step-card .icon-box { background: #fff; }

/* Certification / logo strip */
.logo-tile {
  background: #fff; border-radius: 12px; padding: 1.5rem 1rem; text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.04); height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
}
.logo-tile i { font-size: 2rem; color: var(--navy); }
.logo-tile strong { color: var(--ink); font-size: .95rem; }
.logo-tile small { font-size: .78rem; }

/* Vision block */
.vision-blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(201, 164, 76, .18); filter: blur(10px); }
.vision-list { list-style: none; padding: 0; }
.vision-list li { display: flex; gap: .9rem; margin-bottom: 1rem; color: rgba(255,255,255,.88); }
.vision-list li i { color: var(--cyan); margin-top: .3rem; }

/* Marquee (awards / clients) */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1.5rem; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.award-card {
  width: 220px; flex: 0 0 auto; background: #fff; border-radius: 12px; padding: 1.5rem 1rem;
  text-align: center; box-shadow: 0 6px 20px rgba(0,0,0,.05);
}
.award-card i { font-size: 2.2rem; color: var(--gold); margin-bottom: .6rem; }
.award-card p { margin: 0; font-size: .88rem; color: var(--ink); font-weight: 500; }

/* =========================================================
   Specialties — marquee (home) + list (specialties.html)
   ========================================================= */
.specialties { overflow: hidden; }
.spec-marquee {
  --spec-gap: .85rem;
  position: relative; overflow: hidden; padding: .75rem 0;
}
/* Edge fades (cheaper than mask-image on mobile) */
.spec-marquee::before, .spec-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; pointer-events: none;
  width: clamp(40px, 10vw, 160px);
}
.spec-marquee::before { left: 0; background: linear-gradient(90deg, var(--soft), rgba(246, 244, 238, 0)); }
.spec-marquee::after { right: 0; background: linear-gradient(270deg, var(--soft), rgba(246, 244, 238, 0)); }
.spec-track {
  display: flex; width: max-content;
  animation: spec-scroll var(--spec-duration, 90s) linear infinite;
  will-change: transform; backface-visibility: hidden;
}
.spec-marquee[data-direction="right"] .spec-track { animation-direction: reverse; }
.spec-group { display: flex; flex-shrink: 0; gap: var(--spec-gap); padding-right: var(--spec-gap); }
@keyframes spec-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) { .spec-marquee:hover .spec-track { animation-play-state: paused; } }
.spec-marquee.is-offscreen .spec-track { animation-play-state: paused; }

.spec-chip {
  display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
  padding: .7rem 1.35rem; border-radius: 50px;
  background: #fff; border: 1px solid rgba(27, 50, 108, .1);
  color: var(--ink); font-size: .95rem; font-weight: 500; line-height: 1.3;
  box-shadow: 0 6px 18px rgba(16, 30, 80, .05);
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.spec-chip i { color: var(--gold-deep); font-size: .85rem; transition: color .25s; }

/* Spotlight: gold glow + light sweep on a random chip (toggled by main.js) */
.spec-marquee .spec-chip { position: relative; overflow: hidden; }
.spec-marquee .spec-chip::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(230, 201, 126, .55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.spec-chip.is-lit {
  border-color: var(--gold); color: var(--navy); background: #fdf6e3;
  box-shadow: 0 0 0 4px rgba(201, 164, 76, .22), 0 10px 26px rgba(201, 164, 76, .28);
}
.spec-chip.is-lit i { transform: scale(1.2); }
.spec-chip i { transition: color .25s, transform .3s; }
.spec-chip.is-lit::after { animation: spec-shine 1.1s ease-out; }
@keyframes spec-shine { to { transform: translateX(120%); } }

/* Animated specialty counts */
.spec-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.75rem; }
.spec-stat {
  display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .6rem 1.25rem; border-radius: 50px; background: #fff;
  border: 1px solid rgba(27, 50, 108, .08); box-shadow: 0 6px 18px rgba(16, 30, 80, .05);
}
.spec-stat strong { font-size: 1.5rem; font-weight: 700; color: var(--gold-deep); line-height: 1; }
.spec-stat > span { font-size: .9rem; font-weight: 500; color: var(--ink); }
@media (max-width: 575.98px) {
  .spec-stat { padding: .5rem 1rem; }
  .spec-stat strong { font-size: 1.25rem; }
}
@media (hover: hover) {
  .spec-chip:hover {
    transform: translateY(-3px); background: var(--navy); color: #fff;
    border-color: var(--gold); box-shadow: 0 10px 24px rgba(16, 30, 80, .12);
  }
  .spec-chip:hover i { color: var(--gold-light); }
}
@media (max-width: 575.98px) {
  .spec-marquee { --spec-gap: .6rem; padding: .5rem 0; }
  .spec-chip { font-size: .85rem; padding: .55rem 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .spec-track { animation: none; }
  .spec-marquee { overflow-x: auto; scrollbar-width: none; }
  .spec-marquee::before, .spec-marquee::after, .spec-group[aria-hidden] { display: none; }
}

/* Specialties page */
.spec-search { position: relative; max-width: 520px; margin: 0 auto 3rem; }
.spec-search i { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--gold-deep); }
.spec-search .form-control { padding: .9rem 1.25rem .9rem 2.9rem; border-radius: 50px; background: #fff; }
.spec-block {
  background: #fff; border-radius: 22px; padding: 2rem 1.5rem; box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
}
@media (min-width: 768px) { .spec-block { padding: 2.5rem; } }
.spec-block + .spec-block { margin-top: 2rem; }
.spec-block-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.spec-block-head .icon-box { width: 56px; height: 56px; font-size: 1.3rem; margin-bottom: 0; flex-shrink: 0; }
.spec-block-head h2 { font-size: 1.35rem; margin: 0 0 .15rem; }
.spec-count { font-size: .85rem; font-weight: 500; color: var(--gold-deep); }
.spec-list { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; padding: 0; margin: 0; }
.spec-list .spec-chip { white-space: normal; background: var(--soft); box-shadow: none; }

/* Video / story cards */
.story-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/12; background: linear-gradient(160deg, var(--navy), var(--cyan)); }
.story-card .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--navy); display: grid; place-items: center; font-size: 1.3rem;
  transition: transform .3s; border: 0;
}
.story-card:hover .play { transform: scale(1.1); }
.story-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); font-size: .9rem; }

/* =========================================================
   Contact form + reviews
   ========================================================= */
.contact-block { background: var(--soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.form-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
@media (min-width: 992px) { .form-card { padding: 2.75rem; } }
.form-control, .form-select {
  border: 1px solid var(--border); border-radius: 10px; padding: .8rem 1rem; font-size: .95rem;
}
.form-control:focus, .form-select:focus { border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(201, 164, 76, .15); }
.form-label { font-size: .88rem; font-weight: 500; color: var(--ink); }

.rating-box { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.rating-box .score { font-size: 2.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.stars { color: var(--gold); }
.review-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.review-card .avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 600; overflow: hidden;
}
.review-card .avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.review-controls button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy);
}
.review-controls button:hover { background: var(--navy); color: #fff; }

/* Contact page info cards */
.info-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); height: 100%; }
.info-card .icon-box { margin-bottom: 1rem; }
.map-frame { border: 0; width: 100%; height: 420px; border-radius: var(--radius); filter: grayscale(.2); }

/* =========================================================
   FAQ
   ========================================================= */
.faq .accordion-item { border: 1px solid var(--border); border-radius: 12px !important; margin-bottom: 1rem; overflow: hidden; }
.faq .accordion-button { font-weight: 500; color: var(--ink); padding: 1.2rem 1.4rem; gap: 1rem; }
.faq .accordion-button .num { color: var(--gold-deep); font-weight: 700; }
.faq .accordion-button:not(.collapsed) { background: var(--soft); color: var(--navy); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: none; }

/* =========================================================
   About page
   ========================================================= */
.img-placeholder {
  border-radius: var(--radius); background: linear-gradient(160deg, #e3e6ef, #bcc4da);
  display: grid; place-items: center; color: var(--navy); min-height: 360px; position: relative; overflow: hidden;
}
.story-photo-frame {
  aspect-ratio: 6 / 5;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e5e9ec;
  box-shadow: var(--shadow);
}
.story-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.img-placeholder i { font-size: 4rem; opacity: .6; }
.img-placeholder .tag { position: absolute; bottom: 1rem; left: 1rem; background: #fff; padding: .35rem .8rem; border-radius: 50px; font-size: .78rem; }
.ceo-photo-frame {
  aspect-ratio: 4 / 5;
  min-height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfe8e6;
  box-shadow: var(--shadow);
}
.ceo-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  filter: contrast(1.04) saturate(1.04);
}
.stat-badge {
  position: absolute; right: -10px; bottom: -20px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark);
  border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow);
}
.stat-badge strong { display: block; font-size: 1.8rem; line-height: 1; }
.counter-box { text-align: center; padding: 1.5rem; }
.counter-box .num { font-size: 2.6rem; font-weight: 700; color: #fff; }
.counter-box p { color: rgba(255,255,255,.8); margin: 0; }
.value-card { text-align: center; padding: 2.25rem 1.5rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); height: 100%; }
.value-card .icon-box { margin: 0 auto 1.25rem; }
.quote-mark { font-size: 3rem; color: var(--gold); line-height: 1; }

/* CTA strip */
.cta-strip { background: linear-gradient(135deg, var(--ink-2), var(--navy-dark)); border-top: 3px solid var(--gold); color: #fff; padding: 70px 0; position: relative; overflow: hidden; }
.cta-strip h2 { color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: linear-gradient(180deg, var(--navy-dark) 0%, var(--ink-2) 100%);
  border-top: 3px solid var(--gold);
  color: rgba(255,255,255,0.9);
}
.site-footer .footer-main { padding: 70px 0 50px; }
.site-footer .brand-logo { color: #fff; }
.site-footer .footer-slogan { color: var(--gold-light); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin: 0; }
.site-footer h6, .site-footer .contact-line, .site-footer .contact-line a, .site-footer ul a, .site-footer .footer-copy { color: #fff; }
.site-footer .brand-logo { align-items: center; }
.site-footer h6 { font-size: 1rem; margin-bottom: 1.1rem; font-weight: 600; color: var(--gold-light); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; }
.site-footer ul a { color: rgba(255,255,255,0.82); font-size: .92rem; }
.site-footer ul a:hover { color: var(--gold-light); padding-left: 3px; }
.site-footer .footer-brand-col,
.site-footer .footer-service-col,
.site-footer .footer-contact-col {
  min-width: 0;
}
.site-footer .footer-copy {
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
  margin-top: 1rem;
  max-width: 420px;
}
.site-footer .contact-line { display: flex; gap: .7rem; font-size: .92rem; margin-bottom: .9rem; color: rgba(255,255,255,0.82); }
.site-footer .contact-line i { color: var(--cyan); margin-top: .25rem; }
.site-footer .contact-line a, .site-footer .contact-line span { color: rgba(255,255,255,0.82); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center;
  background: rgba(255,255,255,0.12); color: #fff; margin-right: .5rem; border: 1px solid rgba(255,255,255,0.12);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.footer-bottom {
  background: rgba(5, 8, 18, 0.6);
  color: rgba(255,255,255,0.8);
  padding: 18px 0;
  font-size: .88rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom a { color: #fff; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (min-width: 992px) {
  .site-footer .row > [class*="col-"] { margin-right: 0; }
  .site-footer .footer-service-col { flex: 0 0 18%; max-width: 18%; }
  .site-footer .footer-contact-col { flex: 0 0 23%; max-width: 23%; }
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy-dark); border: 0; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: all .3s; z-index: 1020; box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; }

/* =========================================================
   Legal pages (Terms & Conditions)
   ========================================================= */
.legal-card { background: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
@media (min-width: 768px) { .legal-card { padding: 3rem; } }
.legal-item { display: flex; gap: 1.25rem; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.legal-item:last-of-type { border-bottom: 0; margin-bottom: 1rem; }
.legal-item .icon-box { flex-shrink: 0; width: 52px; height: 52px; font-size: 1.2rem; margin-bottom: 0; }
.legal-item h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.legal-item p { line-height: 1.8; margin-bottom: 0; }
.legal-note { padding-top: 1rem; border-top: 1px dashed var(--border); }
@media (max-width: 575.98px) { .legal-item { flex-direction: column; gap: .75rem; } }
.legal-item p + p { margin-top: .75rem; }
.legal-intro { font-size: 1.02rem; line-height: 1.8; color: var(--ink); padding: 1rem 1.25rem; margin-bottom: 1.75rem; background: var(--soft); border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; }
.legal-list { margin: .75rem 0 0; padding-left: 1.1rem; line-height: 1.8; }
.legal-list li { margin-bottom: .4rem; }
.legal-list li::marker { color: var(--gold); }
