.wealth-page .hero-section .hero-background {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.wealth-page .hero-section .hero-content {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 700px;
  width: 100%;
  left: 0;
  right: unset;
  bottom: 8%;
  z-index: 2;
  padding: 64px;
  background: rgba(var(--accent-blue-rgb),0.8);
  clip-path: polygon(0 0, calc(100% - 72px) 0, 100% 72px, 100% 100%, 0 100%);
  background-image: 
    linear-gradient(135deg, transparent calc(0% + 6px), rgba(var(--accent-blue-rgb),0.8) 0%, rgba(var(--accent-blue-rgb),0.8) 100%, transparent 0%),
    linear-gradient(135deg, transparent calc(0% + 6px), var(--accent-blue) 0%, var(--accent-blue) calc(100% - 14px), transparent 0%);
  background-size: 20px 20px, 20px 20px;
  background-position: top right, top right;
  background-repeat: no-repeat, no-repeat;
}

.wealth-page .hero-section .hero-content .hero-text,
.wealth-page .hero-section .hero-content .breadcrumb a,
.wealth-page .hero-section .hero-content .breadcrumb .current {
  color: var(--white);
}

.wealth-about-container .section-title,
.wealth-about-container .section-description {
  color: var(--dark-gray);
}

.wealth-page .hero-section .hero-content .breadcrumb .separator {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%3E%3Cg%20clip-path%3D%22url(%23a)%22%3E%3Cpath%20d%3D%22m6%204%204%204-4%204%22%20stroke%3D%22%23fff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22a%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M0%200h16v16H0z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E");
}

.wealth-statement {
    text-align: left;
    padding: 96px 48px;
    background: var(--accent-blue);
    display: flex;
    flex-direction: column;
    gap: 72px;
    position: relative;
}

.wealth-statement-container {
    max-width: 960px;
    margin: 0 auto;
}


.wealth-statement-container::before {
    content: '';
    float: left;
    width: 48px;
    height: 43px;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2248%22%20height%3D%2243%22%20viewBox%3D%220%200%2048%2043%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M26.667%207.7c0-4.256%203.876-7.7%208.666-7.7H48v15.4H36.667c-1.105%200-2%20.795-2%201.777s.895%201.776%202%201.776H48v23.692H26.667V17.176c0-.981-.896-1.776-2-1.776H11.333c-1.104%200-2%20.795-2%201.777s.896%201.776%202%201.776h11.334v23.692H0V9.477C0%204.239%204.771%200%2010.667%200h15.428c-2.124%202.014-3.428%204.721-3.428%207.7%200%20.981.895%201.777%202%201.777s2-.796%202-1.777%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
}

.wealth-statement-lead {
    padding-left: 64px;
}

.wealth-statement-lead p {
    font-size: 28px;
    color: var(--white);
    font-weight: 400;
    margin-bottom: 0;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    align-self: stretch;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.pillar-icon {
    width: 96px;
    height: 96px;
    padding: 20px;
    border: 1px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-icon svg {
    width: 56px;
    height: 56px;
}

.pillar-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.pillar-card p {
    font-size: 18px;
    margin: 0;
    color: var(--white);
}

.wealth-process {
  padding: 72px 48px 36px;
}

.wealth-process-header,
.wealth-positioning-header,
.capabilities-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin: 0 auto 40px;
    text-align: center;
    max-width: 640px;
}

.wealth-process-header .section-title,
.wealth-process-header .section-description,
.wealth-positioning-header .section-title,
.wealth-positioning-header .section-description,
.capabilities-header .section-title,
.capabilities-header .section-description {
    margin-bottom: 0;
}

.wealth-process .process-steps {
    display: flex;
    gap: 36px;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 auto;
}

.wealth-process .process-card {
  border: 1px solid var(--accent-blue);
  border-radius: var(--border-radius);
  padding: 32px 24px;
  width: 375px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  justify-content: space-between;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
  background: linear-gradient(135deg, transparent calc(100% - 14px), var(--accent-blue) 0%, var(--accent-blue) 100%, transparent 0%) bottom right / 20px 20px no-repeat;
}

.wealth-process .process-card-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wealth-process .process-number {
  font-family: var(--primary-font);
  font-size: 38px;
  font-weight: 700;
  color: var(--accent-blue);
  text-align: right;
}

.wealth-process .process-card h4 {
  font-family: var(--primary-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-blue);
  margin: 0;
}

.wealth-positioning {
  padding: 36px 48px 36px;
}

.positioning-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 0 auto;
}

.positioning-card {
    background: var(--white);
    display: flex;
    padding: 32px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
    border-radius: var(--border-radius);
}

.positioning-card h3 {
    font-family: var(--primary-font);
    font-weight: 700;
    font-size: 24px;
    color: var(--accent-blue);
    margin: 0;
    white-space: nowrap;
}

.positioning-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.positioning-list li {
  font-family: var(--primary-font);
  font-size: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.positioning-list li::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 32px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2226%22%20viewBox%3D%220%200%2026%2026%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23.618%2010.833a10.834%2010.834%200%201%201-5.202-7.22%22%20stroke%3D%22%23364591%22%20stroke-width%3D%221.667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22m9.75%2011.917%203.25%203.25L23.833%204.333%22%20stroke%3D%22%23364591%22%20stroke-width%3D%221.667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}

/* .positioning-list li span.cta-link {
    border-radius: 4px;
background: #C11525;
}
 */
.capabilities {
  padding: 36px 48px 72px;
}

.capabilities .pillars-grid {
    max-width: 1200px;
}

.capabilities .pillar-card h3,
.capabilities .pillar-card p {
    color: var(--dark-color);
}

.capabilities .pillar-icon {
    border-color: var(--accent-blue);
}

.wealth-service-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.wealth-service-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 64px 64px 0;
  border-color: transparent var(--accent-orange) transparent transparent;
  z-index: 10;
}

