/* =========================================================
   Finance Asset Guide — stylesheet
   "Field guide" palette: deep teal, apricot, blush, mint
   ========================================================= */
:root {
  --ag-teal: #0d4c55;
  --ag-teal-2: #14636d;
  --ag-teal-3: #0a3940;
  --ag-apricot: #f2a35e;
  --ag-apricot-d: #d9823a;
  --ag-blush: #fdf1e7;
  --ag-mint: #e6f2ef;
  --ag-mint-d: #9cc9bf;
  --ag-ink: #17292c;
  --ag-text: #4c5f62;
  --ag-line: #d9e6e3;
  --ag-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ag-sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ag-sans); color: var(--ag-text); background: #fff; font-size: 1.05rem; line-height: 1.72; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--ag-serif); color: var(--ag-ink); font-weight: 400; line-height: 1.1; letter-spacing: -.005em; }
a { color: var(--ag-teal-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ag-apricot-d); }
img { max-width: 100%; }
::selection { background: var(--ag-apricot); color: var(--ag-ink); }
:focus-visible { outline: 3px solid var(--ag-apricot); outline-offset: 2px; }

/* ---------- Photo frames ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(140deg, var(--ag-teal-3), var(--ag-teal-2) 55%, var(--ag-apricot)); }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
img.img-missing { opacity: 0; }
.ph:has(img.img-missing)::after { content: "\F42A"; font-family: "bootstrap-icons"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.2rem; color: rgba(255,255,255,.55); }

/* ---------- Generic ---------- */
.sec { padding: 100px 0; }
.sec-sm { padding: 70px 0; }
.bg-mint { background: var(--ag-mint); }
.bg-blush { background: var(--ag-blush); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--ag-teal-2); background: rgba(13,76,85,.08); padding: .38rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ag-apricot-d); }
.title { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin-bottom: 1.1rem; }
.title em, h1 em, .news-card h2 em { font-style: italic; color: var(--ag-teal-2); }
.lead2 { font-size: 1.15rem; color: #5a6b6e; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .72rem 1.5rem; transition: all .25s; white-space: nowrap; }
.btn-lg { padding: .9rem 1.9rem; font-size: 1.06rem; }
.btn-teal { background: var(--ag-teal); color: #fff; border: 2px solid var(--ag-teal); }
.btn-teal:hover, .btn-teal:focus { background: var(--ag-apricot); border-color: var(--ag-apricot); color: var(--ag-ink); }
.btn-teal-o { background: transparent; color: var(--ag-teal); border: 2px solid var(--ag-teal); }
.btn-teal-o:hover, .btn-teal-o:focus { background: var(--ag-teal); color: #fff; }
.btn-apricot { background: var(--ag-apricot); color: var(--ag-ink); border: 2px solid var(--ag-apricot); }
.btn-apricot:hover, .btn-apricot:focus { background: #fff; border-color: #fff; color: var(--ag-teal); }
.btn-white-o { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-white-o:hover, .btn-white-o:focus { background: #fff; color: var(--ag-teal); border-color: #fff; }
@media (max-width: 575.98px) { .btn { white-space: normal; } }

/* ---------- Header ---------- */
.guide-head { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ag-line); transition: box-shadow .3s; }
.guide-head.scrolled { box-shadow: 0 10px 30px rgba(13,76,85,.1); }
.guide-bar { background: var(--ag-teal); color: rgba(255,255,255,.82); font-size: .88rem; padding: .45rem 0; }
.guide-bar a { color: rgba(255,255,255,.88); }
.guide-bar a:hover { color: var(--ag-apricot); }
.guide-bar i { color: var(--ag-apricot); margin-right: .4rem; }
.guide-head .navbar { padding: .8rem 0; }
.brand-logo { display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap; font-family: var(--ag-serif); font-size: 1.85rem; color: var(--ag-ink); line-height: 1; }
.brand-logo:hover { color: var(--ag-ink); }
.brand-logo .gem { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ag-teal); color: var(--ag-apricot); font-size: 1.1rem; box-shadow: inset 0 0 0 3px rgba(242,163,94,.35); }
.guide-head .nav-link { font-weight: 600; color: var(--ag-ink); padding: .5rem .95rem !important; white-space: nowrap; border-radius: 999px; }
.guide-head .nav-link:hover { color: var(--ag-teal-2); }
.guide-head .nav-link.active { color: var(--ag-teal); background: var(--ag-mint); }
.navbar-toggler { border: 0; background: var(--ag-mint); color: var(--ag-teal); font-size: 1.5rem; width: 46px; height: 46px; border-radius: 50%; padding: 0; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(242,163,94,.5); }
@media (min-width: 992px) { .guide-head .navbar-toggler { display: none; } }
@media (max-width: 991.98px) { .guide-head .navbar-collapse { padding: .8rem 0 1rem; } .guide-head .nav-link { padding: .55rem 1rem !important; } }
@media (min-width: 992px) and (max-width: 1199.98px) { .guide-head .nav-link { padding: .5rem .6rem !important; } .guide-head .btn-teal { display: none; } }
@media (max-width: 400px) { .brand-logo { font-size: 1.5rem; } .brand-logo .gem { width: 36px; height: 36px; flex-basis: 36px; } }

/* ---------- Hero ---------- */
.ag-hero { background: var(--ag-blush); padding: 80px 0 90px; position: relative; overflow: hidden; }
.ag-hero::before { content: ""; position: absolute; left: 50%; top: -340px; width: 900px; height: 900px; margin-left: -450px; border-radius: 50%; border: 1px solid rgba(13,76,85,.08); box-shadow: 0 0 0 80px rgba(13,76,85,.025), 0 0 0 160px rgba(13,76,85,.02); pointer-events: none; }
.hero-copy { position: relative; max-width: 900px; margin: 0 auto; }
.ag-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.3rem); margin-bottom: 1.3rem; }
.ag-hero .lead2 { max-width: 660px; margin: 0 auto 2rem; font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 1px solid var(--ag-line); color: var(--ag-ink); font-size: .9rem; font-weight: 600; }
.chip i { color: var(--ag-apricot-d); }
.chip:hover { border-color: var(--ag-teal); color: var(--ag-teal); }
.hero-gallery { position: relative; margin-top: 3.5rem; }
.hero-gallery .ph { border-radius: 26px; }
.hero-gallery .g1 { aspect-ratio: 6 / 7; border-radius: 26px 26px 26px 120px; }
.hero-gallery .g2 { aspect-ratio: 6 / 8.2; }
.hero-gallery .g3 { aspect-ratio: 6 / 6.4; border-radius: 26px 120px 26px 26px; }
.hero-note { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); display: flex; align-items: center; gap: .9rem; background: #fff; padding: .9rem 1.4rem; border-radius: 999px; box-shadow: 0 18px 40px rgba(13,76,85,.18); white-space: nowrap; }
.hero-note i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ag-apricot); color: var(--ag-ink); }
.hero-note b { display: block; color: var(--ag-ink); }
.hero-note div { font-size: .9rem; line-height: 1.35; }
@media (max-width: 767.98px) { .hero-gallery .g1 { border-radius: 16px 16px 16px 50px; } .hero-gallery .g3 { border-radius: 16px 50px 16px 16px; } .hero-gallery .ph { border-radius: 16px; } }
@media (max-width: 575.98px) { .ag-hero { padding: 56px 0 80px; } .hero-note { position: relative; left: auto; bottom: auto; transform: none; margin: 1.2rem auto 0; width: fit-content; max-width: 100%; white-space: normal; border-radius: 22px; } }

