:root{
  --brand-green:#2aa86a;
  --brand-green-dark:#228b57;
  --brand-green-soft:#e9f8f0;
  --brand-text:#08302a;
  --brand-border:rgba(34,139,87,0.12);
}

.accounting-theme {
  --main-bg:#ffffff;
  background: #fff; /* keep page light */
}

/* Force override of global dark .main-bg for accounting route */
.main-bg.accounting-theme{
  background: #ffffff !important;
  color: var(--brand-text) !important;
}

/* Ensure text inside accounting sections is dark and readable */
.accounting-theme, .accounting-theme *{
  color: inherit;
}
.accounting-theme p, .accounting-theme a, .accounting-theme span{
  color: var(--brand-text) !important;
}
.accounting-theme .sub-title{ color:var(--brand-green) !important; }
.accounting-theme h1,
.accounting-theme h2,
.accounting-theme h3,
.accounting-theme h4{ color:var(--brand-text) !important; }

.accounting-theme .butn,
.accounting-theme .butn-bg{
  background:var(--brand-green) !important;
  border-color:var(--brand-green) !important;
}

.accounting-theme .butn .text,
.accounting-theme .butn span{ color:#fff !important; }

.accounting-theme .accounting-butn-outline{
  background:transparent !important;
  border:1px solid var(--brand-border) !important;
}

.accounting-theme .accounting-butn-outline span{ color:var(--brand-text) !important; }

.accounting-hero{
  border-bottom:1px solid var(--brand-border);
  background: #ffffff; /* ensure hero is bright */
  color:var(--brand-text);
}

.accounting-hero h1,
.accounting-hero h2,
.accounting-hero h3,
.accounting-hero p,
.accounting-hero .sub-title{
  color:var(--brand-text) !important;
}

.accounting-hero__brand{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.accounting-hero__logo{
  max-width:260px;
  width:100%;
  height:auto;
}

.accounting-hero__lineage{
  margin:0;
  color:var(--brand-text);
  font-weight:500;
  opacity:0.8;
}

.accounting-badge{
  display:inline-block;
  padding:8px 14px;
  border-radius:99px;
  border:1px solid var(--brand-border);
  background:var(--brand-green-soft);
}

.accounting-hero__copy{
  max-width:620px;
  color:#32564b;
}

.accounting-hero__actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.accounting-hero__visual{
  padding:18px;
  border:1px solid var(--brand-border);
  border-radius:12px;
  background:#ffffff; /* keep visual cards neutral and light */
}

.accounting-kpi-card{
  padding:16px;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(15, 125, 79, 0.1);
}

.accounting-kpi-card + .accounting-kpi-card{
  margin-top:12px;
}

.accounting-kpi-card h6{
  margin:0 0 6px;
  color:#3f6d5f;
}

.accounting-kpi-card h3{
  margin:0 0 8px;
}

.accounting-kpi-card p{
  margin:0;
  color:#4a665c;
}

.accounting-theme .services-inline2{
  /* light green band for Services section */
  background: linear-gradient(180deg, rgba(42,168,106,0.12) 0%, rgba(42,168,106,0.06) 100%);
  border-radius: 12px;
  padding: 28px 0;
}

/* Ensure heading/text in services band is dark for readability */
.accounting-theme .services-inline2 .accounting-light-title{
  color: var(--brand-text) !important;
}
.accounting-theme .services-inline2 .accounting-light-copy{
  color: rgba(8,48,42,0.95) !important;
}

.accounting-theme .services-inline2 .img a{
  background:#fff;
}

.accounting-theme .services-inline2 .img a span{
  color:var(--brand-green-dark) !important;
}

.accounting-light-title{ color:var(--brand-text) !important; }
.accounting-light-copy{ color:rgba(8,48,42,0.9) !important; }

.accounting-benefits .item{
  border:1px solid var(--brand-border);
  border-radius:16px;
  padding:34px 22px;
  background:#fff;
}

.accounting-benefits .item h6{ color:#274e43 !important; }

.accounting-profile{
  /* solid light green background to match Services band color */
  background: var(--brand-green-soft);
  border-radius: 12px;
  padding: 36px 0;
  color: var(--brand-text);
}

.accounting-profile .img{
  border-radius:10px;
  overflow:hidden;
}

.accounting-profile .cont h4,
.accounting-profile .cont p{
  color: var(--brand-text) !important;
}

.accounting-profile .img{
  border:1px solid rgba(255, 255, 255, 0.2);
}

.accounting-cta{
  background:#f8fffb;
  border-top:1px solid var(--brand-border);
  border-bottom:1px solid var(--brand-border);
}

.accounting-cta__copy{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
  color:#345d51;
}

.accounting-bridge{ background:transparent; }

.accounting-brand-top{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  padding:18px 0;
}

.accounting-brand-top img{ height:40px; }

.accounting-brand-top__label{
  font-size:16px;
  color:var(--brand-text);
}

.accounting-brand-top__link{
  font-size:18px;
  color:var(--brand-text);
  font-weight:700;
  text-decoration:none;
}

.accounting-theme .brand-connector{
  margin-top:30px;
  text-align:center;
  color:var(--brand-text);
}

.accounting-theme .brand-connector a{
  color:var(--brand-green);
  font-weight:700;
}

/* Back-to-main / bridge styles */
.accounting-bridge{
  background: #ffffff;
  border-top: 1px solid var(--brand-border);
  padding: 36px 0;
}

.accounting-bridge__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.accounting-brand-top{
  display:flex;
  align-items:center;
  gap:18px;
}

.accounting-brand-top .logo img{
  height:48px;
}

.accounting-brand-top__label{
  font-size:14px;
  color:rgba(8,48,42,0.7);
}

.accounting-brand-top__link{
  font-size:18px;
  color:var(--brand-text);
  font-weight:700;
}

.accounting-bridge__cta p{ margin:0 0 10px; color:rgba(8,48,42,0.85); }
.accounting-bridge__cta .butn{ box-shadow: 0 6px 18px rgba(10,70,50,0.06); }

.brand-email{ color:var(--brand-green); font-weight:600; text-decoration:none }

@media (max-width: 768px){
  .accounting-bridge__inner{ flex-direction:column; align-items:flex-start }
  .accounting-bridge__cta{ width:100% }
}

@media screen and (max-width: 768px){
  .accounting-hero__brand{
    justify-content:flex-start;
  }

  .accounting-hero__logo{
    max-width:220px;
  }

  .accounting-hero__visual{
    padding:16px;
  }
}

/* Override global red radial used by .numbers-crev for accounting pages */
.accounting-theme .numbers-crev:after{
  background: radial-gradient(circle, rgba(42,168,106,0.12) 0%, transparent 66%) !important;
  opacity: 0.15 !important;
  left: 10vw;
  bottom: -40vw;
  z-index: -1;
}
