/* =========================================================
   Wealth Credit Path — Main Stylesheet
   Simple theme. Palette: Ruby + Charcoal + Cloud Grey
   ========================================================= */
:root {
  --ruby: #b4233c;
  --ruby-2: #8f1a2f;
  --ruby-soft: #fbe9ec;
  --char: #26282e;
  --char-2: #1a1c21;
  --cloud: #f4f5f7;
  --ink: #202228;
  --text: #555a64;
  --line: #e3e5ea;
  --ok: #2f9e6e;
  --warn: #e0a100;
  --shadow: 0 10px 28px rgba(38, 40, 46, 0.08);
  --shadow-lg: 0 18px 44px rgba(38, 40, 46, 0.15);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: #fff; font-size: 16.5px; line-height: 1.75; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: "Montserrat", sans-serif; color: var(--ink); font-weight: 700; line-height: 1.25; }
a { color: var(--ruby); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ruby-2); }
img { max-width: 100%; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-cloud { background: var(--cloud); }
.bg-char { background: var(--char); color: rgba(255,255,255,.8); }
.bg-char h2, .bg-char h3, .bg-char h4 { color: #fff; }
.h-main { font-size: clamp(1.8rem, 3.2vw, 2.45rem); margin-bottom: 14px; position: relative; padding-bottom: 14px; }
.h-main::after { content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 4px; background: var(--ruby); }
.text-center .h-main::after { left: 50%; transform: translateX(-50%); }
.lead-text { font-size: 1.05rem; max-width: 640px; }
.text-center .lead-text { margin-inline: auto; }

/* ---------- Logo: one line, one style ---------- */
.wcp-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 1.36rem; color: var(--char); line-height: 1; letter-spacing: -.3px; }
.wcp-logo:hover { color: var(--char); }
.wcp-logo .mark { width: 38px; height: 38px; border-radius: 8px; background: var(--ruby); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.wcp-logo.light { color: #fff; }
.wcp-logo.light:hover { color: #fff; }

/* ---------- Header ---------- */
.wcp-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-top: 4px solid var(--ruby); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.wcp-header.scrolled { box-shadow: 0 6px 22px rgba(38,40,46,.08); }
.wcp-header .navbar { padding: 14px 0; }
.wcp-header .nav-link { color: var(--ink) !important; font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .92rem; padding: 8px 14px !important; }
.wcp-header .nav-link:hover, .wcp-header .nav-link.active { color: var(--ruby) !important; }
.wcp-header .navbar-toggler { border: 1px solid var(--line); color: var(--char); font-size: 1.4rem; padding: 4px 10px; }
.wcp-header .navbar-toggler:focus { box-shadow: none; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--char); white-space: nowrap; }
.head-phone i { color: var(--ruby); }
@media (max-width: 991.98px) { .wcp-header .navbar-collapse { padding: 12px 0 4px; } }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius); font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .93rem; padding: 12px 26px; transition: all .25s ease; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-ruby { background: var(--ruby); color: #fff; border: 1px solid var(--ruby); }
.btn-ruby:hover, .btn-ruby:focus { background: var(--ruby-2); border-color: var(--ruby-2); color: #fff; transform: translateY(-2px); }
.btn-char { background: var(--char); color: #fff; border: 1px solid var(--char); }
.btn-char:hover, .btn-char:focus { background: var(--ruby); border-color: var(--ruby); color: #fff; }
.btn-outline-char { background: transparent; color: var(--char); border: 1px solid var(--char); }
.btn-outline-char:hover { background: var(--char); color: #fff; }
.btn-white { background: #fff; color: var(--ruby); border: 1px solid #fff; }
.btn-white:hover { background: transparent; color: #fff; }

/* ---------- Hero (split screen) ---------- */
.hero { display: flex; flex-wrap: wrap; min-height: 560px; background: var(--cloud); }
.hero .hero-text { flex: 1 1 50%; display: flex; align-items: center; padding: 70px 6% 70px max(24px, calc((100vw - 1320px) / 2 + 12px)); }
.hero .hero-text-inner { max-width: 560px; }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); letter-spacing: -.5px; }
.hero h1 span { color: var(--ruby); }
.hero .lead { font-size: 1.12rem; margin: 20px 0 30px; }
.hero .hero-img { flex: 1 1 50%; position: relative; min-height: 380px; background: var(--line); }
.hero .hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-checks li { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.hero-checks i { color: var(--ruby); }
@media (max-width: 991.98px) { .hero .hero-text { flex-basis: 100%; padding: 60px 24px; } .hero .hero-img { flex-basis: 100%; } }

/* ---------- Path stages ---------- */
.path-row { position: relative; }
.path-row::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 4px; background: linear-gradient(90deg, var(--ruby-soft), var(--ruby)); border-radius: 4px; }
.stage { text-align: center; position: relative; padding: 0 10px; }
.stage .st-ico { width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 4px solid var(--ruby); color: var(--ruby); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin: 0 auto 16px; position: relative; z-index: 2; }
.stage h4 { font-size: 1.08rem; }
.stage p { margin: 0; font-size: .96rem; }
@media (max-width: 991.98px) { .path-row::before { display: none; } }

/* ---------- Service cards ---------- */
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: box-shadow .3s ease, transform .3s ease; }
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.svc-card .sc-img { height: 210px; overflow: hidden; position: relative; background: var(--cloud); }
.svc-card .sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .sc-img img { transform: scale(1.05); }
.svc-card .sc-tag { position: absolute; left: 0; bottom: 0; background: var(--ruby); color: #fff; padding: 8px 14px; font-size: 1.2rem; }
.svc-card .sc-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.svc-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.svc-card p { flex-grow: 1; }
.svc-card .btn { align-self: flex-start; }

/* ---------- About ---------- */
.about-img { width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius); display: block; box-shadow: var(--shadow); background: var(--cloud); }
.about-wrap { position: relative; }
.about-wrap::before { content: ""; position: absolute; left: -18px; top: -18px; width: 45%; height: 45%; background: var(--ruby); border-radius: var(--radius); z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--ink); font-weight: 700; }
.check-list i { color: var(--ruby); font-size: 1.15rem; margin-top: 1px; }
.bg-char .check-list li { color: #fff; }
@media (max-width: 575.98px) { .about-wrap::before { display: none; } }

/* ---------- Credit utilization calculator ---------- */
.util-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.util-inputs { padding: 30px; }
.util-inputs .card-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: end; margin-bottom: 14px; }
.util-inputs .card-row .cr-name { font-family: "Montserrat", sans-serif; font-weight: 700; color: var(--ink); padding-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.util-inputs .card-row .cr-name i { color: var(--ruby); }
.util-inputs .card-row label { font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: 4px; display: block; }
@media (max-width: 575.98px) { .util-inputs .card-row { grid-template-columns: 1fr 1fr; } .util-inputs .card-row .cr-name { grid-column: 1 / -1; padding-bottom: 0; } }
.util-result { background: var(--char); color: rgba(255,255,255,.82); padding: 30px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.util-result .u-big { font-family: "Montserrat", sans-serif; font-size: 2.8rem; font-weight: 800; color: #fff; line-height: 1; }
.util-meter { height: 12px; border-radius: 10px; background: rgba(255,255,255,.15); overflow: hidden; margin: 16px 0 10px; }
.util-meter span { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--ok); transition: width .4s ease, background .4s ease; }
.util-badge { display: inline-block; border-radius: 30px; padding: 4px 14px; font-weight: 700; font-size: .85rem; background: var(--ok); color: #fff; }
.util-result .u-line { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.12); padding: 9px 0; font-size: .95rem; }
.util-result strong { color: #fff; }

/* ---------- Features ---------- */
.feat { background: #fff; border-radius: var(--radius); padding: 28px 24px; height: 100%; border-left: 4px solid var(--ruby); box-shadow: var(--shadow); }
.feat i { font-size: 1.7rem; color: var(--ruby); }
.feat h4 { font-size: 1.12rem; margin: 10px 0 6px; }
.feat p { margin: 0; }

/* ---------- Testimonials ---------- */
.testi { background: #fff; border-radius: var(--radius); padding: 30px 28px; height: 100%; border: 1px solid var(--line); display: flex; flex-direction: column; }
.testi .q { font-family: "Montserrat", sans-serif; font-size: 3.5rem; line-height: .7; color: var(--ruby); height: 34px; }
.testi p { flex-grow: 1; }
.testi .stars { color: var(--warn); letter-spacing: 2px; font-size: .9rem; }
.testi h5 { font-size: 1.02rem; margin: 6px 0 0; }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .3s ease, transform .3s ease; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.blog-card .bc-img { display: block; height: 220px; overflow: hidden; background: var(--cloud); }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .bc-img img { transform: scale(1.05); }
.blog-card .bc-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; border-top: 4px solid var(--ruby); }
.blog-card h3 { font-size: 1.18rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--ruby); }
.blog-card p { flex-grow: 1; }
.link-more { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .9rem; color: var(--ruby); display: inline-flex; align-items: center; gap: 6px; }
.link-more i { transition: transform .2s ease; }
.link-more:hover i { transform: translateX(4px); }

/* Single post */
.post-img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; display: block; background: var(--cloud); }
.post-copy { font-size: 1.07rem; }
.post-copy p { margin-bottom: 22px; }
.post-copy h2 { font-size: 1.55rem; margin: 34px 0 14px; }
.post-copy .callout { background: var(--ruby-soft); border-left: 4px solid var(--ruby); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 30px 0; color: var(--ink); font-weight: 700; font-size: 1.08rem; }
.side-block { background: var(--cloud); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.side-block h4 { font-size: 1.1rem; margin-bottom: 14px; }
.side-block.dark { background: var(--char); color: rgba(255,255,255,.82); }
.side-block.dark h4 { color: #fff; }
.side-post { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.side-post img { width: 72px; height: 62px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--line); }
.side-post a { color: var(--ink); font-weight: 700; font-size: .93rem; line-height: 1.4; }
.side-post a:hover { color: var(--ruby); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { margin-bottom: 8px; }
.side-links a { color: var(--ink); }
.side-links a:hover { color: var(--ruby); }
.post-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 30px; }

/* ---------- Page header ---------- */
.page-hd { background: var(--char); padding: 70px 0; color: rgba(255,255,255,.8); border-bottom: 6px solid var(--ruby); }
.page-hd h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); max-width: 860px; }
.page-hd p { max-width: 620px; margin: 10px 0 0; font-size: 1.05rem; }
.page-hd .breadcrumb { margin: 16px 0 0; }
.page-hd .breadcrumb-item, .page-hd .breadcrumb-item a { color: rgba(255,255,255,.72); }
.page-hd .breadcrumb-item a:hover { color: #fff; }
.page-hd .breadcrumb-item.active { color: #ff8fa2; }
.page-hd .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Contact ---------- */
.contact-side { background: var(--ruby); color: rgba(255,255,255,.9); border-radius: var(--radius); padding: 34px 30px; height: 100%; }
.contact-side h3 { color: #fff; font-size: 1.45rem; margin-bottom: 22px; }
.cs-row { display: flex; gap: 14px; margin-bottom: 22px; }
.cs-row i { width: 44px; height: 44px; border-radius: 8px; background: rgba(255,255,255,.15); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.cs-row h5 { color: #fff; font-size: .95rem; margin-bottom: 2px; }
.cs-row p, .cs-row a { margin: 0; color: rgba(255,255,255,.92); word-break: break-word; }
.cs-row a:hover { color: #fff; text-decoration: underline; }
.form-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px; }
.map-box { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-label { font-weight: 700; color: var(--ink); font-size: .92rem; }
.form-control, .form-select { border-radius: 6px; border: 1px solid var(--line); padding: 12px 14px; background-color: var(--cloud); }
.form-control:focus, .form-select:focus { border-color: var(--ruby); background-color: #fff; box-shadow: 0 0 0 4px rgba(180,35,60,.1); }
.form-check-input:checked { background-color: var(--ruby); border-color: var(--ruby); }
.form-alert { display: none; border-radius: 6px; margin-top: 18px; }
.form-alert.show { display: block; }

/* ---------- Newsletter pages ---------- */
.nl-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.nl-wrap .nl-img { height: 100%; min-height: 320px; position: relative; background: var(--cloud); }
.nl-wrap .nl-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nl-wrap .nl-body { padding: 40px 36px; }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.3rem; margin: 32px 0 10px; }
.legal .updated { display: inline-block; background: var(--ruby-soft); color: var(--ruby); border-radius: 6px; padding: 6px 14px; font-weight: 700; margin-bottom: 18px; }

/* ---------- Values ---------- */
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; }
.value-card i { width: 52px; height: 52px; border-radius: 8px; background: var(--ruby-soft); color: var(--ruby); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.value-card h3 { font-size: 1.18rem; margin: 14px 0 8px; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 8px !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-family: "Montserrat", sans-serif; font-weight: 600; font-size: .98rem; color: var(--ink); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--ruby-soft); color: var(--ruby); }
.faq .accordion-button:focus { box-shadow: none; }

/* ---------- Newsletter CTA ---------- */
.nl-band { background: var(--ruby); border-radius: var(--radius); padding: 46px 44px; color: rgba(255,255,255,.92); }
.nl-band h2 { color: #fff; }
.nl-field { display: flex; gap: 8px; background: #fff; border-radius: 8px; padding: 6px; }
.nl-field .form-control { border: none; background: transparent; }
.nl-field .form-control:focus { box-shadow: none; }
.nl-band .invalid-feedback { color: #fff; font-weight: 700; }
@media (max-width: 575.98px) { .nl-band { padding: 34px 22px; } .nl-field { flex-direction: column; } }

/* ---------- Footer ---------- */
.wcp-footer { background: var(--char-2); color: rgba(255,255,255,.68); }
.wcp-footer .ft-main { padding: 70px 0 40px; }
.wcp-footer h5 { color: #fff; font-size: 1.02rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.wcp-footer a { color: rgba(255,255,255,.75); }
.wcp-footer a:hover { color: #ff8fa2; }
.ft-list { list-style: none; padding: 0; margin: 0; }
.ft-list li { margin-bottom: 10px; }
.ft-contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.ft-contact i { color: var(--ruby); margin-top: 3px; }
.ft-social { display: flex; gap: 8px; margin-top: 20px; }
.ft-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.ft-social a:hover { background: var(--ruby); color: #fff; }
.ft-news .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.ft-news .form-control::placeholder { color: rgba(255,255,255,.45); }
.ft-news .form-control:focus { background: rgba(255,255,255,.12); color: #fff; }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .9rem; }
.ft-bottom a { margin-left: 18px; }

/* Back to top */
.wcp-top { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 48px; height: 48px; border-radius: 8px; border: none; background: var(--ruby); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s ease; }
.wcp-top.show { opacity: 1; visibility: visible; transform: none; }
.wcp-top:hover { background: var(--ruby-2); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 70px 0; }
  .about-img { height: 340px; }
  .form-box, .nl-wrap .nl-body { padding: 28px 20px; }
}
@media (max-width: 575.98px) {
  .wcp-logo { font-size: 1.15rem; }
  .wcp-logo .mark { width: 32px; height: 32px; font-size: 1rem; }
  .post-img { height: 260px; }
  .util-inputs, .util-result { padding: 22px 16px; }
  .ft-bottom a { margin: 0 8px; }
}
