/* BrandCorp public site — light, engineering / business UI (no background photos) */

:root {
  --bc-ink: #0f172a;
  --bc-ink-muted: #475569;
  --bc-surface: #ffffff;
  --bc-surface-2: #f1f5f9;
  --bc-border: #e2e8f0;
  /* Ocean blue & gold — primary interaction + accents */
  --bc-ocean: #1976a3;
  --bc-ocean-deep: #0f4a6b;
  --bc-ocean-bright: #2a93c4;
  --bc-gold: #c9a24a;
  --bc-gold-deep: #8f7020;
  --bc-gold-rgb: 201, 162, 74;
  --bc-gold-soft: rgba(var(--bc-gold-rgb), 0.14);
  --bc-accent: var(--bc-ocean);
  --bc-accent-hover: #145a7a;
  --bc-accent-rgb: 25, 118, 163;
  --bc-accent-soft: rgba(var(--bc-accent-rgb), 0.12);
  --bc-gradient-brand: linear-gradient(142deg, #0e4c68 0%, #2080a8 52%, #d4af57 100%);
  --bc-gradient-cta: linear-gradient(145deg, #145a7a 0%, #1f8aad 68%, #b8923a 100%);
  --bc-gradient-sheen: linear-gradient(125deg, rgba(var(--bc-accent-rgb), 0.12) 0%, rgba(var(--bc-gold-rgb), 0.14) 48%, rgba(var(--bc-accent-rgb), 0.06) 100%);
  --bc-grid: rgba(15, 23, 42, 0.06);
  --bc-grid-strong: rgba(15, 23, 42, 0.09);
  --bc-radius: 12px;
  --bc-radius-lg: 16px;
  --bc-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --bc-shadow-hover: 0 4px 20px rgba(15, 23, 42, 0.08);
  --bc-header-h: 4.25rem;
  --bs-primary: #1976a3;
  --bs-primary-rgb: 25, 118, 163;
  --bs-link-color: #145a7a;
  --bs-link-hover-color: #1976a3;
}

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

html {
  scroll-padding-top: calc(var(--bc-header-h) + 12px);
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--bc-ink);
  background-color: #eef2f6;
  background-image: radial-gradient(ellipse 90% 52% at 10% -6%, rgba(var(--bc-gold-rgb), 0.09), transparent 48%),
    radial-gradient(ellipse 88% 50% at 50% 108%, rgba(var(--bc-gold-rgb), 0.05), transparent 52%),
    radial-gradient(ellipse 100% 58% at 92% -12%, rgba(var(--bc-accent-rgb), 0.09), transparent 54%),
    linear-gradient(180deg, #f9fafc 0%, #eef2f6 40%, #e8ecf2 100%);
  background-attachment: fixed;
}

.site-main {
  padding-top: var(--bc-header-h);
}

/* —— Header / nav —— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.site-navbar {
  min-height: var(--bc-header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--bc-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 28px -14px rgba(var(--bc-gold-rgb), 0.14);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--bc-ink) !important;
  text-decoration: none;
}

.site-brand:hover {
  color: var(--bc-accent) !important;
}

.site-brand:hover .site-brand__accent {
  color: var(--bc-gold) !important;
}

.site-brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--bc-gradient-brand);
  box-shadow: 0 2px 10px rgba(var(--bc-accent-rgb), 0.28), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  border: 1px solid rgba(212, 175, 87, 0.38);
}

.site-brand__letter {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.site-brand__accent {
  color: var(--bc-gold-deep);
  font-weight: 700;
}

.site-navbar__toggler {
  border: 1px solid var(--bc-border);
  padding: 0.35rem 0.55rem;
}

.site-navbar__toggler .navbar-toggler-icon {
  filter: invert(0.35);
}

.site-nav-link {
  font-weight: 500;
  color: var(--bc-ink-muted) !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.site-nav-link:hover {
  color: var(--bc-ink) !important;
  background: var(--bc-surface-2);
}

.site-nav-link.is-active {
  color: var(--bc-accent-hover) !important;
  background: linear-gradient(180deg, var(--bc-accent-soft) 0%, rgba(var(--bc-gold-rgb), 0.08) 100%);
  box-shadow: inset 0 -2px 0 0 var(--bc-gold);
}

.btn-primary {
  background-color: var(--bc-accent);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 42%),
    linear-gradient(145deg, #1f8aad 0%, #175a7e 82%, #a67c29 100%);
  border-color: #145a7a;
  font-weight: 600;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--bc-accent-hover);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    linear-gradient(145deg, #1a6f96 0%, #124d6a 78%, #8f7020 100%);
  border-color: #0f4a6b;
}

.site-btn-ghost:hover {
  border-color: var(--bc-border);
  background: var(--bc-surface-2);
}

.site-input,
.form-control.site-input,
.form-select.site-input {
  border-radius: 10px;
  border-color: var(--bc-border);
  font-size: 0.9375rem;
}

.site-input:focus,
.form-control:focus,
.form-select:focus {
  border-color: rgba(var(--bc-accent-rgb), 0.45);
  box-shadow: 0 0 0 0.2rem rgba(var(--bc-accent-rgb), 0.14), 0 0 0 0.35rem rgba(var(--bc-gold-rgb), 0.07);
}

.site-modal {
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  box-shadow: var(--bc-shadow-hover);
}

/* —— Engineering grid overlays —— */
.page-hero__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 1;
  background-image: linear-gradient(var(--bc-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bc-grid) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0%, rgba(248, 250, 252, 0.65) 100%);
  background-size: 56px 56px, 56px 56px, 100% 100%;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 0%, #000 30%, transparent 75%);
}

/* Home hero: grid fades vertically (strong / tinted at top, soft below) */
.hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(var(--bc-accent-rgb), 0.12) 0%, rgba(var(--bc-gold-rgb), 0.07) 32%, transparent 64%);
}

