/* =========================================================
   Wealth Advisory Way — Main Stylesheet
   Simple theme. Palette: Steel Blue + Marigold + Mist
   ========================================================= */
:root {
  --steel: #1d3b53;
  --steel-2: #142a3b;
  --steel-soft: #e8eef3;
  --marigold: #f2a541;
  --marigold-2: #d98a22;
  --marigold-soft: #fdf1e0;
  --mist: #f5f8fa;
  --ink: #1b2630;
  --text: #4f5d68;
  --line: #e1e8ee;
  --shadow: 0 10px 28px rgba(29, 59, 83, 0.08);
  --shadow-lg: 0 18px 44px rgba(29, 59, 83, 0.15);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Rubik", 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: "Fraunces", Georgia, serif; color: var(--ink); font-weight: 600; line-height: 1.25; }
a { color: var(--steel); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--marigold-2); }
img { max-width: 100%; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-mist { background: var(--mist); }
.bg-steel { background: var(--steel); color: rgba(255,255,255,.82); }
.bg-steel h2, .bg-steel h3, .bg-steel h4 { color: #fff; }
.title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.title-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--marigold); margin-left: 4px; }
.intro { font-size: 1.05rem; max-width: 640px; }
.text-center .intro { margin-inline: auto; }

/* ---------- Logo: one line, one style ---------- */
.wav-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.48rem; color: var(--steel); line-height: 1; }
.wav-logo:hover { color: var(--steel); }
.wav-logo .compass { width: 38px; height: 38px; border-radius: 50%; background: var(--steel); color: var(--marigold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.wav-logo.light { color: #fff; }
.wav-logo.light:hover { color: #fff; }
.wav-logo.light .compass { background: var(--marigold); color: var(--steel); }

/* ---------- Header ---------- */
.wav-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.wav-header.scrolled { box-shadow: 0 6px 22px rgba(29,59,83,.08); }
.wav-header .navbar { padding: 16px 0; }
.wav-header .nav-link { color: var(--ink) !important; font-weight: 500; padding: 8px 14px !important; position: relative; }
.wav-header .nav-link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--marigold); transform: scaleX(0); transition: transform .25s ease; }
.wav-header .nav-link:hover::after, .wav-header .nav-link.active::after { transform: scaleX(1); }
.wav-header .nav-link.active { color: var(--steel) !important; font-weight: 600; }
.wav-header .navbar-toggler { border: 1px solid var(--line); color: var(--steel); font-size: 1.4rem; padding: 4px 10px; }
.wav-header .navbar-toggler:focus { box-shadow: none; }
.header-call { display: inline-flex; align-items: center; gap: 8px; color: var(--steel); font-weight: 600; white-space: nowrap; }
.header-call i { width: 34px; height: 34px; border-radius: 50%; background: var(--marigold-soft); color: var(--marigold-2); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 991.98px) { .wav-header .navbar-collapse { padding: 12px 0 4px; } .wav-header .nav-link::after { display: none; } }

/* ---------- Buttons ---------- */
.btn { border-radius: 40px; font-weight: 600; padding: 12px 28px; transition: all .25s ease; }
.btn-sm { padding: 8px 20px; font-size: .9rem; }
.btn-steel { background: var(--steel); color: #fff; border: 1px solid var(--steel); }
.btn-steel:hover, .btn-steel:focus { background: var(--steel-2); border-color: var(--steel-2); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--marigold); color: var(--steel-2); border: 1px solid var(--marigold); }
.btn-gold:hover, .btn-gold:focus { background: var(--marigold-2); border-color: var(--marigold-2); color: #fff; transform: translateY(-2px); }
.btn-outline-steel { background: transparent; color: var(--steel); border: 1px solid var(--steel); }
.btn-outline-steel:hover { background: var(--steel); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 80px; background: linear-gradient(135deg, var(--steel-soft) 0%, #fff 60%); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
.hero h1 span { color: var(--marigold-2); }
.hero .lead { font-size: 1.13rem; max-width: 540px; margin: 20px 0 30px; }
.hero-frame { position: relative; padding: 0 0 26px 26px; }
.hero-frame::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-radius: 22px; background: var(--marigold); opacity: .9; }
.hero-frame img { position: relative; width: 100%; height: 450px; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow-lg); display: block; background: var(--steel-soft); }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points span { background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 8px 16px; font-weight: 500; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { color: var(--marigold-2); }
@media (max-width: 991.98px) { .hero-frame img { height: 360px; } }

/* ---------- Service cards (side by side) ---------- */
.svc-row { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; transition: box-shadow .3s ease, transform .3s ease; }
.svc-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.svc-row .sr-img { width: 42%; flex-shrink: 0; background: var(--steel-soft); position: relative; }
.svc-row .sr-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-row .sr-body { padding: 26px 24px; display: flex; flex-direction: column; }
.svc-row .sr-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--marigold-soft); color: var(--marigold-2); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 12px; }
.svc-row h3 { font-size: 1.3rem; margin-bottom: 8px; }
.svc-row p { flex-grow: 1; }
.svc-row .btn { align-self: flex-start; }
@media (max-width: 575.98px) {
  .svc-row { flex-direction: column; }
  .svc-row .sr-img { width: 100%; height: 200px; }
}

/* ---------- About ---------- */
.about-img { width: 100%; height: 440px; object-fit: cover; border-radius: 22px; display: block; box-shadow: var(--shadow); background: var(--steel-soft); }
.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: 500; }
.check-list i { color: var(--marigold-2); font-size: 1.15rem; margin-top: 1px; }
.bg-steel .check-list li { color: #fff; }

/* ---------- Net worth calculator ---------- */
.nw-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden; }
.nw-card .nw-inputs { padding: 30px; }
.nw-card h4 { font-size: 1.1rem; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.nw-card h4 i { color: var(--marigold-2); }
.nw-card .input-group-text { background: var(--mist); border-color: var(--line); color: var(--steel); font-weight: 600; }
.nw-card .form-control { border-radius: 0 10px 10px 0; }
.nw-card .input-group-text { border-radius: 10px 0 0 10px; }
.nw-result { background: var(--steel); color: rgba(255,255,255,.85); padding: 30px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.nw-result .nw-big { font-family: "Fraunces", serif; font-size: 2.6rem; font-weight: 700; color: var(--marigold); line-height: 1.1; margin: 4px 0 18px; }
.nw-result .nw-big.neg { color: #ffb4a8; }
.nw-result .nw-line { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); padding: 9px 0; }
.nw-result strong { color: #fff; }
.nw-result .nw-msg { font-size: .93rem; margin-top: 12px; }

/* ---------- Feature list ---------- */
.feature { display: flex; gap: 16px; margin-bottom: 24px; }
.feature i { width: 52px; height: 52px; border-radius: 50%; background: var(--steel-soft); color: var(--steel); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.feature h4 { font-size: 1.15rem; margin-bottom: 2px; }
.feature p { margin: 0; }
.bg-steel .feature i { background: rgba(255,255,255,.1); color: var(--marigold); }
.bg-steel .feature p { color: rgba(255,255,255,.78); }

/* ---------- Steps ---------- */
.step-card { background: #fff; border-radius: var(--radius); padding: 28px 24px; height: 100%; border-top: 4px solid var(--marigold); box-shadow: var(--shadow); }
.step-card .s-n { font-family: "Fraunces", serif; font-size: 2rem; color: var(--steel); font-weight: 700; line-height: 1; margin-bottom: 10px; }
.step-card h4 { font-size: 1.15rem; }

/* ---------- Testimonials ---------- */
.quote-card { background: var(--mist); border-radius: var(--radius); padding: 28px; height: 100%; border-left: 4px solid var(--steel); display: flex; flex-direction: column; }
.quote-card .qc-icon { font-size: 1.8rem; color: var(--marigold-2); line-height: 1; margin-bottom: 10px; }
.quote-card p { flex-grow: 1; }
.quote-card .stars { color: #e0a100; letter-spacing: 2px; font-size: .9rem; }
.quote-card h5 { font-size: 1.05rem; 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(--steel-soft); }
.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; }
.blog-card h3 { font-size: 1.25rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--marigold-2); }
.blog-card p { flex-grow: 1; }
.read-link { font-weight: 600; color: var(--steel); display: inline-flex; align-items: center; gap: 6px; }
.read-link i { transition: transform .2s ease; }
.read-link:hover i { transform: translateX(4px); }

/* Single post */
.post-img { width: 100%; height: 440px; object-fit: cover; border-radius: 22px; margin-bottom: 32px; display: block; background: var(--steel-soft); }
.post-text { font-size: 1.07rem; }
.post-text p { margin-bottom: 22px; }
.post-text h2 { font-size: 1.65rem; margin: 34px 0 14px; }
.post-text .note { background: var(--marigold-soft); border-radius: var(--radius); padding: 22px 26px; margin: 30px 0; font-family: "Fraunces", serif; font-size: 1.15rem; color: var(--ink); display: flex; gap: 14px; }
.post-text .note i { color: var(--marigold-2); font-size: 1.4rem; }
.aside-box { background: var(--mist); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.aside-box h4 { font-size: 1.2rem; margin-bottom: 14px; }
.aside-box.steel { background: var(--steel); color: rgba(255,255,255,.85); }
.aside-box.steel h4 { color: #fff; }
.aside-post { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.aside-post img { width: 72px; height: 62px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--steel-soft); }
.aside-post a { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.aside-post a:hover { color: var(--marigold-2); }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { margin-bottom: 8px; }
.aside-list a { color: var(--ink); }
.aside-list a:hover { color: var(--marigold-2); }
.post-nav { 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-top { background: var(--steel); padding: 72px 0; color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.page-top::before { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(242,165,65,.18); }
.page-top .container { position: relative; z-index: 2; }
.page-top h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 860px; }
.page-top p { max-width: 620px; margin: 10px 0 0; font-size: 1.06rem; }
.page-top .breadcrumb { margin: 16px 0 0; }
.page-top .breadcrumb-item, .page-top .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-top .breadcrumb-item a:hover { color: #fff; }
.page-top .breadcrumb-item.active { color: var(--marigold); }
.page-top .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }

/* ---------- Contact ---------- */
.c-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; height: 100%; }
.c-tile i { width: 56px; height: 56px; border-radius: 50%; background: var(--marigold-soft); color: var(--marigold-2); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 12px; }
.c-tile h5 { font-size: 1.1rem; }
.c-tile p, .c-tile a { margin: 0; color: var(--text); word-break: break-word; }
.c-tile a:hover { color: var(--marigold-2); }
.form-wrap { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 38px; }
.map-wrap { border-radius: 22px; overflow: hidden; height: 100%; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-label { font-weight: 600; color: var(--ink); font-size: .93rem; }
.form-control, .form-select { border-radius: 10px; border: 1px solid var(--line); padding: 12px 14px; background-color: var(--mist); }
.form-control:focus, .form-select:focus { border-color: var(--steel); background-color: #fff; box-shadow: 0 0 0 4px rgba(29,59,83,.1); }
.form-check-input:checked { background-color: var(--steel); border-color: var(--steel); }
.form-alert { display: none; border-radius: 10px; margin-top: 18px; }
.form-alert.show { display: block; }

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

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

/* ---------- Values ---------- */
.value-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; text-align: center; }
.value-box i { width: 60px; height: 60px; border-radius: 50%; background: var(--steel-soft); color: var(--steel); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.value-box h3 { font-size: 1.25rem; margin: 14px 0 8px; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.faq .accordion-button { font-weight: 600; color: var(--ink); background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { background: var(--steel-soft); color: var(--steel); }
.faq .accordion-button:focus { box-shadow: none; }

/* ---------- Newsletter CTA ---------- */
.news-band { background: var(--marigold-soft); border-radius: 22px; padding: 48px 46px; border: 1px solid #f6dcb4; }
.news-field { display: flex; gap: 8px; background: #fff; border-radius: 40px; padding: 6px; border: 1px solid var(--line); }
.news-field .form-control { border: none; background: transparent; border-radius: 40px; }
.news-field .form-control:focus { box-shadow: none; }
@media (max-width: 575.98px) { .news-band { padding: 34px 22px; } .news-field { flex-direction: column; border-radius: 18px; } }

/* ---------- Footer ---------- */
.wav-footer { background: var(--steel-2); color: rgba(255,255,255,.7); }
.wav-footer .ft-main { padding: 70px 0 40px; }
.wav-footer h5 { color: #fff; font-size: 1.12rem; margin-bottom: 20px; }
.wav-footer a { color: rgba(255,255,255,.75); }
.wav-footer a:hover { color: var(--marigold); }
.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(--marigold); margin-top: 3px; }
.ft-social { display: flex; gap: 8px; margin-top: 20px; }
.ft-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.ft-social a:hover { background: var(--marigold); color: var(--steel-2); }
.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 */
.wav-top { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--marigold); color: var(--steel-2); font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s ease; }
.wav-top.show { opacity: 1; visibility: visible; transform: none; }

/* 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-wrap, .nl-panel .nl-body { padding: 28px 20px; }
}
@media (max-width: 575.98px) {
  .wav-logo { font-size: 1.22rem; }
  .wav-logo .compass { width: 32px; height: 32px; font-size: 1rem; }
  .post-img { height: 260px; }
  .nw-card .nw-inputs, .nw-result { padding: 22px 18px; }
  .ft-bottom a { margin: 0 8px; }
}
