/* Financial Clean-Up inner page styling matched to UDesign reference screenshot */

.financial-page-shell {
  background: #111;
  color: #f8f8f8;
}

.financial-page-main {
  background: #fff;
  color: #333;
  min-height: calc(100vh - 96px);
  position: relative;
}

/* Page Hero Banner */
.financial-page-hero-rail {
  background: #111;
  position: relative;
  margin: 0;
  z-index: 1;
}

.financial-page-banner {
  width: 100%;
  max-width: 1764px;
  height: 320px;
  margin: 0 auto -60px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(17, 17, 17, 0.65), rgba(17, 17, 17, 0.65)), url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2022/10/bg-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.financial-page-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translateY(1px);
}

.financial-page-banner h1 {
  margin: 0 0 12px;
  color: #fff;
  font: 600 46px/1.1 Poppins, var(--font-body);
  letter-spacing: -1.2px;
}

.financial-page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #bebebe;
  font: 400 16px/1.5 Poppins, var(--font-body);
}

.financial-page-breadcrumb a {
  color: #696969;
  transition: color 0.3s ease;
}

.financial-page-breadcrumb a:hover,
.financial-page-breadcrumb a:focus {
  color: #bebebe;
}

.financial-page-breadcrumb .delimiter {
  color: #696969;
  font-size: 15px;
}

/* Main Section Body */
.financial-page-body {
  position: relative;
  background: #fcfcfc;
  padding: 160px 30px 140px;
  overflow: visible;
}

.financial-container {
  width: min(100%, 1200px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 65px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* Left Column Content */
.financial-info h2 {
  margin: 0 0 24px;
  color: #38383a;
  font: 600 38px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.7px;
}

.financial-lead {
  margin: 0 0 24px;
  color: #555;
  font: 400 16px/1.8 Poppins, var(--font-body);
}

.financial-copy {
  margin: 0 0 36px;
  color: #929292;
  font: 400 14px/1.8 Poppins, var(--font-body);
}

/* Checklist */
.financial-checklist {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.financial-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #777;
  font: 400 15px/1.5 Poppins, var(--font-body);
}

.financial-check-item .check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ed7041;
  display: grid;
  place-content: center;
  color: #ed7041;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Right Column Accordion Widget */
.financial-accordion-wrap {
  position: relative;
  z-index: 2;
  padding-top: 10px;
}

.financial-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.financial-accordion .accordion-item {
  border-radius: 0;
  overflow: hidden;
}

.financial-accordion .accordion-header {
  width: 100%;
  padding: 20px 26px;
  background: #fff;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #38383a;
  font: 500 17px/1.2 Poppins, var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.financial-accordion .accordion-header:hover {
  border-color: #ed7041;
  color: #ed7041;
}

.financial-accordion .accordion-header.active {
  background: #ed7041;
  border-color: #ed7041;
  color: #fff;
}

.financial-accordion .accordion-icon {
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.3s ease;
}

.financial-accordion .accordion-content {
  display: none;
  background: #fff;
  border: 1px solid #eaeaea;
  border-top: 0;
  padding: 26px 28px;
  color: #777;
  font: 400 14px/1.8 Poppins, var(--font-body);
}

.financial-accordion .accordion-content.active {
  display: block;
}

/* Background Geometry Overlay Accents matched to about.html */
.financial-page-body:before {
  content: "";
  position: absolute;
  right: -125px;
  top: 89px;
  width: 250px;
  height: 250px;
  border: 1px solid #ed7041;
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 1;
}

.financial-page-body:after {
  content: "";
  position: absolute;
  right: 0;
  top: 296px;
  width: 0;
  height: 0;
  border-top: 96px solid transparent;
  border-bottom: 96px solid transparent;
  border-left: 0;
  border-right: 95px solid #ed7041;
  pointer-events: none;
  z-index: 1;
}

/* Financial CTA Section matched to reference screenshot */
.financial-cta-section {
  position: relative;
  background: #151515 url("assets/theme/business-consulting-6/wp-content/uploads/sites/87/2024/12/bg-2.jpg") center/cover no-repeat;
  color: #fff;
  margin: 0;
  padding: 115px 30px 125px;
  text-align: center;
  overflow: hidden;
}

.financial-cta-content {
  max-width: 830px;
  margin: 0 auto;
}

.financial-cta-content h2 {
  max-width: 570px;
  margin: 0 auto 17px;
  color: #fff;
  font: 400 45px/1.2 Poppins, var(--font-body);
  letter-spacing: -0.8px;
}

.financial-cta-content p {
  max-width: 830px;
  margin: 0 auto 42px;
  color: #777;
  font: 400 16px/1.6 Poppins, var(--font-body);
}

.financial-cta-content .button {
  background: transparent;
  border: 1px solid #ed7041;
  color: #ed7041;
  padding: 18px 37px;
  font: 500 16px/1 Poppins, var(--font-body);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.financial-cta-content .button:hover,
.financial-cta-content .button:focus-visible {
  background: #ed7041;
  color: #fff;
  transform: translateY(-2px);
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .financial-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 767px) {
  .financial-page-body:before,
  .financial-page-body:after {
    display: none;
  }
  .financial-page-banner {
    height: 265px;
    margin-bottom: -48px;
    padding: 0 22px;
  }
  .financial-page-banner h1 {
    font-size: 38px;
  }
  .financial-page-body {
    padding: 130px 22px 90px;
  }
  .financial-info h2 {
    font-size: 32px;
  }
  .financial-lead {
    font-size: 15px;
  }
  .financial-accordion .accordion-header {
    padding: 16px 20px;
    font-size: 15px;
  }
  .financial-accordion .accordion-content {
    padding: 20px 22px;
    font-size: 13.5px;
  }
  .financial-cta-section {
    padding: 95px 22px 85px;
  }
  .financial-cta-content h2 {
    font-size: 34px;
  }
  .financial-cta-content p {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .financial-cta-content .button {
    font-size: 14px;
    padding: 16px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .financial-page-breadcrumb a,
  .financial-accordion .accordion-header,
  .financial-accordion .accordion-icon,
  .financial-cta-content .button {
    transition: none;
  }
}