.hero--home .hero__grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background-image: linear-gradient(rgba(14, 78, 108, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 78, 108, 0.2) 1px, transparent 1px);
  background-size: 48px 48px;
  /* Vertical gradient on the mesh: bold at top, eases down */
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.28) 72%, rgba(0, 0, 0, 0.06) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.72) 38%, rgba(0, 0, 0, 0.28) 72%, rgba(0, 0, 0, 0.06) 100%);
}

.hero--home > .container {
  position: relative;
  z-index: 2;
}

.hero--home {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bc-border);
  background: linear-gradient(165deg, #f8fafc 0%, #f1f5f9 48%, #eef2f6 100%);
}

.hero--home::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 6%,
    rgba(var(--bc-gold-rgb), 0.5) 38%,
    rgba(var(--bc-accent-rgb), 0.45) 62%,
    transparent 94%
  );
}

.hero-eyebrow {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bc-gold-deep);
}

.hero-title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--bc-ink);
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.search-panel {
  text-align: left;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: var(--bc-radius-lg);
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-top: 1px solid rgba(var(--bc-gold-rgb), 0.38);
  box-shadow: var(--bc-shadow), 0 -1px 0 rgba(var(--bc-gold-rgb), 0.12) inset;
}

.search-panel--inline {
  margin-top: 0;
}

.search-box {
  position: relative;
}

.search-box .input-group-text {
  min-width: 2.75rem;
  justify-content: center;
}

.category-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--bc-ink);
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.category-badge:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.28);
  color: var(--bc-accent-hover);
  box-shadow: var(--bc-shadow), 0 0 0 1px rgba(var(--bc-gold-rgb), 0.22);
  transform: translateY(-1px);
}

.category-badge-sm {
  font-size: 0.72rem;
  padding: 0.28rem 0.6rem;
}

#particles-js {
  display: none !important;
}

/* —— Page heroes (list, about, contact, category, profile) —— */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--bc-border);
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 10%, rgba(var(--bc-gold-rgb), 0.42) 50%, transparent 90%);
}

.page-hero--compact .page-hero__title {
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--bc-ink);
}

.page-hero__lead {
  font-size: 1rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* Remove legacy photo overlays */
.about-hero,
.contact-hero,
.search-section.profile-section,
.search-section {
  background-image: none !important;
}

.about-hero::before,
.search-section::before,
.contact-hero::before {
  display: none !important;
}

/* —— Companies list —— */
.section-heading,
.section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bc-ink);
}

