/* Bootstrap 5.3.8 integration: brand theme and editorial consulting layout. */
:root {
  --bs-primary: #245e64;
  --bs-primary-rgb: 36, 94, 100;
  --bs-body-color: #203b43;
  --bs-body-font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  --ink: #203b43;
  --navy: #203b43;
  --blue: #245e64;
  --warm: #f3f7f6;
}
body {
  font-family: var(--bs-body-font-family);
  color: var(--ink);
  background: #fff;
}
.container {
  max-width: 1240px;
}
.site-header.navbar {
  padding: 0;
  height: 88px;
}
.header-inner nav.navbar-collapse {
  justify-content: center;
  flex-grow: 1;
}
.btn-primary {
  --bs-btn-bg: #245e64;
  --bs-btn-border-color: #245e64;
  --bs-btn-hover-bg: #194b51;
  --bs-btn-hover-border-color: #194b51;
}
.btn-outline-primary {
  --bs-btn-color: #245e64;
  --bs-btn-border-color: #b8cecb;
  --bs-btn-hover-bg: #edf4f2;
  --bs-btn-hover-color: #203b43;
  --bs-btn-hover-border-color: #8aaba5;
}
.button.btn {
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 24px;
}
.tag.badge {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.4;
}
.form-select {
  background-color: #fff;
}
.consulting-home .hero {
  padding-top: 76px;
  background: #fff;
}
.consulting-home .hero-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-bottom: 48px;
}
.hero-copy {
  max-width: 960px;
  text-align: center;
  margin: auto;
}
.hero-copy .eyebrow {
  justify-content: center;
  color: #54726e;
  letter-spacing: 2px;
}
.hero-copy .blue-line {
  display: none;
}
.hero-copy h1 {
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -2px;
  margin: 24px 0;
}
.hero-copy h1 .hero-accent {
  color: #245e64;
}
.hero-description {
  max-width: 650px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
  color: #657777;
}
.hero-actions {
  justify-content: center;
  margin-top: 28px;
}
.hero-note {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #879591;
}
.consulting-home .hero-product {
  width: 100%;
  max-width: 1040px;
  transform: none;
  padding: 22px 26px 0;
  background: #f0f5f3;
  border-radius: 20px;
  border: 1px solid #e3ebe7;
}
.product-caption {
  padding: 0 4px 16px;
}
.workbench {
  border-radius: 12px 12px 0 0;
  box-shadow: 0 12px 36px #284a3c0b;
  border-color: #dce6e1;
}
.workbench-sidebar {
  background: #f8faf9;
}
.workbench-main {
  padding: 22px 26px;
}
.metric-grid {
  gap: 14px;
}
.metric-grid > div {
  background: #fafcfb;
  border: 1px solid #e5ece8;
  border-radius: 8px;
  padding: 14px 18px;
}
.workspace-middle {
  grid-template-columns: 1.7fr 1fr;
}
.workspace-title h2 {
  font-size: 20px;
}
.chart-panel,
.attention-panel {
  border-color: #e3ebe7;
}
.hero-bottom {
  border: 0;
  padding-top: 12px;
  padding-bottom: 26px;
}
.section {
  padding: 104px 0;
}
.section-heading {
  margin-bottom: 44px;
  align-items: flex-end;
}
.section-heading h2 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -1px;
}
.section-heading .eyebrow {
  color: #77918a;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.services {
  background: #f3f7f5;
}
.service-grid {
  gap: 22px;
}
.service-card.card {
  padding: 0;
  border: 1px solid #e0e9e4;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}
.service-card .card-body {
  padding: 30px;
}
.service-card.card:hover {
  border-color: #93b1a6;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px #26463d08;
}
.service-card .card-title {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.5;
  margin: 24px 0 18px;
}
.service-card .card-body > p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.9;
}
.service-card .deliverable {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #e4ebe7;
}
.service-card .value {
  margin-top: 22px;
  font-size: 12px !important;
  color: #54736a !important;
}
.service-icon {
  background: #edf4ef;
  color: #3f7665;
  border-radius: 12px;
}
.scenario-list {
  display: grid;
  gap: 16px;
}
.scenario-row {
  padding: 30px;
  border: 1px solid #e0e9e4;
  border-radius: 12px;
  background: #fff;
  grid-template-columns: 135px 1fr 100px;
}
.scenario-row:hover {
  background: #f9fbfa;
}
.scenario-index {
  color: #427561;
}
.scenario-index span {
  font-size: 9px;
  letter-spacing: 1px;
}
.scenario-main h3 {
  font-size: 23px;
  font-weight: 500;
}
.round-link {
  border-radius: 8px;
  width: auto;
  height: auto;
  padding: 9px 12px;
  font-size: 12px;
}
.work {
  background: #f3f7f5;
}
.work-feature.card,
.work-secondary .card {
  border: 1px solid #dde7e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}
.work-secondary .card {
  padding: 0;
}
.process-grid {
  gap: 18px;
}
.process-grid .card {
  border: 1px solid #e0e9e4;
  border-radius: 12px;
  padding: 26px;
  background: #fafcfb;
}
.process-grid .step-top {
  border: 0;
  padding: 0;
  margin-bottom: 28px;
}
.process-grid h3 {
  font-size: 21px;
  font-weight: 500;
}
.process-grid .step-top span:first-child {
  font-size: 30px;
  font-weight: 400;
  color: #6c9485;
}
.contact {
  background: #f3f7f5;
}
.contact-sheet.card {
  border-color: #dce6df;
  border-radius: 12px;
  padding: 32px;
  box-shadow: none;
}
.contact h2 {
  font-weight: 500;
}
.form-control:focus,
.form-select:focus {
  border-color: #739c8a;
  box-shadow: 0 0 0 0.2rem #739c8a20;
}
.site-footer {
  background: #fff;
}
@media (min-width: 992px) {
  .header-inner nav.navbar-collapse {
    display: flex !important;
  }
  .menu-toggle.navbar-toggler {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .header-contact {
    display: none;
  }
  .menu-toggle.navbar-toggler {
    display: block;
    padding: 0;
    box-shadow: none;
  }
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
  }
  .header-inner nav.navbar-collapse {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    padding: 0 20px;
    z-index: 50;
  }
  .header-inner nav.collapse:not(.show) {
    display: none;
  }
  .header-inner nav.show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px;
  }
  .header-inner nav.collapsing {
    display: block;
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease;
  }
  .header-inner nav .nav-link {
    padding: 14px 0;
    border-bottom: 1px solid #edf2ef;
  }
  .service-card .card-body {
    padding: 24px;
  }
  .scenario-row {
    grid-template-columns: 100px 1fr 85px;
  }
}
@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
    padding-left: 0;
    padding-right: 0;
  }
  .site-header.navbar {
    height: 72px;
  }
  .brand {
    width: 134px;
    flex-basis: 134px;
  }
  .consulting-home .hero {
    padding-top: 46px;
  }
  .consulting-home .hero-grid {
    gap: 32px;
    padding-bottom: 24px;
  }
  .hero-copy {
    text-align: left;
    width: 100%;
  }
  .hero-copy .eyebrow {
    justify-content: flex-start;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .hero-copy h1 {
    font-size: 35px;
    letter-spacing: -1.6px;
    margin: 20px 0;
    line-height: 1.4;
  }
  .hero-description {
    font-size: 14px;
    line-height: 1.9;
  }
  .hero-actions {
    justify-content: flex-start;
    gap: 10px;
    margin-top: 24px;
  }
  .button.btn {
    font-size: 12px;
    padding: 12px 15px;
  }
  .hero-note {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .consulting-home .hero-product {
    padding: 14px 10px 0;
    border-radius: 12px;
    width: 100%;
  }
  .product-caption {
    font-size: 10px;
    padding: 0 2px 12px;
  }
  .workbench-main {
    padding: 12px;
  }
  .workspace-title h2 {
    font-size: 14px;
  }
  .metric-grid {
    gap: 5px;
  }
  .metric-grid > div {
    padding: 9px 6px;
  }
  .metric-grid strong {
    font-size: 21px;
    white-space: nowrap;
  }
  .metric-grid small {
    font-size: 9px;
  }
  .workspace-middle {
    grid-template-columns: 1fr;
  }
  .attention-panel {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
  .service-grid {
    gap: 16px;
  }
  .service-card .card-body {
    padding: 26px;
  }
  .service-card .card-title {
    font-size: 24px;
    margin: 20px 0 14px;
  }
  .service-card .card-title br {
    display: none;
  }
  .service-card .card-body > p {
    font-size: 14px;
  }
  .scenario-row {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 18px;
  }
  .scenario-main h3 {
    font-size: 21px;
  }
  .scenario-index {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .round-link {
    justify-self: start;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .process-grid .card {
    padding: 20px;
  }
  .process-grid h3 {
    font-size: 18px;
  }
  .process-grid .step-top {
    margin-bottom: 14px;
  }
  .contact-sheet.card {
    padding: 24px;
  }
  .form-control,
  .form-select {
    font-size: 16px;
  }
}
@media (max-width: 360px) {
  .hero-copy h1 {
    font-size: 30px;
  }
  .hero-copy .eyebrow {
    font-size: 9px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
}