.wealth-service-image img {
  width: 100%;
  min-height: 420px;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.wealth-service-content {
  background-color: var(--accent-orange);
  color: var(--white);
  padding: 48px 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  position: relative;
}

.whom-we-serve .wealth-service-content {
    background-color: var(--dark-gray);
}

.next-steps .wealth-service-content {
    background-color: var(--accent-blue);
}

.whom-we-serve .wealth-service-image::after {
    border-width: 0 0 64px 64px;
    border-color: transparent transparent transparent var(--dark-gray);
    right: unset;
    left: 0;
}

.next-steps .wealth-service-image::after {
    border-color: transparent var(--accent-blue) transparent transparent;
}

.wealth-service-content .positioning-list li::before {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2226%22%20height%3D%2226%22%20viewBox%3D%220%200%2026%2026%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M23.618%2010.833a10.834%2010.834%200%201%201-5.202-7.22%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22m9.75%2011.917%203.25%203.25L23.833%204.333%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.667%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
}




/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .wealth-hero {
        height: 600px;
    }

    .wealth-hero-title {
        font-size: 36px;
    }

    .pillars-container,
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wealth-hero {
        height: 500px;
    }

    .wealth-hero-label,
    .wealth-hero-title {
        font-size: 18px;
    }

    .breadcrumb.breadcrumb-light {
        top: 20px;
        left: 20px;
        font-size: 14px;
    }

    .wealth-statement {
        padding: 48px 24px;
    }

    .wealth-statement-text {
        font-size: 18px;
    }

    .three-pillars,
    .approach-section,
    .positioning-section,
    .capabilities-section,
    .family-services {
        padding: 48px 24px;
    }

    .pillars-container,
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .process-container {
        flex-direction: column;
        gap: 16px;
    }

    .process-container > div:nth-child(even) {
        width: 100%;
        height: auto;
        min-height: 20px;
    }

    .positioning-section > div:last-of-type,
    .family-services > div {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wealth-hero-title {
        font-size: 28px;
    }

    .approach-section h2,
    .positioning-section h2,
    .capabilities-section h2,
    .family-services h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .wealth-hero {
        height: 400px;
    }

    .wealth-hero-title {
        font-size: 22px;
    }

    .breadcrumb.breadcrumb-light {
        display: none;
    }

    .wealth-statement,
    .three-pillars,
    .approach-section,
    .positioning-section,
    .capabilities-section,
    .family-services {
        padding: 32px 16px;
    }

    .wealth-statement-text {
        font-size: 16px;
    }

    .approach-section h2,
    .positioning-section h2,
    .capabilities-section h2,
    .family-services h2 {
        font-size: 24px;
    }

    .pillar-icon,
    .capabilities-grid > div > div:first-child {
        width: 80px;
        height: 80px;
    }

    .pillar-icon svg,
    .capabilities-grid > div > div:first-child svg {
        width: 48px;
        height: 48px;
    }

    .family-services > div {
        gap: 32px;
    }
}