.section-heading {
  position: relative;
  padding-bottom: 0.35rem;
}

.section-heading::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bc-ocean-deep), var(--bc-gold));
}

.section-subtitle {
  color: var(--bc-ink-muted);
}

.companies-section {
  background: transparent;
  min-height: auto;
}

.company-row {
  position: relative;
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: 1.25rem 1.35rem;
  margin-bottom: 0.85rem;
  box-shadow: var(--bc-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.company-row:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.28);
  box-shadow: var(--bc-shadow-hover);
}

.company-row::before {
  display: none;
}

/* Companies directory — card grid */
.companies-list--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

@media (min-width: 576px) {
  .companies-list--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .companies-list--grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.company-list-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.25rem 1.3rem 1rem;
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: 14px;
  box-shadow: var(--bc-shadow);
  transition: border-color 0.15s ease, box-shadow 0.18s ease, transform 0.15s ease;
  border-left: 4px solid var(--bc-accent);
}

.company-list-card:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.35);
  box-shadow: var(--bc-shadow-hover);
  transform: translateY(-2px);
}

.company-list-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 14px;
}

.company-list-card > :not(.company-list-card__link) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.company-list-card__top {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.company-list-card__logo {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--bc-border);
  background: var(--bc-surface-2);
}

.company-list-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-list-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--bc-ink);
  margin: 0 0 0.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.company-list-card__category {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--bc-ink-muted);
}

.company-list-card__facts {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.8rem;
  color: var(--bc-ink-muted);
}

.company-list-card__facts li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.company-list-card__facts li:last-child {
  margin-bottom: 0;
}

.company-list-card__facts i {
  color: var(--bc-accent);
  margin-top: 0.15rem;
  width: 0.9rem;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.72rem;
}

.company-list-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bc-border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--bc-accent-hover);
}

.company-list-card__chevron {
  font-size: 0.85rem;
  opacity: 0.85;
}

.company-logo {
  width: 4.5rem;
  height: 4.5rem;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  background: var(--bc-surface-2);
}

.company-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-name {
  color: var(--bc-ink);
  font-weight: 600;
}

.company-category,
.company-location,
.company-size,
.company-status,
.company-industry {
  color: var(--bc-ink-muted);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.company-location i,
.company-size i,
.company-status i,
.company-industry i {
  color: var(--bc-accent);
  margin-right: 0.4rem;
  width: 1rem;
  text-align: center;
}

.company-rating i {
  color: #ca8a04;
}

.rating-value {
  color: var(--bc-ink-muted);
  margin-left: 0.35rem;
  font-size: 0.875rem;
}

.company-separator {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bc-border), transparent);
  margin: 0.75rem 0;
}

.company-details-section {
  background: var(--bc-surface-2);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--bc-border);
}

.company-details-section::before {
  display: none;
}

/* Category controls */
#category-controls .card {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  box-shadow: var(--bc-shadow);
}

#category-controls .card::before {
  display: none;
}

#category-controls .form-label {
  color: var(--bc-ink-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-shadow: none;
}

#category-controls .form-select {
  border-radius: 10px;
  border-color: var(--bc-border);
  font-size: 0.875rem;
}

#reset-filters {
  border-radius: 10px !important;
  border: 1px solid var(--bc-border) !important;
  background: var(--bc-surface) !important;
  color: var(--bc-ink) !important;
  font-weight: 500;
  text-shadow: none;
  box-shadow: none !important;
}

#reset-filters:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.35) !important;
  color: var(--bc-accent-hover) !important;
}

/* —— Category page: company cards (AJAX) —— */
#category-results .company-row--category {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin-bottom: 0;
  padding: 0.95rem 1rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

#category-results .company-row--category:hover {
  transform: translateY(-1px);
}

#category-results .company-row--category:focus {
  outline: none;
}

#category-results .company-row--category:focus-visible {
  outline: 2px solid rgba(var(--bc-accent-rgb), 0.55);
  outline-offset: 2px;
  border-color: rgba(var(--bc-accent-rgb), 0.35);
}

#category-results .category-card__header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  min-width: 0;
}

