/* =========================================================
   Asset Allocation Hub — Main Stylesheet
   Simple, warm theme. Palette: Espresso + Copper + Sand + Sage
   ========================================================= */
:root {
  --espresso: #3b2a22;
  --espresso-2: #2a1d17;
  --copper: #b8673a;
  --copper-2: #9a532c;
  --copper-soft: #f6e6dc;
  --sand: #f7f2ea;
  --sand-2: #efe6d8;
  --sage: #8a9a7b;
  --sage-soft: #eef1ea;
  --ink: #2b2420;
  --text: #5d544e;
  --line: #e7ddd1;
  --shadow: 0 10px 28px rgba(59, 42, 34, 0.08);
  --shadow-lg: 0 18px 44px rgba(59, 42, 34, 0.15);
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "Work Sans", 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: "Merriweather", Georgia, serif; color: var(--ink); font-weight: 700; line-height: 1.3; }
a { color: var(--copper-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--espresso); }
img { max-width: 100%; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.bg-sand { background: var(--sand); }
.bg-sage { background: var(--sage-soft); }
.bg-espresso { background: var(--espresso); color: rgba(255,255,255,.82); }
.bg-espresso h2, .bg-espresso h3, .bg-espresso h4 { color: #fff; }
.heading { font-size: clamp(1.8rem, 3.2vw, 2.45rem); margin-bottom: 14px; }
.heading-bar { display: block; width: 46px; height: 4px; background: var(--copper); border-radius: 4px; margin-bottom: 22px; }
.text-center .heading-bar { margin-inline: auto; }
.intro { font-size: 1.05rem; max-width: 640px; }
.text-center .intro { margin-inline: auto; }

/* ---------- Logo: one line, one style ---------- */
.aah-logo { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-family: "Merriweather", serif; font-weight: 700; font-size: 1.42rem; color: var(--espresso); line-height: 1; }
.aah-logo:hover { color: var(--espresso); }
.aah-logo .pie { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--copper) 0 55%, var(--sage) 55% 85%, var(--sand-2) 85% 100%); box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--espresso); }
.aah-logo.light { color: #fff; }
.aah-logo.light:hover { color: #fff; }
.aah-logo.light .pie { box-shadow: inset 0 0 0 3px var(--espresso-2), 0 0 0 2px #fff; }

/* ---------- Header ---------- */
.contact-strip { background: var(--espresso); color: rgba(255,255,255,.82); font-size: .88rem; padding: 8px 0; }
.contact-strip a { color: rgba(255,255,255,.9); }
.contact-strip a:hover { color: var(--copper-soft); }
.contact-strip i { color: var(--copper); margin-right: 6px; }
.contact-strip .cs-item { margin-right: 22px; }
.aah-header { position: sticky; top: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s ease; }
.aah-header.scrolled { box-shadow: 0 6px 22px rgba(59,42,34,.08); }
.aah-header .navbar { padding: 16px 0; }
.aah-header .nav-link { color: var(--ink) !important; font-weight: 500; padding: 8px 14px !important; border-radius: 6px; }
.aah-header .nav-link:hover { color: var(--copper-2) !important; }
.aah-header .nav-link.active { color: var(--copper-2) !important; background: var(--copper-soft); }
.aah-header .navbar-toggler { border: 1px solid var(--line); color: var(--espresso); font-size: 1.4rem; padding: 4px 10px; }
.aah-header .navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) { .aah-header .navbar-collapse { padding: 12px 0 4px; } }

/* ---------- Buttons ---------- */
.btn { border-radius: 6px; font-weight: 600; padding: 12px 26px; transition: all .25s ease; }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-copper { background: var(--copper); color: #fff; border: 1px solid var(--copper); }
.btn-copper:hover, .btn-copper:focus { background: var(--copper-2); border-color: var(--copper-2); color: #fff; transform: translateY(-2px); }
.btn-espresso { background: var(--espresso); color: #fff; border: 1px solid var(--espresso); }
.btn-espresso:hover, .btn-espresso:focus { background: var(--copper); border-color: var(--copper); color: #fff; }
.btn-line { background: transparent; color: var(--espresso); border: 1px solid var(--espresso); }
.btn-line:hover { background: var(--espresso); color: #fff; }
.btn-light-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.6); }
.btn-light-line:hover { background: #fff; color: var(--espresso); }

/* ---------- Hero ---------- */
.hero { background: var(--sand); padding: 80px 0; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero .lead { font-size: 1.12rem; max-width: 540px; margin: 20px 0 30px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; height: 450px; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow-lg); display: block; background: var(--sand-2); }
.hero-photo .badge-card { position: absolute; left: -24px; bottom: 30px; background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 260px; }
.hero-photo .badge-card .pie-mini { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; background: conic-gradient(var(--copper) 0 55%, var(--sage) 55% 85%, var(--sand-2) 85% 100%); }
.hero-photo .badge-card strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.3; }
.hero-photo .badge-card small { color: var(--text); }
.hero-ticks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-ticks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.hero-ticks i { color: var(--copper); }
@media (max-width: 991.98px) { .hero-photo img { height: 360px; } .hero-photo .badge-card { left: 16px; } }

/* ---------- Service cards ---------- */
.svc-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.svc-card:hover { transform: translateY(-6px); border-color: var(--copper); box-shadow: var(--shadow-lg); }
.svc-card .svc-img { height: 215px; overflow: hidden; background: var(--sand-2); }
.svc-card .svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card .svc-body { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.svc-card h3 i { color: var(--copper); font-size: 1.25rem; }
.svc-card p { flex-grow: 1; }
.svc-card .btn { align-self: flex-start; }

/* ---------- About ---------- */
.about-photo { width: 100%; height: 430px; object-fit: cover; border-radius: 14px; display: block; box-shadow: var(--shadow); background: var(--sand-2); }
.tick-list { list-style: none; padding: 0; margin: 20px 0; }
.tick-list li { display: flex; gap: 12px; margin-bottom: 12px; color: var(--ink); font-weight: 500; }
.tick-list i { color: var(--copper); font-size: 1.1rem; margin-top: 2px; }
.bg-espresso .tick-list li { color: #fff; }

/* ---------- Allocation planner ---------- */
.planner { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 32px; }
.profiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
@media (max-width: 575.98px) { .profiles { grid-template-columns: repeat(2, 1fr); } }
.profiles input { position: absolute; opacity: 0; pointer-events: none; }
.profiles label { display: block; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 12px 8px; cursor: pointer; font-weight: 600; color: var(--ink); background: var(--sand); transition: all .2s ease; font-size: .95rem; }
.profiles label i { display: block; font-size: 1.3rem; color: var(--copper); margin-bottom: 4px; }
.profiles input:checked + label { background: var(--espresso); color: #fff; border-color: var(--espresso); }
.profiles input:checked + label i { color: var(--copper-soft); }
.profiles input:focus-visible + label { outline: 3px solid rgba(184,103,58,.4); }
.alloc-row { margin-bottom: 16px; }
.alloc-row .ar-top { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.alloc-bar { height: 14px; border-radius: 10px; background: var(--sand-2); overflow: hidden; }
.alloc-bar span { display: block; height: 100%; border-radius: 10px; transition: width .5s ease; }
.alloc-bar .b-stock { background: var(--copper); }
.alloc-bar .b-bond { background: var(--sage); }
.alloc-bar .b-cash { background: #c9b79c; }
.alloc-note { background: var(--sand); border-left: 4px solid var(--copper); border-radius: 0 8px 8px 0; padding: 14px 16px; margin-top: 18px; color: var(--ink); }

/* ---------- Principles ---------- */
.principle { background: #fff; border-radius: var(--radius); padding: 28px 24px; height: 100%; box-shadow: var(--shadow); }
.principle i { width: 56px; height: 56px; border-radius: 12px; background: var(--copper-soft); color: var(--copper-2); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.principle h4 { font-size: 1.15rem; }

/* ---------- Steps ---------- */
.step { display: flex; gap: 18px; margin-bottom: 26px; }
.step:last-child { margin-bottom: 0; }
.step .n { width: 48px; height: 48px; border-radius: 50%; background: var(--copper); color: #fff; font-family: "Merriweather", serif; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step h4 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { margin: 0; }
.bg-espresso .step p { color: rgba(255,255,255,.78); }

/* ---------- Testimonials ---------- */
.review { background: var(--sand); border-radius: var(--radius); padding: 28px 26px; height: 100%; display: flex; flex-direction: column; position: relative; }
.review::before { content: "\201C"; font-family: "Merriweather", serif; font-size: 4rem; line-height: 1; color: var(--copper); opacity: .35; position: absolute; top: 10px; right: 20px; }
.review .stars { color: #d69a1a; letter-spacing: 2px; margin-bottom: 10px; }
.review p { flex-grow: 1; }
.review h5 { font-size: 1.02rem; margin: 6px 0 0; font-family: "Work Sans", sans-serif; font-weight: 700; color: var(--copper-2); }

/* ---------- Blog ---------- */
.blog-card { background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s ease; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card .bc-img { display: block; height: 220px; overflow: hidden; background: var(--sand-2); }
.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.22rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--copper-2); }
.blog-card p { flex-grow: 1; }
.more-link { font-weight: 600; color: var(--copper-2); display: inline-flex; align-items: center; gap: 6px; }
.more-link i { transition: transform .2s ease; }
.more-link:hover i { transform: translateX(4px); }

/* Single post */
.post-photo { width: 100%; height: 430px; object-fit: cover; border-radius: 14px; margin-bottom: 32px; display: block; background: var(--sand-2); }
.post-body { font-size: 1.07rem; }
.post-body p { margin-bottom: 22px; }
.post-body h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.post-body .highlight { background: var(--sage-soft); border-left: 4px solid var(--sage); border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 28px 0; font-family: "Merriweather", serif; font-size: 1.1rem; color: var(--ink); }
.side-card { background: var(--sand); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.side-card h4 { font-size: 1.15rem; margin-bottom: 14px; }
.side-card.dark { background: var(--espresso); color: rgba(255,255,255,.85); }
.side-card.dark h4 { color: #fff; }
.side-post { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.side-post img { width: 70px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--sand-2); }
.side-post a { color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.side-post a:hover { color: var(--copper-2); }
.side-list { list-style: none; padding: 0; margin: 0; }
.side-list li { margin-bottom: 8px; }
.side-list a { color: var(--ink); }
.side-list a:hover { color: var(--copper-2); }
.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 banner ---------- */
.page-banner { background: var(--espresso); padding: 70px 0; color: rgba(255,255,255,.82); position: relative; overflow: hidden; }
.page-banner::after { content: ""; position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 280px; height: 280px; border-radius: 50%; background: conic-gradient(rgba(184,103,58,.5) 0 55%, rgba(138,154,123,.45) 55% 85%, rgba(255,255,255,.12) 85% 100%); opacity: .55; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); max-width: 860px; }
.page-banner p { max-width: 600px; margin: 10px 0 0; font-size: 1.06rem; }
.page-banner .breadcrumb { margin: 16px 0 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-banner .breadcrumb-item a:hover { color: #fff; }
.page-banner .breadcrumb-item.active { color: var(--copper-soft); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.45); }
@media (max-width: 767.98px) { .page-banner::after { display: none; } }

/* ---------- Contact ---------- */
.contact-info { background: var(--espresso); color: rgba(255,255,255,.82); border-radius: 14px; padding: 34px 30px; height: 100%; }
.contact-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 20px; }
.ci-row { display: flex; gap: 14px; margin-bottom: 22px; }
.ci-row i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--copper-soft); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.ci-row h5 { color: #fff; font-family: "Work Sans", sans-serif; font-size: .95rem; font-weight: 700; margin-bottom: 2px; }
.ci-row p, .ci-row a { margin: 0; color: rgba(255,255,255,.85); word-break: break-word; }
.ci-row a:hover { color: var(--copper-soft); }
.form-box { background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: 36px; }
.map-wrap { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

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

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

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

/* ---------- Values ---------- */
.value-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; height: 100%; }
.value-item i { font-size: 1.8rem; color: var(--copper); }
.value-item h3 { font-size: 1.25rem; margin: 12px 0 8px; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: 8px !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(--copper-soft); color: var(--copper-2); }
.faq .accordion-button:focus { box-shadow: none; }

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

/* ---------- Footer ---------- */
.aah-footer { background: var(--espresso-2); color: rgba(255,255,255,.7); }
.aah-footer .ft-main { padding: 70px 0 40px; }
.aah-footer h5 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.aah-footer a { color: rgba(255,255,255,.75); }
.aah-footer a:hover { color: var(--copper-soft); }
.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(--copper); 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(--copper); 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 */
.aah-top { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 48px; height: 48px; border-radius: 8px; border: none; background: var(--copper); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s ease; }
.aah-top.show { opacity: 1; visibility: visible; transform: none; }
.aah-top:hover { background: var(--copper-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-photo { height: 330px; }
  .form-box, .nl-box .nl-body { padding: 28px 20px; }
}
@media (max-width: 575.98px) {
  .aah-logo { font-size: 1.2rem; }
  .aah-logo .pie { width: 32px; height: 32px; }
  .post-photo { height: 260px; }
  .planner { padding: 22px 16px; }
  .ft-bottom a { margin: 0 8px; }
}