/* ---------- Principles ---------- */
.principles .pr { position: relative; padding-left: 1.6rem; border-left: 2px solid var(--ag-line); height: 100%; }
.principles .pr::before { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 60px; background: var(--ag-apricot); }
.principles .rn, .mv-card .rn { display: block; font-family: var(--ag-serif); font-style: italic; font-size: 3.2rem; color: var(--ag-apricot-d); line-height: 1; margin-bottom: .6rem; }
.principles h3 { font-size: 1.9rem; margin-bottom: .5rem; }
.principles p { margin: 0; }

/* ---------- Chapter cards ---------- */
.chapter-card { background: #fff; border-radius: 22px; overflow: hidden; height: 100%; box-shadow: 0 14px 34px rgba(13,76,85,.07); transition: transform .3s, box-shadow .3s; }
.chapter-card:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(13,76,85,.14); }
.chapter-card .ph { height: 100%; min-height: 260px; }
.chapter-card .ph img { transition: transform .6s; }
.chapter-card:hover .ph img { transform: scale(1.06); }
.chapter-card .txt { padding: 1.8rem 1.7rem; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.chap { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--ag-apricot-d); margin-bottom: .7rem; }
.chap i { font-size: 1rem; color: var(--ag-teal-2); letter-spacing: 0; }
.chapter-card h3 { font-size: 1.95rem; margin-bottom: .5rem; }
.chapter-card p { flex: 1; font-size: 1rem; margin-bottom: 1.2rem; }
.chapter-card .btn { white-space: normal; text-align: left; }
@media (max-width: 575.98px) { .chapter-card .ph { min-height: 0; aspect-ratio: 16 / 10; height: auto; } }