#category-results .category-card__logo {
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  background: var(--bc-surface-2);
}

#category-results .category-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#category-results .category-card__body {
  flex: 1;
  min-width: 0;
}

#category-results .category-card__title {
  font-size: clamp(0.98rem, 3.5vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.28;
  margin: 0 0 0.45rem;
  color: var(--bc-ink);
  word-break: break-word;
}

#category-results .category-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

#category-results .category-card__meta-row {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--bc-ink-muted);
}

#category-results .category-card__meta-row .material-icons {
  font-size: 1rem !important;
  width: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  line-height: 1 !important;
}

#category-results .category-card__meta-text {
  min-width: 0;
  word-break: break-word;
}

#category-results .category-card__hr {
  margin: 0.65rem 0 0.75rem;
}

#category-results .category-card__panel {
  margin-top: auto;
  padding: 0.65rem 0.7rem;
  background: var(--bc-surface-2);
  border-radius: 10px;
  border: 1px solid var(--bc-border);
}

#category-results .category-card__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 480px) {
  #category-results .category-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.6rem;
  }
}

#category-results .category-card__stat {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: 8px;
}

#category-results .category-card__stat--full {
  grid-column: 1 / -1;
}

#category-results .category-card__stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bc-ink-muted);
}

#category-results .category-card__stat-value {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bc-ink);
  line-height: 1.35;
  word-break: break-word;
}

@media (min-width: 576px) {
  #category-results .company-row--category {
    padding: 1.1rem 1.2rem 1.15rem;
  }

  #category-results .category-card__logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  #category-results .category-card__panel {
    padding: 0.75rem 0.85rem;
  }

  #category-results .category-card__stat-value {
    font-size: 0.875rem;
  }
}

/* —— About —— */
.about-section {
  padding: 3.5rem 0;
  background: var(--bc-surface-2);
}

.about-section.dark {
  background: var(--bc-surface);
}

.about-section.darker {
  background: var(--bc-surface-2);
  padding: 3.5rem 0;
}

.about-title-why {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--bc-ink);
}

.about-subtitle-why {
  color: var(--bc-ink-muted);
  font-size: 1.05rem;
}

.about-text {
  color: var(--bc-ink-muted);
  line-height: 1.65;
}

.about-card {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  height: 100%;
  box-shadow: var(--bc-shadow);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.about-card:hover {
  transform: none;
  border-color: rgba(var(--bc-accent-rgb), 0.25);
  box-shadow: var(--bc-shadow-hover);
}

.about-card .card-body {
  padding: 1.75rem;
}

.placeholder-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: var(--bc-accent-soft);
  color: var(--bc-accent-hover);
}

.about-section.cta-section {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 40%, #f8fafc 100%);
  border-top: 1px solid var(--bc-border);
  border-bottom: 1px solid var(--bc-border);
  text-align: center;
}

.about-section.cta-section .about-title-why,
.about-section.cta-section .about-subtitle-why {
  color: var(--bc-ink);
}

/* —— Contact —— */
.list-company-section,
.contact-info-section {
  background: transparent;
}

.list-company-card,
.contact-info-card,
.faq-card {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--bc-shadow);
}

.list-company-card::before {
  display: none;
}

.list-company-card .section-title,
.contact-info-card .section-title,
.faq-card .section-title {
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  margin-bottom: 0.85rem;
}

.list-company-card .section-description {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.list-company-card .benefits-list {
  margin-bottom: 1.75rem;
}

.list-company-card .benefits-title {
  margin-bottom: 0.65rem;
}

.list-company-card .benefits-items {
  margin: 0;
  padding-left: 0;
}

.list-company-card .benefits-items li {
  margin-bottom: 0.6rem;
  padding-left: 0.15rem;
}

.list-company-card .benefits-items li:last-child {
  margin-bottom: 0;
}

.list-company-card .listing-process {
  margin-bottom: 1.5rem;
}

.list-company-card .process-title {
  margin-bottom: 0.85rem;
}

.list-company-card .process-steps {
  margin: 0;
  padding: 0.25rem 0 0.25rem;
  position: relative;
}

/* Vertical rail aligned to step badge centers (2.75rem track, circle 2.5rem → center 1.375rem) */
.list-company-card .process-steps::before {
  content: "";
  position: absolute;
  left: 1.375rem;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--bc-accent-soft) 0%,
    rgba(var(--bc-gold-rgb), 0.1) 42%,
    var(--bc-border) 68%,
    var(--bc-border) 100%
  );
  pointer-events: none;
}

