/* =========================================================
   Finance Wisdom Center — stylesheet
   Palette: charcoal green, sage, copper on paper white
   ========================================================= */
:root {
  --wc-ink: #1f2a26;
  --wc-ink-2: #2b3833;
  --wc-sage: #6f8f7f;
  --wc-sage-d: #4d6b5c;
  --wc-sage-l: #e1e9e3;
  --wc-copper: #c8794a;
  --wc-copper-d: #a65d31;
  --wc-paper: #f5f3ee;
  --wc-line: #dcd7cb;
  --wc-text: #4b524e;
  --wc-head: "DM Serif Display", Georgia, serif;
  --wc-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--wc-body); color: var(--wc-text); background: var(--wc-paper); line-height: 1.75; font-size: 1rem; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--wc-head); font-weight: 400; color: var(--wc-ink); line-height: 1.18; }
a { color: var(--wc-copper-d); text-decoration: none; transition: color .2s; }
a:hover { color: var(--wc-ink); }
img { max-width: 100%; }
::selection { background: var(--wc-copper); color: #fff; }
:focus-visible { outline: 3px solid var(--wc-copper); outline-offset: 2px; }

/* ---------- Photo frames ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #2b3833, #4d6b5c 55%, #c8794a); }
.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.3rem; color: rgba(255,255,255,.4); }

/* ---------- Buttons ---------- */
.btn { border-radius: 4px; font-weight: 700; padding: .75rem 1.55rem; letter-spacing: .02em; transition: all .25s ease; }
.btn-lg { padding: .92rem 2rem; font-size: 1rem; }
.btn-copper { background: var(--wc-copper); border: 2px solid var(--wc-copper); color: #fff; }
.btn-copper:hover, .btn-copper:focus { background: var(--wc-copper-d); border-color: var(--wc-copper-d); color: #fff; }
.btn-ink { background: var(--wc-ink); border: 2px solid var(--wc-ink); color: #fff; }
.btn-ink:hover, .btn-ink:focus { background: var(--wc-sage-d); border-color: var(--wc-sage-d); color: #fff; }
.btn-line { border: 2px solid var(--wc-ink); color: var(--wc-ink); background: transparent; }
.btn-line:hover { background: var(--wc-ink); color: #fff; }
.btn-line-light { border: 2px solid rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-line-light:hover { background: #fff; color: var(--wc-ink); border-color: #fff; }

/* ---------- Common ---------- */
.kicker { display: inline-flex; align-items: center; gap: .7rem; font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--wc-copper-d); margin-bottom: 1rem; }
.kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.on-dark .kicker, .bg-ink .kicker { color: #e3a27b; }
.title { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 1rem; }
.title i, h1 i { font-style: italic; color: var(--wc-sage-d); }
.bg-ink .title i, .on-dark h1 i, .on-dark .title i { color: #a9c2b4; }
.intro { font-size: 1.08rem; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: #fff !important; }
.bg-sage { background: var(--wc-sage-l); }
.bg-ink { background: var(--wc-ink); color: #c5cec9; }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.center-head { max-width: 700px; margin: 0 auto 3.4rem; text-align: center; }
.center-head .kicker::after { content: ""; width: 34px; height: 2px; background: currentColor; }

/* ---------- Utility bar ---------- */
.utility { background: var(--wc-ink); color: #b7c3bd; font-size: .85rem; padding: .5rem 0; }
.utility a { color: #b7c3bd; }
.utility a:hover { color: #fff; }
.utility .bi { color: var(--wc-copper); margin-right: .4rem; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 1030; background: var(--wc-paper); border-bottom: 1px solid var(--wc-line); transition: box-shadow .3s; }
.masthead.scrolled { box-shadow: 0 10px 30px rgba(31,42,38,.1); }
.mast-top { padding: 1rem 0; }
.mast-top > .side { flex: 1 1 0; }
.mast-phone { font-weight: 700; color: var(--wc-ink); display: inline-flex; align-items: center; gap: .55rem; }
.mast-phone .bi { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--wc-line); color: var(--wc-copper); }
.brand-logo { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--wc-head); font-size: 1.65rem; color: var(--wc-ink); white-space: nowrap; line-height: 1; }
.brand-logo:hover { color: var(--wc-ink); }
.brand-logo .mark { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 6px; display: grid; place-items: center; background: var(--wc-ink); color: var(--wc-copper); font-size: 1.15rem; }
.mast-nav { border-top: 1px solid var(--wc-line); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; }
.nav-list a { display: block; padding: .8rem 1.6rem; font-weight: 700; color: var(--wc-ink); font-size: .95rem; letter-spacing: .03em; position: relative; }
.nav-list li + li a::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 14px; background: var(--wc-line); transform: translateY(-50%); }
.nav-list a::after { content: ""; position: absolute; left: 1.6rem; right: 1.6rem; bottom: -1px; height: 3px; background: var(--wc-copper); transform: scaleX(0); transition: transform .25s; }
.nav-list a:hover::after, .nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active, .nav-list a:hover { color: var(--wc-copper-d); }
.menu-toggle { border: 1px solid var(--wc-ink); background: transparent; border-radius: 6px; width: 44px; height: 44px; font-size: 1.45rem; color: var(--wc-ink); display: grid; place-items: center; }
@media (max-width: 991.98px) {
  .mast-top { padding: .8rem 0; }
  .nav-list { flex-direction: column; padding: .5rem 0 1rem; }
  .nav-list a { padding: .7rem .2rem; }
  .nav-list li + li a::before { display: none; }
  .nav-list a::after { left: 0; right: auto; width: 3px; top: 20%; bottom: 20%; height: auto; transform: scaleY(0); }
  .nav-list a:hover::after, .nav-list a.active::after { transform: scaleY(1); }
  .nav-list a { padding-left: .9rem; }
}
@media (max-width: 400px) { .brand-logo { font-size: 1.32rem; } .brand-logo .mark { width: 34px; height: 34px; flex-basis: 34px; font-size: 1rem; } }

/* ---------- Split hero ---------- */
.hero-split .copy-pane { background: var(--wc-ink); color: #c5cec9; display: flex; align-items: center; padding: 90px 0; position: relative; overflow: hidden; }
.hero-split .copy-pane::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 260px; height: 260px; border: 1px solid rgba(169,194,180,.25); border-radius: 50%; box-shadow: 0 0 0 30px rgba(169,194,180,.05), 0 0 0 60px rgba(169,194,180,.03); }
.hero-split .copy { max-width: 600px; margin-left: auto; padding: 0 3.5rem 0 1.5rem; position: relative; z-index: 1; }
.hero-split h1 { color: #fff; font-size: clamp(2.5rem, 4.6vw, 4rem); margin-bottom: 1.4rem; }
.hero-split p.intro { color: #c5cec9; font-size: 1.12rem; }
.hero-split .photo-pane { min-height: 620px; height: 100%; }
.hero-quote { border-left: 3px solid var(--wc-copper); padding: .4rem 0 .4rem 1.1rem; margin: 2rem 0 2.4rem; font-family: var(--wc-head); font-style: italic; font-size: 1.2rem; color: #e6ece8; }
@media (max-width: 991.98px) {
  .hero-split .copy { margin: 0 auto; padding: 0 1.25rem; max-width: 720px; }
  .hero-split .copy-pane { padding: 60px 0; }
  .hero-split .photo-pane { min-height: 340px; }
}

/* ---------- Pillars (roman numerals) ---------- */
.pillars { background: #fff; border-bottom: 1px solid var(--wc-line); }
.pillar { padding: 2.4rem 2rem; height: 100%; }
@media (min-width: 992px) { .pillars .col-lg-3 + .col-lg-3 .pillar { border-left: 1px solid var(--wc-line); } }
@media (min-width: 768px) and (max-width: 991.98px) { .pillars .col-md-6:nth-child(even) .pillar { border-left: 1px solid var(--wc-line); } .pillars .col-md-6:nth-child(n+3) .pillar { border-top: 1px solid var(--wc-line); } }
@media (max-width: 767.98px) { .pillars .col-12 + .col-12 .pillar { border-top: 1px solid var(--wc-line); } }
.pillar .rn { font-family: var(--wc-head); font-size: 2.2rem; color: var(--wc-copper); line-height: 1; display: block; margin-bottom: .7rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .35rem; }
.pillar p { margin: 0; font-size: .95rem; }

/* ---------- Horizontal service cards ---------- */
.svc-h { display: flex; background: #fff; border: 1px solid var(--wc-line); border-radius: 8px; overflow: hidden; height: 100%; transition: box-shadow .3s, transform .3s; }
.svc-h:hover { box-shadow: 0 22px 46px rgba(31,42,38,.1); transform: translateY(-4px); }
.svc-h .ph { flex: 0 0 40%; min-height: 260px; }
.svc-h .ph img { transition: transform .6s; }
.svc-h:hover .ph img { transform: scale(1.06); }
.svc-h .body { padding: 1.8rem 1.7rem; display: flex; flex-direction: column; }
.svc-h .no { font-size: .78rem; font-weight: 700; letter-spacing: .18em; color: var(--wc-copper-d); text-transform: uppercase; margin-bottom: .45rem; }
.svc-h h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.svc-h p { flex: 1; font-size: .96rem; }
.svc-h .btn { align-self: flex-start; }
@media (max-width: 575.98px) { .svc-h { flex-direction: column; } .svc-h .ph { flex-basis: auto; min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- About ---------- */
.framed { position: relative; padding: 0 22px 22px 0; }
.framed::before { content: ""; position: absolute; right: 0; bottom: 0; left: 22px; top: 22px; border: 2px solid var(--wc-copper); border-radius: 6px; }
.framed .ph { position: relative; border-radius: 6px; aspect-ratio: 5 / 4; }
.framed .mini { position: absolute; left: -26px; bottom: -36px; width: 42%; aspect-ratio: 1; border-radius: 6px; border: 8px solid #fff; z-index: 2; box-shadow: 0 18px 40px rgba(31,42,38,.18); }
@media (max-width: 575.98px) { .framed .mini { left: 0; } }
.big-quote { font-family: var(--wc-head); font-size: 1.45rem; line-height: 1.45; color: var(--wc-ink); border-top: 1px solid var(--wc-line); border-bottom: 1px solid var(--wc-line); padding: 1.3rem 0; margin: 1.6rem 0; }
.big-quote .bi { color: var(--wc-copper); margin-right: .4rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 2rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: .6rem; font-weight: 500; color: var(--wc-ink); }
.ticks li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--wc-sage-d); font-size: 1.2rem; line-height: 1.5; }

/* ---------- Debt-to-income checker ---------- */
.dti-card { background: #fff; border: 1px solid var(--wc-line); border-radius: 10px; padding: 2.6rem; box-shadow: 0 24px 50px rgba(31,42,38,.07); }
.dti-card .form-label { font-weight: 700; color: var(--wc-ink); font-size: .9rem; }
.dti-card .form-control, .dti-card .input-group-text { border-color: var(--wc-line); padding: .7rem .9rem; }
.dti-card .input-group-text { background: var(--wc-sage-l); color: var(--wc-sage-d); font-weight: 700; }
.dti-card .form-control:focus { border-color: var(--wc-sage); box-shadow: 0 0 0 3px rgba(111,143,127,.22); }
.dti-out { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--wc-line); border-radius: 8px; margin-top: 1.8rem; }
.dti-out > div { padding: 1.1rem 1.2rem; }
.dti-out > div + div { border-left: 1px solid var(--wc-line); }
.dti-out small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wc-sage-d); }
.dti-out b { font-family: var(--wc-head); font-weight: 400; font-size: 1.75rem; color: var(--wc-ink); line-height: 1.3; word-break: break-word; }
#oStatus.ok { color: #3d7a4f; }
#oStatus.mid { color: #b07a12; }
#oStatus.high { color: #b5442a; }
.gauge { margin-top: 1.8rem; }
.gauge .bar { position: relative; height: 12px; border-radius: 10px; background: linear-gradient(90deg, #5f9c6f 0%, #5f9c6f 60%, #d7a640 60%, #d7a640 71.7%, #c8573a 71.7%); }
.gauge .pin { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--wc-ink); transform: translate(-50%, -50%); transition: left .5s ease; left: 0; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.gauge .marks { position: relative; height: 22px; font-size: .75rem; font-weight: 700; color: var(--wc-text); margin-top: .35rem; }
.gauge .marks span { position: absolute; transform: translateX(-50%); }
.gauge .marks span:first-child { transform: none; }
.gauge .marks span:last-child { transform: translateX(-100%); }
.dti-note { margin: 1rem 0 0; font-size: .94rem; }
@media (max-width: 575.98px) {
  .dti-card { padding: 1.7rem 1.2rem; }
  .dti-out { grid-template-columns: 1fr; }
  .dti-out > div + div { border-left: 0; border-top: 1px solid var(--wc-line); }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 960px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--wc-line); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 3rem 2.6rem 0; text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 2.6rem 3rem; text-align: left; }
.tl-item .dot { position: absolute; right: -23px; top: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--wc-ink); color: var(--wc-copper); display: grid; place-items: center; font-family: var(--wc-head); font-size: 1.15rem; border: 4px solid var(--wc-paper); }
.tl-item:nth-child(even) .dot { left: -23px; right: auto; }
.tl-item h3 { font-size: 1.4rem; margin-bottom: .35rem; padding-top: .3rem; }
.tl-item p { margin: 0; }
@media (max-width: 767.98px) {
  .timeline::before { left: 23px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 2.2rem 4.2rem; text-align: left; }
  .tl-item .dot, .tl-item:nth-child(even) .dot { left: 0; right: auto; }
}

/* ---------- Testimonial carousel ---------- */
.voice { max-width: 860px; margin: 0 auto; text-align: center; padding: 0 3.5rem; }
.voice .bi-quote { font-size: 3.4rem; color: var(--wc-copper); line-height: 1; }
.voice blockquote { font-family: var(--wc-head); font-size: clamp(1.35rem, 2.6vw, 2rem); color: #fff; line-height: 1.45; margin: 1rem 0 1.6rem; }
.voice .name { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .85rem; color: #a9c2b4; }
.voice-wrap .carousel-indicators { position: static; margin: 2.4rem 0 0; }
.voice-wrap .carousel-indicators [data-bs-target] { width: 34px; height: 3px; background: #a9c2b4; border: 0; opacity: .35; }
.voice-wrap .carousel-indicators .active { opacity: 1; background: var(--wc-copper); }
.voice-wrap .carousel-control-prev, .voice-wrap .carousel-control-next { width: 46px; height: 46px; top: 50%; transform: translateY(-80%); border: 1px solid rgba(255,255,255,.3); border-radius: 50%; opacity: 1; }
.voice-wrap .carousel-control-prev:hover, .voice-wrap .carousel-control-next:hover { background: var(--wc-copper); border-color: var(--wc-copper); }
.voice-wrap .carousel-control-prev-icon, .voice-wrap .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }
@media (max-width: 575.98px) { .voice { padding: 0; } .voice-wrap .carousel-control-prev, .voice-wrap .carousel-control-next { display: none; } }

/* ---------- Blog rows (home) ---------- */
.post-row { display: grid; grid-template-columns: 70px 1fr 220px; gap: 2rem; align-items: center; padding: 2rem 0; border-top: 1px solid var(--wc-line); color: var(--wc-text); }
.post-row:last-child { border-bottom: 1px solid var(--wc-line); }
.post-row .n { font-family: var(--wc-head); font-size: 2.4rem; color: var(--wc-copper); line-height: 1; }
.post-row h3 { font-size: 1.55rem; margin-bottom: .45rem; transition: color .2s; }
.post-row p { margin: 0 0 .5rem; }
.post-row .ph { aspect-ratio: 4 / 3; border-radius: 6px; }
.post-row .ph img { transition: transform .6s; }
.post-row:hover h3 { color: var(--wc-copper-d); }
.post-row:hover .ph img { transform: scale(1.06); }
.read { font-weight: 700; font-size: .9rem; color: var(--wc-sage-d); letter-spacing: .03em; }
.read .bi { margin-left: .3rem; transition: margin .2s; }
a:hover .read .bi { margin-left: .6rem; }
@media (max-width: 767.98px) {
  .post-row { grid-template-columns: 1fr; gap: 1rem; }
  .post-row .ph { order: -1; }
}

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--wc-line); border-radius: 8px; overflow: hidden; color: var(--wc-text); transition: box-shadow .3s, transform .3s; }
.post-card:hover { box-shadow: 0 22px 46px rgba(31,42,38,.1); transform: translateY(-4px); }
.post-card .ph { aspect-ratio: 16 / 10; }
.post-card .txt { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wc-copper-d); margin-bottom: .5rem; }
.post-card h3 { font-size: 1.4rem; }
.post-card p { flex: 1; }

/* ---------- FAQ ---------- */
.faq-wc .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--wc-line); border-radius: 0 !important; }
.faq-wc .accordion-item:first-child { border-top: 1px solid var(--wc-line); }
.faq-wc .accordion-button { background: transparent; font-family: var(--wc-head); font-size: 1.25rem; color: var(--wc-ink); padding: 1.3rem 0; box-shadow: none; }
.faq-wc .accordion-button::after { content: "\F4FE"; font-family: "bootstrap-icons"; background: none; width: auto; height: auto; font-size: 1.3rem; color: var(--wc-copper); transform: none; }
.faq-wc .accordion-button:not(.collapsed) { color: var(--wc-copper-d); background: transparent; }
.faq-wc .accordion-button:not(.collapsed)::after { content: "\F2EA"; transform: none; }
.faq-wc .accordion-button:focus-visible { outline: 3px solid var(--wc-copper); }
.faq-wc .accordion-body { padding: 0 0 1.4rem; }

/* ---------- Newsletter ---------- */
.letter { background: var(--wc-sage-l); border-radius: 10px; overflow: hidden; }
.letter .ph { height: 100%; min-height: 300px; }
.letter .inner { padding: 3.2rem; }
.letter h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.letter .form-control { border: 1px solid #c7d4cb; padding: .8rem 1rem; border-radius: 4px; }
.letter .form-control:focus { border-color: var(--wc-sage-d); box-shadow: 0 0 0 3px rgba(111,143,127,.25); }
@media (max-width: 575.98px) { .letter .inner { padding: 2rem 1.3rem; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--wc-copper); color: #fff; border-radius: 10px; padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; pointer-events: none; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .4rem; }
.cta-band p { color: #fbe8dc; margin: 0; }
.cta-band > * { position: relative; }
.cta-band .btn-ink:hover { background: #fff; color: var(--wc-ink); border-color: #fff; }
@media (max-width: 575.98px) { .cta-band { padding: 2.4rem 1.6rem; } }

/* ---------- Page band (inner pages) ---------- */
.page-band { position: relative; background: var(--wc-ink); color: #c5cec9; padding: 90px 0 80px; text-align: center; overflow: hidden; }
.page-band .bg { position: absolute; inset: 0; }
.page-band .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31,42,38,.55), rgba(31,42,38,.9)); }
.page-band .container { position: relative; z-index: 1; }
.page-band h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.5rem); max-width: 900px; margin: 0 auto .9rem; }
.page-band p { max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .55rem; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.crumbs a { color: #e3a27b; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: #73857c; }
.crumbs .cur { color: #c5cec9; }

/* ---------- Services page: vertical cards ---------- */
.svc-v { background: #fff; border: 1px solid var(--wc-line); border-radius: 8px; overflow: hidden; height: 100%; display: flex; flex-direction: column; scroll-margin-top: 150px; transition: box-shadow .3s; }
.svc-v:hover { box-shadow: 0 22px 46px rgba(31,42,38,.1); }
.svc-v .ph { aspect-ratio: 16 / 10; }
.svc-v .body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.svc-v .head { display: flex; align-items: center; gap: .9rem; margin-bottom: .9rem; }
.svc-v .head .bi { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 6px; display: grid; place-items: center; background: var(--wc-sage-l); color: var(--wc-sage-d); font-size: 1.3rem; }
.svc-v h2 { font-size: 1.55rem; margin: 0; }
.svc-v .ticks { flex: 1; margin-bottom: 1.5rem; }
.svc-v .ticks li { font-size: .94rem; font-weight: 500; }
.svc-v .btn { align-self: flex-start; }

/* ---------- Values ---------- */
.val { border-top: 3px solid var(--wc-copper); background: #fff; padding: 2rem 1.6rem; height: 100%; border-radius: 0 0 8px 8px; }
.val .bi { font-size: 1.9rem; color: var(--wc-sage-d); }
.val h3 { font-size: 1.35rem; margin: .7rem 0 .4rem; }
.val p { margin: 0; font-size: .95rem; }
.mv { border: 1px solid rgba(169,194,180,.25); border-radius: 8px; padding: 2.4rem; height: 100%; }
.mv h3 { font-size: 1.8rem; }
.mv .rn { font-family: var(--wc-head); color: var(--wc-copper); font-size: 1.1rem; }

/* ---------- Article ---------- */
.post-photo { border-radius: 8px; aspect-ratio: 2 / 1; margin-bottom: 2.4rem; }
.post-text { font-size: 1.08rem; color: #3f4743; }
.post-text > p:first-of-type::first-letter { font-family: var(--wc-head); float: left; font-size: 4.1rem; line-height: .85; padding: .35rem .6rem 0 0; color: var(--wc-copper); }
.post-text p { margin-bottom: 1.35rem; }
.post-text h2 { font-size: 1.85rem; margin: 2.2rem 0 1rem; }
.post-text .note { background: var(--wc-sage-l); border-left: 4px solid var(--wc-sage-d); padding: 1.3rem 1.5rem; margin: 2rem 0; font-family: var(--wc-head); font-size: 1.3rem; color: var(--wc-ink); line-height: 1.5; border-radius: 0 6px 6px 0; }
.post-pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--wc-line); padding-top: 1.5rem; margin-top: 2.4rem; font-weight: 700; }
.side-card { background: #fff; border: 1px solid var(--wc-line); border-radius: 8px; padding: 1.6rem; margin-bottom: 1.5rem; }
.side-card h3 { font-size: 1.3rem; padding-bottom: .8rem; margin-bottom: 1rem; border-bottom: 1px solid var(--wc-line); }
.side-card .sp { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.side-card .sp:last-child { margin-bottom: 0; }
.side-card .sp .ph { flex: 0 0 82px; width: 82px; height: 66px; border-radius: 6px; }
.side-card .sp a { font-family: var(--wc-head); color: var(--wc-ink); line-height: 1.35; }
.side-card .sp a:hover { color: var(--wc-copper-d); }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card ul a { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; color: var(--wc-text); font-weight: 500; }
.side-card ul a:hover { color: var(--wc-copper-d); }
.side-card.ink { background: var(--wc-ink); border-color: var(--wc-ink); color: #c5cec9; }
.side-card.ink h3 { color: #fff; border-color: rgba(255,255,255,.15); }

/* ---------- Forms ---------- */
.form-sheet { background: #fff; border: 1px solid var(--wc-line); border-radius: 10px; padding: 2.6rem; box-shadow: 0 24px 50px rgba(31,42,38,.06); }
.form-sheet .form-label { font-weight: 700; color: var(--wc-ink); font-size: .9rem; }
.form-sheet .form-control, .form-sheet .form-select { border: 1px solid var(--wc-line); border-radius: 4px; padding: .75rem 1rem; background-color: #fbfaf7; }
.form-sheet .form-control:focus, .form-sheet .form-select:focus { border-color: var(--wc-sage); box-shadow: 0 0 0 3px rgba(111,143,127,.22); background-color: #fff; }
.form-check-input:checked { background-color: var(--wc-sage-d); border-color: var(--wc-sage-d); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(111,143,127,.25); border-color: var(--wc-sage); }
@media (max-width: 575.98px) { .form-sheet { padding: 1.7rem 1.2rem; } }
.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: 4px; font-weight: 600; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.success { background: #e3f1e6; color: #24563a; border-left: 4px solid #3d7a4f; }
.form-status.error { background: #fbe6df; color: #8b2c16; border-left: 4px solid #b5442a; }
.spinner-border { width: 1rem; height: 1rem; border-width: .15em; margin-right: .5rem; vertical-align: -2px; }

/* ---------- Contact ---------- */
.contact-panel { background: var(--wc-ink); color: #c5cec9; border-radius: 10px; padding: 2.6rem; height: 100%; }
.contact-panel h2 { color: #fff; }
.c-item { display: flex; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.c-item:last-of-type { border-bottom: 0; }
.c-item .bi { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: var(--wc-ink-2); color: var(--wc-copper); font-size: 1.2rem; }
.c-item h3 { color: #fff; font-size: 1.15rem; margin-bottom: .15rem; }
.c-item p, .c-item a { margin: 0; color: #c5cec9; word-break: break-word; }
.c-item a:hover { color: #fff; }
.map-box { border-radius: 10px; overflow: hidden; border: 1px solid var(--wc-line); background: var(--wc-sage-l); }
.map-box iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Legal ---------- */
.toc-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.toc-chips a { border: 1px solid var(--wc-line); background: #fff; padding: .4rem .9rem; border-radius: 40px; font-size: .87rem; font-weight: 600; color: var(--wc-ink); }
.toc-chips a:hover { background: var(--wc-ink); color: #fff; border-color: var(--wc-ink); }
.legal-sheet { background: #fff; border: 1px solid var(--wc-line); border-radius: 10px; padding: 3rem; }
.legal-sheet h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid var(--wc-line); scroll-margin-top: 150px; }
.legal-sheet h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-sheet h2 .n { color: var(--wc-copper); margin-right: .6rem; }
@media (max-width: 575.98px) { .legal-sheet { padding: 1.8rem 1.2rem; } }

/* ---------- Footer ---------- */
.footer { background: var(--wc-ink); color: #a9b5af; padding: 80px 0 0; }
.footer .brand-logo { color: #fff; }
.footer .brand-logo .mark { background: var(--wc-copper); color: #fff; }
.footer h4 { color: #fff; font-size: 1.3rem; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { color: #a9b5af; }
.footer a:hover { color: #e3a27b; }
.footer .cl { display: flex; gap: .7rem; }
.footer .cl .bi { color: var(--wc-copper); }
.footer .form-control { background: var(--wc-ink-2); border: 1px solid #3c4b45; color: #fff; border-radius: 4px 0 0 4px; }
.footer .form-control::placeholder { color: #82918a; }
.footer .form-control:focus { border-color: var(--wc-copper); box-shadow: none; }
.footer .input-group .btn { border-radius: 0 4px 4px 0; }
.footer-bottom { border-top: 1px solid #34423c; margin-top: 60px; padding: 1.4rem 0; font-size: .9rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 6px; border: 0; background: var(--wc-copper); color: #fff; font-size: 1.3rem; z-index: 1040; box-shadow: 0 10px 24px rgba(31,42,38,.25); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--wc-ink); }

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

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