/* ---------- About split ---------- */
.about-split { background: var(--ag-teal); color: rgba(255,255,255,.82); }
.about-split .split-ph { height: 100%; min-height: 460px; }
.split-txt { padding: 90px 8% 90px 10%; max-width: 720px; }
.split-txt .title { color: #fff; }
.split-txt .title em { color: var(--ag-apricot); }
.split-txt .lead2 { color: rgba(255,255,255,.85); }
.split-txt .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.split-txt .leaf-list li { color: #fff; }
@media (max-width: 991.98px) { .split-txt { padding: 60px 24px; } .about-split .split-ph { min-height: 320px; } }
.leaf-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.leaf-list li { position: relative; padding-left: 2.1rem; margin-bottom: .65rem; font-weight: 600; color: var(--ag-ink); }
.leaf-list li::before { content: "\F633"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .2rem; width: 22px; height: 22px; border-radius: 50%; background: var(--ag-apricot); color: var(--ag-ink); font-size: .85rem; display: grid; place-items: center; line-height: 1; }

/* ---------- Asset mix calculator ---------- */
.mix-sec { background: #fff; }
.mix-card { background: #fff; border-radius: 26px; overflow: hidden; border: 1px solid var(--ag-line); box-shadow: 0 30px 60px rgba(13,76,85,.12); max-width: 1080px; margin: 0 auto; }
.mix-in { padding: 2.4rem; background: var(--ag-blush); height: 100%; }
.mix-in .form-label { font-weight: 700; color: var(--ag-ink); }
.mix-in .input-group-text { background: #fff; color: var(--ag-teal); font-weight: 700; }
.mix-fine { font-size: .85rem; color: #7a8a8c; margin: 1.3rem 0 0; }
.mix-out { padding: 2.4rem; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.donut { width: 220px; height: 220px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--ag-line); display: grid; place-items: center; transition: background .4s; }
.donut .hole { width: 62%; height: 62%; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; box-shadow: 0 6px 18px rgba(13,76,85,.12); }
.donut small { font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; color: #7a8a8c; font-weight: 700; }
.donut b { font-family: var(--ag-serif); font-weight: 400; font-size: 1.9rem; color: var(--ag-ink); line-height: 1.1; }
.mix-legend { list-style: none; padding: 0; margin: 0; }
.mix-legend li { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; column-gap: .7rem; padding: .75rem 0; border-bottom: 1px dashed var(--ag-line); }
.mix-legend li:last-child { border-bottom: 0; }
.mix-legend .sw { width: 16px; height: 16px; border-radius: 5px; }
.sw.s1 { background: var(--ag-teal); } .sw.s2 { background: var(--ag-apricot); } .sw.s3 { background: var(--ag-mint-d); }
.mix-legend span { font-weight: 600; color: var(--ag-ink); }
.mix-legend b { font-family: var(--ag-serif); font-weight: 400; font-size: 1.7rem; color: var(--ag-teal); line-height: 1; }
.mix-legend em { grid-column: 2 / 4; font-style: normal; font-size: .9rem; color: #7a8a8c; }
.mix-legend em:empty { display: none; }
.mix-note { margin: 1.4rem 0 0; padding: 1rem 1.2rem; background: var(--ag-mint); border-radius: 14px; color: var(--ag-ink); }
@media (max-width: 575.98px) { .mix-in, .mix-out { padding: 1.6rem 1.3rem; } .donut { width: 190px; height: 190px; } }

/* ---------- Path (process) ---------- */
.path { list-style: none; padding: 0; margin: 1rem 0 0; position: relative; }
.path::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 30px; border-left: 2px dashed var(--ag-apricot); }
.path li { display: flex; gap: 1.3rem; position: relative; padding-bottom: 1.6rem; }
.path li:last-child { padding-bottom: 0; }
.path .dot { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ag-teal); color: #fff; font-family: var(--ag-serif); font-size: 1.5rem; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--ag-blush); }
.path h3 { font-size: 1.7rem; margin: .3rem 0 .2rem; }
.path p { margin: 0; }
.path-photo { position: relative; padding: 0 0 30px 30px; }
.path-photo .ph { border-radius: 200px 200px 26px 26px; aspect-ratio: 9 / 10; }
.path-photo::before { content: ""; position: absolute; left: 0; bottom: 0; width: 60%; height: 60%; border-radius: 26px; background: var(--ag-apricot); opacity: .35; z-index: 0; }
.path-photo .ph { position: relative; z-index: 1; }
.badge-round { position: absolute; z-index: 2; right: 20px; bottom: 60px; display: inline-flex; align-items: center; gap: .55rem; background: #fff; color: var(--ag-ink); font-weight: 700; padding: .75rem 1.2rem; border-radius: 999px; box-shadow: 0 16px 34px rgba(13,76,85,.2); }
.badge-round i { color: var(--ag-apricot-d); font-size: 1.2rem; }
@media (max-width: 575.98px) { .path-photo { padding: 0 0 20px 16px; } .badge-round { right: 10px; bottom: 36px; font-size: .9rem; } }

/* ---------- Testimonials slider ---------- */
.voice-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 26px; scrollbar-width: thin; scrollbar-color: var(--ag-apricot) transparent; }
.voice-track:focus-visible { outline-offset: 4px; }
.voice-card { scroll-snap-align: start; background: #fff; border: 1px solid var(--ag-line); border-radius: 22px; padding: 2rem 1.9rem; margin: 0; display: flex; flex-direction: column; position: relative; }
.voices.bg-blush .voice-card, .voices .voice-card { box-shadow: 0 12px 30px rgba(13,76,85,.06); }
.voice-card .qm { font-family: var(--ag-serif); font-size: 5rem; line-height: .7; color: var(--ag-apricot); height: 40px; }
.voice-card blockquote { flex: 1; margin: 0 0 1.2rem; }
.voice-card blockquote p { font-family: var(--ag-serif); font-size: 1.45rem; line-height: 1.38; color: var(--ag-ink); margin: 0; }
.voice-card figcaption { font-weight: 700; color: var(--ag-teal); border-top: 1px dashed var(--ag-line); padding-top: 1rem; }
.stars { display: block; color: var(--ag-apricot-d); font-size: .82rem; letter-spacing: .15em; margin-bottom: .3rem; }
.slide-btns { display: inline-flex; gap: .6rem; }
.slide-btns button { width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ag-teal); background: transparent; color: var(--ag-teal); font-size: 1.2rem; transition: all .25s; }
.slide-btns button:hover { background: var(--ag-teal); color: #fff; }
@media (max-width: 991.98px) { .voice-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 575.98px) { .voice-track { grid-auto-columns: 88%; } }

/* ---------- Blog TOC ---------- */
.tag { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--ag-apricot-d); margin-bottom: .35rem; }
.toc { border-top: 1px solid rgba(13,76,85,.15); }
.toc-row { display: grid; grid-template-columns: 70px 220px 1fr 60px; align-items: center; gap: 1.8rem; padding: 1.8rem 0; border-bottom: 1px solid rgba(13,76,85,.15); color: var(--ag-text); }
.toc-n { font-family: var(--ag-serif); font-style: italic; font-size: 2.6rem; color: var(--ag-apricot-d); }
.toc-row .ph { aspect-ratio: 480 / 340; border-radius: 16px; }
.toc-row .ph img { transition: transform .6s; }
.toc-row:hover .ph img { transform: scale(1.06); }
.toc-txt h3 { font-size: 2rem; margin-bottom: .4rem; transition: color .2s; }
.toc-row:hover h3 { color: var(--ag-teal-2); }
.toc-txt .ex { display: block; }
.toc-go { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--ag-teal); color: var(--ag-teal); display: grid; place-items: center; font-size: 1.2rem; transition: all .25s; }
.toc-row:hover .toc-go { background: var(--ag-teal); color: #fff; transform: rotate(45deg); }
@media (max-width: 991.98px) { .toc-row { grid-template-columns: 180px 1fr; gap: 1.2rem 1.5rem; } .toc-n, .toc-go { display: none; } }
@media (max-width: 575.98px) { .toc-row { grid-template-columns: minmax(0, 1fr); } .toc-txt h3 { font-size: 1.7rem; } }

/* ---------- FAQ ---------- */
.acc-ag .accordion-item { border: 0; border-bottom: 1px solid var(--ag-line); background: transparent; border-radius: 0 !important; }
.acc-ag .accordion-button { font-family: var(--ag-serif); font-size: 1.45rem; color: var(--ag-ink); background: transparent; padding: 1.25rem 0; box-shadow: none; }
.acc-ag .accordion-button:not(.collapsed) { color: var(--ag-teal-2); }
.acc-ag .accordion-button::after { background-image: none; content: "\F64D"; font-family: "bootstrap-icons"; width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--ag-teal); color: var(--ag-teal); font-size: 1rem; transition: transform .3s, background .3s; margin-left: auto; }
.acc-ag .accordion-button { gap: 1rem; }
.acc-ag .accordion-button:not(.collapsed)::after { transform: rotate(45deg); background: var(--ag-apricot); border-color: var(--ag-apricot); color: var(--ag-ink); }
.acc-ag .accordion-button:focus { box-shadow: none; }
.acc-ag .accordion-body { padding: 0 3rem 1.4rem 0; }

/* ---------- Newsletter ---------- */
.news-card { background: var(--ag-apricot); background-image: radial-gradient(rgba(255,255,255,.35) 1.4px, transparent 1.4px); background-size: 20px 20px; border-radius: 28px; padding: 3.2rem 3.4rem; color: var(--ag-ink); }
.news-card .eyebrow { background: rgba(255,255,255,.5); color: var(--ag-teal); }
.news-card h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: .6rem; }
.news-card h2 em { color: var(--ag-teal); }
.news-field { display: flex; gap: .5rem; background: #fff; border-radius: 999px; padding: .4rem; box-shadow: 0 14px 30px rgba(13,76,85,.15); }
.news-field .form-control { border: 0; box-shadow: none; border-radius: 999px; padding-left: 1.1rem; }
@media (max-width: 575.98px) { .news-card { padding: 2.2rem 1.4rem; } .news-field { flex-direction: column; border-radius: 22px; } }

/* ---------- CTA ---------- */
.cta-teal { padding: 0 0 100px; background: #fff; }
.cta-box { background: var(--ag-teal); border-radius: 28px; overflow: hidden; color: rgba(255,255,255,.82); }
.cta-box .inner { padding: 3.6rem 3.4rem; }
.cta-box .eyebrow { background: rgba(255,255,255,.1); color: #fff; }
.cta-box h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.cta-box .ph { height: 100%; min-height: 340px; border-radius: 180px 0 0 180px; }
@media (max-width: 575.98px) { .cta-box .inner { padding: 2.4rem 1.4rem; } .cta-teal { padding-bottom: 70px; } }

/* ---------- Page banner ---------- */
.ag-banner { background: var(--ag-blush); padding: 80px 0 0; position: relative; }
.ag-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: #fff; z-index: 0; }
.ag-banner .container { position: relative; z-index: 1; }
.ag-banner h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-bottom: .9rem; }
.ag-banner.post h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); max-width: 960px; margin-left: auto; margin-right: auto; }
.ag-banner .lead2 { max-width: 680px; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .2rem; font-size: .9rem; font-weight: 600; margin-bottom: 1rem; background: #fff; padding: .35rem 1rem; border-radius: 999px; border: 1px solid var(--ag-line); }
.crumbs .bi-dot { color: var(--ag-apricot-d); }
.crumbs .cur { color: var(--ag-ink); }
.banner-strip { margin-top: 3rem; }
.banner-strip .ph { border-radius: 26px; height: 260px; box-shadow: 0 24px 50px rgba(13,76,85,.15); }
@media (max-width: 575.98px) { .ag-banner { padding-top: 56px; } .banner-strip .ph { height: 180px; border-radius: 18px; } .ag-banner::after { height: 70px; } }

/* ---------- Services page ---------- */
.svc-chapter { padding: 3rem 0; border-bottom: 1px solid var(--ag-line); scroll-margin-top: 120px; }
.svc-chapter:first-child { padding-top: 0; }
.svc-chapter:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-chapter .ph { border-radius: 26px; aspect-ratio: 9 / 6.4; }
.svc-chapter h2 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin-bottom: .8rem; }

/* ---------- About page ---------- */
.mv-card { background: #fff; border-radius: 22px; padding: 2.4rem 2.2rem; height: 100%; box-shadow: 0 14px 34px rgba(13,76,85,.06); }
.mv-card .rn { font-size: 2.2rem; }
.mv-card h3 { font-size: 2rem; }

/* ---------- Blog post ---------- */
.post-text p { margin-bottom: 1.35rem; font-size: 1.12rem; }
.post-text > p:first-child::first-letter { font-family: var(--ag-serif); float: left; font-size: 4.6rem; line-height: .85; padding: .3rem .6rem 0 0; color: var(--ag-teal); }
.post-text h2 { font-size: 2.3rem; margin: 2.3rem 0 1rem; }
.post-text .guide-note { position: relative; background: var(--ag-mint); border-radius: 20px; padding: 1.7rem 1.8rem 1.7rem 5rem; font-family: var(--ag-serif); font-size: 1.6rem; color: var(--ag-ink); line-height: 1.3; margin: 2rem 0; }
.post-text .guide-note::before { content: "\F46B"; font-family: "bootstrap-icons"; position: absolute; left: 1.5rem; top: 1.6rem; width: 44px; height: 44px; border-radius: 50%; background: var(--ag-apricot); color: var(--ag-ink); display: grid; place-items: center; font-size: 1.1rem; line-height: 1; }
.post-text a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.post-pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--ag-line); padding-top: 1.8rem; margin-top: 2.4rem; }
.side-box { background: var(--ag-blush); border-radius: 22px; padding: 1.8rem; margin-bottom: 1.6rem; }
.side-box h3 { font-size: 1.8rem; margin-bottom: 1.1rem; }
.side-box .sp { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; color: var(--ag-ink); font-weight: 600; line-height: 1.35; }
.side-box .sp:last-child { margin-bottom: 0; }
.side-box .sp:hover { color: var(--ag-teal-2); }
.side-box .sp .ph { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 50%; }
.side-box ul { list-style: none; padding: 0; margin: 0; }
.side-box li a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem 0; border-bottom: 1px dashed rgba(13,76,85,.18); color: var(--ag-ink); font-weight: 600; }
.side-box li:last-child a { border-bottom: 0; }
.side-box li a:hover { color: var(--ag-teal-2); }
.side-box.teal { background: var(--ag-teal); color: rgba(255,255,255,.82); }
.side-box.teal h3 { color: #fff; }

/* ---------- Contact ---------- */
.c-tile { text-align: center; background: var(--ag-mint); border-radius: 22px; padding: 2rem 1.5rem; height: 100%; }
.c-tile > i { width: 58px; height: 58px; margin: 0 auto 1rem; display: grid; place-items: center; border-radius: 50%; background: var(--ag-teal); color: var(--ag-apricot); font-size: 1.4rem; }
.c-tile h3 { font-size: 1.8rem; margin-bottom: .3rem; }
.c-tile p { margin: 0; }
.c-tile a { font-weight: 700; overflow-wrap: anywhere; }
.form-box { background: #fff; border: 1px solid var(--ag-line); border-radius: 26px; padding: 2.5rem; box-shadow: 0 20px 44px rgba(13,76,85,.08); height: 100%; }
.form-box .form-label { font-weight: 700; color: var(--ag-ink); }
.form-control, .form-select { border-radius: 12px; border-color: #cfdedb; padding: .74rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--ag-teal-2); box-shadow: 0 0 0 .2rem rgba(20,99,109,.15); }
.form-check-input:checked { background-color: var(--ag-teal); border-color: var(--ag-teal); }
@media (max-width: 575.98px) { .form-box { padding: 1.7rem 1.2rem; } }
.map-frame { height: 100%; min-height: 420px; border-radius: 26px; overflow: hidden; border: 8px solid var(--ag-blush); }
.map-frame iframe { width: 100%; height: 100%; min-height: 404px; border: 0; display: block; }
.unsub-ic { width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; display: grid; place-items: center; background: var(--ag-teal); color: var(--ag-apricot); font-size: 1.5rem; }
.rounded-photo { border-radius: 22px; aspect-ratio: 9 / 5.2; }

/* ---------- Form status ---------- */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; margin-top: 1rem; padding: .85rem 1.1rem; border-radius: 14px; font-weight: 600; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.success { background: #e2f3ec; color: #145c40; border: 1px solid #b9e0cf; }
.form-status.error { background: #fdebe4; color: #94391a; border: 1px solid #f3c6b3; }

/* ---------- Legal ---------- */
.legal-nav { position: sticky; top: 120px; background: var(--ag-mint); border-radius: 22px; padding: 1.6rem; }
.legal-nav h2 { font-size: 1.8rem; margin-bottom: .7rem; }
.legal-nav a { display: flex; gap: .6rem; padding: .38rem 0; color: var(--ag-ink); font-weight: 600; font-size: .96rem; }
.legal-nav a span { color: var(--ag-apricot-d); font-weight: 700; }
.legal-nav a:hover { color: var(--ag-teal-2); }
@media (max-width: 1199.98px) { .legal-nav { position: static; } }
.legal-body h2 { font-size: 2.1rem; margin: 2.2rem 0 .9rem; scroll-margin-top: 120px; display: flex; align-items: baseline; gap: .8rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 .n { font-family: var(--ag-sans); font-size: .9rem; font-weight: 700; color: var(--ag-apricot-d); }
.legal-body ul { padding-left: 1.3rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ag-teal-3); color: rgba(255,255,255,.7); padding: 0 0 0; font-size: .98rem; }
.foot-top { padding: 3rem 0; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 3.5rem; }
.foot .brand-logo { color: #fff; }
.foot .brand-logo .gem { background: var(--ag-apricot); color: var(--ag-teal-3); }
.foot-field { display: flex; gap: .5rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .35rem; }
.foot-field .form-control { background: transparent; border: 0; color: #fff; box-shadow: none; border-radius: 999px; }
.foot-field .form-control::placeholder { color: rgba(255,255,255,.55); }
@media (max-width: 400px) { .foot-field { flex-direction: column; border-radius: 22px; } }
.foot h4 { color: #fff; font-size: 1.6rem; margin-bottom: 1rem; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .55rem; }
.foot a { color: rgba(255,255,255,.75); }
.foot a:hover { color: var(--ag-apricot); }
.foot-link { font-weight: 700; color: var(--ag-apricot) !important; }
.foot .cl { display: flex; gap: .7rem; align-items: flex-start; overflow-wrap: anywhere; }
.foot .cl i { color: var(--ag-apricot); margin-top: .2rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 1.4rem 0; font-size: .92rem; }
.foot-bottom .sep { margin: 0 .55rem; color: var(--ag-apricot); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ag-teal); color: #fff; font-size: 1.2rem; z-index: 1040; box-shadow: 0 10px 24px rgba(13,76,85,.3); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ag-apricot); color: var(--ag-ink); }

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

@media (max-width: 767.98px) {
  .sec { padding: 70px 0; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