.list-company-card .process-step {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  column-gap: 1.15rem;
  align-items: start;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.list-company-card .process-step:last-child {
  margin-bottom: 0;
}

.list-company-card .step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 0.95rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--bc-gradient-cta);
  border: 3px solid var(--bc-surface);
  box-shadow: 0 0 0 1px rgba(var(--bc-gold-rgb), 0.22), 0 2px 10px rgba(var(--bc-accent-rgb), 0.26);
  position: relative;
  z-index: 2;
}

.list-company-card .cta-section {
  padding: 1.35rem 0 0;
  margin: 0;
  border-top: 1px solid var(--bc-border);
}

.section-description {
  color: var(--bc-ink-muted);
  font-size: 1rem;
}

.benefits-title,
.process-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bc-ink);
}

.benefits-items li {
  color: var(--bc-ink-muted);
}

.benefits-items li i {
  color: var(--bc-gold-deep);
  margin-right: 0.5rem;
}

.step-content h4 {
  color: var(--bc-ink);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step-content p {
  color: var(--bc-ink-muted);
  margin-bottom: 0;
  line-height: 1.55;
}

.contact-info-card .row {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.25rem;
}

.contact-method {
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  padding: 1.35rem 1.4rem 1.45rem;
  height: 100%;
  text-align: left;
}

.contact-method > i {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--bc-accent);
}

.contact-method h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--bc-ink);
  margin: 0 0 0.65rem;
}

.contact-method p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--bc-ink-muted);
  margin-bottom: 0.4rem;
}

.contact-method p:last-child {
  margin-bottom: 0;
}

.contact-method a {
  color: var(--bc-accent-hover);
  font-weight: 500;
  text-decoration: none;
  word-break: break-word;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-method .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.faq-card .accordion {
  margin-top: 0.25rem;
}

.faq-card .accordion-item {
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.faq-card .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-card .accordion-button {
  padding: 0.95rem 1.15rem;
  font-size: 0.95rem;
}

.faq-card .accordion-body {
  padding: 1rem 1.15rem 1.2rem;
  line-height: 1.55;
}

.social-link {
  color: var(--bc-ink-muted);
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.social-link:hover {
  color: #fff;
  background: var(--bc-accent);
  border-color: var(--bc-accent);
  transform: none;
  box-shadow: none;
}

.accordion-button {
  background: var(--bc-surface-2);
  color: var(--bc-ink);
}

.accordion-button:not(.collapsed) {
  background: var(--bc-accent-soft);
  color: var(--bc-accent-hover);
}

.cta-section .btn-primary {
  text-transform: none;
  letter-spacing: 0;
}

.contact-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--bc-ink);
}

.contact-subtitle {
  color: var(--bc-ink-muted);
}

/* —— Company profile page —— */
.hero-section {
  position: relative;
  border-bottom: 1px solid var(--bc-border);
  overflow: hidden;
}

.hero-section--light {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  overflow: hidden;
}

.hero-section--light::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  background-image: linear-gradient(var(--bc-grid-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--bc-grid-strong) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 65% at 50% 0%, #000 25%, transparent 70%);
  pointer-events: none;
}

/* Video hero: tall cinematic band (svh tracks mobile browser chrome) */
.hero-section.with-video {
  background: #0f172a;
  min-height: clamp(22rem, 58svh, 44rem);
  height: clamp(22rem, 58svh, 44rem);
  max-height: none;
}

@media (min-width: 992px) {
  .hero-section.with-video {
    min-height: clamp(24rem, min(62svh, 70vh), 48rem);
    height: clamp(24rem, min(62svh, 70vh), 48rem);
  }
}

/* Company hero video: half viewport (no full-page takeover) */
#company-hero.with-video {
  min-height: 50svh;
  height: 50svh;
}

/* YouTube / video hero (required for embed layout) */
.video-background {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

#hero-video-player {
  position: absolute;
  inset: 0;
}

#hero-video-player iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  /* Slight zoom + clip hides YouTube’s bottom hover chrome inside overflow:hidden */
  transform: translate(-50%, -50%) scale(1.07);
  border: 0;
  pointer-events: none;
  user-select: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.55) 100%);
  pointer-events: none;
}

.hero-section.with-video .hero-content {
  position: relative;
  z-index: 3;
  pointer-events: none;
  min-height: 0;
  padding: 0;
}

.hero-section.with-video .hero-content.hero-content--fallback {
  padding: 3rem 0 2rem;
}

.hero-section.with-video .hero-content .container {
  pointer-events: auto;
}

.hero-section--light .hero-content {
  min-height: auto;
  padding: 4.5rem 0 2rem;
}

.hero-section--light .company-profile-header .hero-title,
.hero-section--light .company-profile-header .hero-subtitle {
  color: var(--bc-ink);
}

.hero-section--light .company-badges .badge {
  background: var(--bc-surface) !important;
  color: var(--bc-ink) !important;
  border: 1px solid var(--bc-border);
}

.company-profile-header .hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
}

.with-video .company-profile-header .hero-title,
.with-video .company-profile-header .hero-subtitle {
  color: #fff;
}

.with-video .company-badges .badge {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.company-logo-large {
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  box-shadow: var(--bc-shadow-hover);
}

.with-video .company-logo-large {
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
}

.company-logo-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-info-header {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius-lg);
  padding: 1.5rem 1.5rem 1.35rem;
  box-shadow: var(--bc-shadow);
}

.company-info-header__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.company-info-header__label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  font-size: 0.68rem !important;
}

.company-header-logo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  background: var(--bc-surface-2);
  box-shadow: var(--bc-shadow);
}

.company-header-logo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-title {
  font-weight: 700;
  color: var(--bc-ink);
}

.company-description-header {
  color: var(--bc-ink-muted);
}

.company-summary-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.65rem;
}

.company-summary-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem 0.5rem 0.65rem;
  min-height: 2.85rem;
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.company-summary-stat__icon {
  flex-shrink: 0;
  font-size: 1.28rem !important;
  line-height: 1 !important;
  margin: 0 !important;
  color: var(--bc-accent) !important;
  opacity: 0.95;
}

.company-summary-stat__text {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  line-height: 1.15;
  min-width: 0;
}

.company-summary-stat__value {
  font-size: 1.12rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--bc-ink);
}

.company-summary-stat__label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--bc-ink-muted);
}

.key-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 576px) {
  .key-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.key-info-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.key-info-tile:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.22);
  box-shadow: var(--bc-shadow);
}

.key-info-tile__icon {
  flex-shrink: 0;
  width: 2.55rem;
  height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--bc-gradient-sheen);
  border: 1px solid rgba(var(--bc-accent-rgb), 0.18);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.key-info-tile__icon .material-icons {
  font-size: 1.32rem !important;
  line-height: 1 !important;
  color: var(--bc-accent) !important;
}

.key-info-tile__body {
  min-width: 0;
  flex: 1;
}

.key-info-tile__label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bc-ink-muted);
  margin-bottom: 0.28rem;
}

.key-info-tile__value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bc-ink);
  line-height: 1.38;
  word-break: break-word;
}

.key-info-tile__value a {
  color: var(--bc-accent);
  font-weight: 600;
  text-decoration: none;
}

.key-info-tile__value a:hover {
  text-decoration: underline;
  text-decoration-color: var(--bc-gold);
  text-underline-offset: 0.15em;
}

.info-card {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  overflow: hidden;
  box-shadow: var(--bc-shadow);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.info-card:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.22);
  box-shadow: var(--bc-shadow-hover);
  transform: none;
}

.info-card .card-header {
  background: linear-gradient(180deg, rgba(var(--bc-gold-rgb), 0.07) 0%, var(--bc-surface-2) 42%);
  border-bottom: 1px solid var(--bc-border);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: inset 3px 0 0 0 var(--bc-gold);
}

.info-card .card-header .section-title {
  font-size: 1.05rem;
  margin: 0;
  font-weight: 600;
}

.info-card .card-body {
  padding: 1.35rem 1.4rem 1.45rem;
}

.info-card .card-header {
  padding: 0.95rem 1.25rem;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bc-border);
}

.contact-list__item:first-child {
  padding-top: 0;
}

.contact-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-list__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bc-accent-soft);
}

.contact-list__icon .material-icons {
  font-size: 1.15rem;
  margin: 0;
}

.contact-list__body {
  min-width: 0;
  flex: 1;
}

.contact-list__name {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bc-ink-muted);
  margin-bottom: 0.2rem;
}

.contact-list__value {
  font-size: 0.95rem;
  color: var(--bc-ink);
  word-break: break-word;
}

.stat-item {
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 1.25rem;
}

.stat-item .material-icons {
  color: var(--bc-accent);
}

.stat-item h4 {
  color: var(--bc-ink);
}

.stat-item p {
  color: var(--bc-ink-muted);
}

.service-item,
.financial-info-item {
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  padding: 1.1rem;
  height: 100%;
  transition: border-color 0.15s ease;
}

.service-item:hover,
.financial-info-item:hover {
  background: var(--bc-surface);
  border-color: rgba(var(--bc-accent-rgb), 0.25);
  transform: none;
  box-shadow: var(--bc-shadow);
}

.service-item .material-icons {
  color: var(--bc-accent);
}

.info-list li {
  color: var(--bc-ink-muted);
}

.info-list li .material-icons {
  color: var(--bc-accent);
}

.info-list li strong {
  color: var(--bc-ink);
}

.similar-companies {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.similar-company {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.8rem;
  min-height: 3.5rem;
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.similar-company:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.3);
  color: var(--bc-accent-hover);
  background: var(--bc-surface);
  box-shadow: var(--bc-shadow);
  transform: none;
}

.similar-company__thumb {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  background: var(--bc-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.similar-company__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.similar-company-info {
  min-width: 0;
  flex: 1;
}

.similar-company-info .company-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.2rem;
  color: var(--bc-ink);
}

.similar-company:hover .company-name {
  color: var(--bc-accent-hover);
}

.similar-company-info .company-category {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.similar-company-info .company-category .badge {
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.2;
}

.financial-login-section {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--bc-border);
}

.bc-login-prompt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1.2rem;
  background: linear-gradient(145deg, var(--bc-surface-2) 0%, rgba(var(--bc-accent-rgb), 0.06) 58%, rgba(var(--bc-gold-rgb), 0.08) 100%);
  border: 1px solid var(--bc-border);
  border-radius: var(--bc-radius);
  box-shadow: var(--bc-shadow);
}

.bc-login-prompt__lead {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0;
  min-width: 0;
}

.bc-login-prompt__icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem !important;
  line-height: 1 !important;
  border-radius: 10px;
  background: var(--bc-accent-soft);
  color: var(--bc-accent-hover);
}

.bc-login-prompt__copy {
  margin: 0;
  padding: 0.15rem 0 0;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--bc-ink-muted);
}

.bc-login-prompt__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 2px 10px rgba(var(--bc-accent-rgb), 0.22);
  transition: box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.bc-login-prompt__btn .material-icons {
  font-size: 1.15rem;
  line-height: 1;
  margin: 0;
}

.bc-login-prompt__btn:hover,
.bc-login-prompt__btn:focus {
  box-shadow: 0 2px 4px rgba(15, 23, 42, 0.08), 0 4px 16px rgba(var(--bc-accent-rgb), 0.28);
}

.bc-login-prompt__btn:active {
  transform: translateY(1px);
}

@media (max-width: 575.98px) {
  .bc-login-prompt__btn {
    width: 100%;
  }
}

.blur-message {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  box-shadow: var(--bc-shadow-hover);
}

.blur-message p {
  color: var(--bc-ink);
}

.company-card {
  background: var(--bc-surface);
  border: 1px solid var(--bc-border);
  color: inherit;
}

.company-card .section-title {
  color: var(--bc-ink);
}

.badge.bg-primary {
  background-color: var(--bc-accent) !important;
}

.badge.bg-info {
  background: linear-gradient(135deg, #0f4a6b 0%, #1976a3 100%) !important;
  color: #fff !important;
}

.badge.bg-success {
  background: linear-gradient(135deg, #0d5c4a 0%, #1a7a8c 100%) !important;
  color: #fff !important;
}

/* Live search dropdown (injected by home.js / list.js) */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1080;
  display: none;
  border: 1px solid var(--bc-border);
  border-radius: 12px;
  background: var(--bc-surface);
  box-shadow: var(--bc-shadow-hover);
}

/* Body-portal dropdown: stacks above page sections below the hero (see company-search-dropdown.js) */
.search-results.search-results--floating {
  position: fixed;
  left: 0;
  top: 0;
  width: auto;
  right: auto;
  margin-top: 0;
  z-index: 1040;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.search-result-item {
  display: block;
  border-bottom: 1px solid var(--bc-border);
  color: inherit;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: var(--bc-surface-2);
}

.btn-outline-primary {
  --bs-btn-color: #145a7a;
  --bs-btn-border-color: #1976a3;
  --bs-btn-hover-bg: #145a7a;
  --bs-btn-hover-border-color: #124d6a;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #0f4a6b;
  --bs-btn-active-border-color: #0f4a6b;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background: linear-gradient(145deg, #124d6a 0%, #1f8aad 78%, #9a7820 100%);
  border-color: #124d6a;
  color: #fff;
}

/* —— Profile —— */
.avatar-placeholder {
  background: linear-gradient(135deg, var(--bc-ocean-deep) 0%, var(--bc-accent) 55%, var(--bc-gold) 100%);
  border-radius: 16px;
  box-shadow: var(--bc-shadow-hover);
}

.profile-section .hero-title,
.profile-header .hero-title {
  color: var(--bc-ink);
}

.profile-section .hero-subtitle,
.profile-header .hero-subtitle {
  color: var(--bc-ink-muted);
}

.profile-info-item,
.quick-action-item,
.status-item,
.recent-search-item {
  border-color: var(--bc-border);
}

.quick-action-item:hover {
  border-color: rgba(var(--bc-accent-rgb), 0.22);
  box-shadow: 0 0 0 1px rgba(var(--bc-gold-rgb), 0.18);
}

.material-icons {
  color: var(--bc-accent);
}

.auth-link {
  color: var(--bc-accent-hover);
  font-weight: 600;
}

.auth-link:hover {
  color: var(--bc-accent);
  text-decoration: underline;
  text-decoration-color: var(--bc-gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

/* —— Responsive —— */
@media (max-width: 767.98px) {
  .company-row {
    padding: 1rem;
  }

  .company-logo {
    width: 3.75rem;
    height: 3.75rem;
  }

  .company-header-logo {
    width: 4.75rem;
    height: 4.75rem;
  }

  .company-info-header {
    padding: 1.15rem 1.05rem 1.2rem;
  }

  .company-info-header__label {
    text-align: center;
    margin-bottom: 0.35rem !important;
  }

  .company-info-header__main .company-title {
    font-size: clamp(1.2rem, 5.2vw, 1.45rem);
    text-align: center;
    margin-bottom: 0.5rem !important;
  }

  .company-info-header__main .company-description-header {
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.85rem !important;
  }

  .company-badges-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.85rem !important;
  }

  .company-badges-header .badge {
    margin: 0 !important;
  }

  .company-summary-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    width: 100%;
  }

  .company-summary-stat {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.65rem 0.4rem;
    gap: 0.35rem;
    min-height: auto;
  }

  .company-summary-stat__text {
    align-items: center;
  }

  .company-details-section .info-card .card-body {
    padding: 1.05rem 1rem 1.15rem;
  }

  .company-details-section .info-card .card-header {
    padding: 0.8rem 1rem;
  }

  .company-details-section .stat-item {
    padding: 1rem;
  }

  .search-panel {
    padding: 1rem;
  }

  .list-company-card,
  .contact-info-card,
  .faq-card {
    padding: 1.35rem;
  }

  .site-nav-actions {
    width: 100%;
  }

  .site-nav-actions .btn {
    flex: 1;
    min-width: calc(50% - 0.25rem);
  }
}
