/* =========================================================
   Finance Saving Path — stylesheet
   Desert trail palette: olive, sandstone, sunset orange
   ========================================================= */
:root {
  --sp-olive: #5b6a2c;
  --sp-olive-d: #3d4819;
  --sp-olive-l: #eef0e0;
  --sp-sand: #f4ead8;
  --sp-sand-2: #e8d7b9;
  --sp-orange: #d9692b;
  --sp-orange-d: #b5501a;
  --sp-ink: #2a2a20;
  --sp-cream: #fcf8f0;
  --sp-line: #e5d9c3;
  --sp-text: #5b594a;
  --sp-head: "Bitter", Georgia, serif;
  --sp-body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --topo: repeating-radial-gradient(circle at 18% 30%, transparent 0 24px, rgba(91,106,44,.08) 24px 25px), repeating-radial-gradient(circle at 86% 78%, transparent 0 28px, rgba(217,105,43,.07) 28px 29px);
}

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

/* ---------- Photo frames ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(135deg, #3d4819, #8a7a45 55%, #d9692b); }
.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,.5); }

/* ---------- Buttons ---------- */
.btn { border-radius: 8px; font-weight: 600; padding: .78rem 1.55rem; letter-spacing: .01em; transition: all .25s ease; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1.03rem; }
.btn-orange { background: var(--sp-orange); color: #fff; border: 2px solid var(--sp-orange); }
.btn-orange:hover, .btn-orange:focus { background: var(--sp-orange-d); border-color: var(--sp-orange-d); color: #fff; }
.btn-olive { background: var(--sp-olive); color: #fff; border: 2px solid var(--sp-olive); }
.btn-olive:hover, .btn-olive:focus { background: var(--sp-olive-d); border-color: var(--sp-olive-d); color: #fff; }
.btn-line { background: transparent; color: var(--sp-olive-d); border: 2px solid var(--sp-olive); }
.btn-line:hover { background: var(--sp-olive); color: #fff; }
.btn-sand { background: var(--sp-sand); color: var(--sp-ink); border: 2px solid var(--sp-sand); }
.btn-sand:hover { background: #fff; border-color: #fff; color: var(--sp-ink); }
.btn-line-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-line-light:hover { background: #fff; color: var(--sp-ink); border-color: #fff; }

/* ---------- Common ---------- */
.topo { background-color: var(--sp-sand); background-image: var(--topo); }
.marker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sp-orange-d); margin-bottom: 1rem; }
.marker .bi { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-orange); color: #fff; font-size: .9rem; }
.on-dark .marker { color: #f2b48a; }
.h-sec { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 1rem; }
.h-sec em { font-style: normal; color: var(--sp-olive); position: relative; white-space: nowrap; }
.h-sec em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; border-bottom: 3px dashed var(--sp-orange); }
.on-dark .h-sec em { color: #d7e3a5; }
.big-p { font-size: 1.1rem; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }
.bg-white { background: #fff !important; }
.bg-olive { background: var(--sp-olive-d); color: #d8dcc3; }
.bg-olive h2, .bg-olive h3 { color: #fff; }
.mid-hd { max-width: 720px; margin: 0 auto 3.2rem; text-align: center; }
.dash-line { border-top: 3px dashed var(--sp-orange); opacity: .55; }

/* ---------- Top bar ---------- */
.top-strip { background: var(--sp-olive-d); color: #d8dcc3; font-size: .87rem; padding: .5rem 0; }
.top-strip a { color: #d8dcc3; }
.top-strip a:hover { color: #fff; }
.top-strip .bi { color: #f2b48a; margin-right: .4rem; }

/* ---------- Header ---------- */
.trail-head { position: sticky; top: 0; z-index: 1030; background: var(--sp-cream); transition: box-shadow .3s; }
.trail-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-bottom: 3px dashed var(--sp-sand-2); }
.trail-head.scrolled { box-shadow: 0 10px 28px rgba(42,42,32,.12); }
.trail-head .navbar { padding: .95rem 0; }
.brand-logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--sp-head); font-weight: 700; font-size: 1.45rem; color: var(--sp-ink); white-space: nowrap; }
.brand-logo:hover { color: var(--sp-ink); }
.brand-logo .peak { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; display: grid; place-items: center; background: var(--sp-olive); color: var(--sp-sand); font-size: 1.25rem; }
.trail-head .nav-link { font-weight: 600; color: var(--sp-ink); padding: .5rem .85rem !important; position: relative; white-space: nowrap; }
.trail-head .nav-link::before { content: ""; position: absolute; left: 50%; top: -2px; width: 8px; height: 8px; border-radius: 50%; background: var(--sp-orange); transform: translateX(-50%) scale(0); transition: transform .25s; }
.trail-head .nav-link:hover, .trail-head .nav-link.active { color: var(--sp-orange-d); }
.trail-head .nav-link:hover::before, .trail-head .nav-link.active::before { transform: translateX(-50%) scale(1); }
.trail-head .navbar-toggler { border: 2px solid var(--sp-olive); border-radius: 10px; color: var(--sp-olive); font-size: 1.4rem; padding: .3rem .6rem; }
.trail-head .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(91,106,44,.25); }
.call-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 40px; background: var(--sp-olive-l); color: var(--sp-olive-d); font-weight: 700; white-space: nowrap; }
.call-pill .bi { color: var(--sp-orange); }
.call-pill:hover { background: var(--sp-olive); color: #fff; }
@media (max-width: 991.98px) {
  .trail-head .navbar-collapse { padding: .8rem 0 .5rem; }
  .trail-head .nav-link::before { left: 0; top: 50%; transform: translateY(-50%) scale(0); }
  .trail-head .nav-link:hover::before, .trail-head .nav-link.active::before { transform: translateY(-50%) scale(1); }
  .trail-head .nav-link { padding-left: 1.1rem !important; }
}
@media (max-width: 400px) { .brand-logo { font-size: 1.18rem; } .brand-logo .peak { width: 36px; height: 36px; flex-basis: 36px; } }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 100px; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 1.3rem; }
.hero h1 span { color: var(--sp-orange); }
.hero .big-p { max-width: 540px; }
.path-card { background: #fff; border-radius: 24px; padding: 2rem 2rem 1.6rem; box-shadow: 0 30px 60px rgba(42,42,32,.12); position: relative; max-width: 470px; margin-left: auto; }
.path-card .head-photo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.path-card .head-photo .ph { width: 74px; height: 74px; flex: 0 0 74px; border-radius: 50%; border: 4px solid var(--sp-sand); }
.path-card h2 { font-size: 1.3rem; margin: 0; }
.path-card .sub { font-size: .9rem; }
.milestones { list-style: none; padding: 0; margin: 0; position: relative; }
.milestones::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; border-left: 3px dashed var(--sp-sand-2); }
.milestones li { display: flex; gap: 1rem; align-items: flex-start; padding: .6rem 0; position: relative; }
.milestones .pin { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-sand); color: var(--sp-olive-d); font-size: 1rem; position: relative; z-index: 1; border: 3px solid #fff; }
.milestones li.done .pin { background: var(--sp-olive); color: #fff; }
.milestones li.now .pin { background: var(--sp-orange); color: #fff; box-shadow: 0 0 0 6px rgba(217,105,43,.18); }
.milestones strong { display: block; font-family: var(--sp-head); color: var(--sp-ink); }
.milestones span { font-size: .9rem; }
.hero-photo { position: absolute; left: -150px; bottom: -40px; width: 180px; aspect-ratio: 4 / 5; border-radius: 18px; border: 6px solid #fff; box-shadow: 0 20px 40px rgba(42,42,32,.18); }
@media (max-width: 1199.98px) { .hero-photo { display: none; } }
@media (max-width: 991.98px) { .hero { padding: 50px 0 70px; } .path-card { margin: 2.4rem auto 0; } }
@media (max-width: 575.98px) { .path-card { padding: 1.5rem 1.2rem; } }

/* ---------- Saving pillars ---------- */
.pillar { background: #fff; border-radius: 20px; padding: 2rem 1.7rem; height: 100%; border: 1px solid var(--sp-line); position: relative; }
.pillar .no { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--sp-head); font-size: 2.6rem; font-weight: 700; color: var(--sp-sand-2); line-height: 1; }
.pillar .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sp-olive-l); color: var(--sp-olive); font-size: 1.45rem; margin-bottom: 1.1rem; }
.pillar h3 { font-size: 1.25rem; }
.pillar p { margin: 0; font-size: .96rem; }

/* ---------- Services trail (zigzag) ---------- */
.trail { position: relative; }
@media (min-width: 992px) { .trail::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 3px dashed var(--sp-orange); opacity: .5; transform: translateX(-50%); } }
.trail-row { position: relative; margin-bottom: 2.4rem; }
.trail-row:last-child { margin-bottom: 0; }
.trail-pin { display: none; }
@media (min-width: 992px) {
  .trail-pin { display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--sp-olive); color: #fff; font-family: var(--sp-head); font-weight: 700; font-size: 1.2rem; border: 6px solid var(--sp-cream); box-shadow: 0 0 0 2px var(--sp-sand-2); z-index: 2; }
  .trail-row:nth-child(even) .trail-pin { background: var(--sp-orange); }
}
.trail-card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--sp-line); display: flex; flex-direction: column; height: 100%; transition: box-shadow .3s, transform .3s; scroll-margin-top: 110px; }
.trail-card:hover { box-shadow: 0 24px 50px rgba(42,42,32,.1); transform: translateY(-4px); }
.trail-card .ph { aspect-ratio: 16 / 9; }
.trail-card .ph img { transition: transform .6s; }
.trail-card:hover .ph img { transform: scale(1.06); }
.trail-card .body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.trail-card .step-no { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sp-orange-d); margin-bottom: .3rem; }
.trail-card h3 { font-size: 1.32rem; }
.trail-card p { flex: 1; font-size: .96rem; }
.trail-card .btn { align-self: flex-start; }


/* ---------- About ---------- */
.about-pics { position: relative; padding: 0 60px 60px 0; }
.about-pics .big { border-radius: 22px; aspect-ratio: 5 / 4; }
.about-pics .small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 3; border-radius: 18px; border: 7px solid var(--sp-cream); }
.bg-white .about-pics .small { border-color: #fff; }
.about-pics .sign { position: absolute; left: 20px; top: 20px; background: var(--sp-olive); color: #fff; font-family: var(--sp-head); font-weight: 700; padding: .55rem 1rem; border-radius: 8px; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.about-pics .sign::after { content: ""; position: absolute; left: 22px; bottom: -14px; width: 6px; height: 14px; background: #7d6a44; }
.about-pics .sign .bi { margin-right: .35rem; color: #f2b48a; }
@media (max-width: 575.98px) { .about-pics { padding: 0 24px 50px 0; } }
.trail-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.trail-list li { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 2px dashed var(--sp-line); }
.trail-list li:last-child { border-bottom: 0; }
.trail-list .bi { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--sp-orange); color: #fff; }
.trail-list strong { display: block; font-family: var(--sp-head); color: var(--sp-ink); }
.trail-list span { font-size: .95rem; }

/* ---------- Habit calculator ---------- */
.habit-card { background: #fff; border-radius: 26px; padding: 2.4rem; color: var(--sp-text); box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.habit-card .form-label { font-weight: 600; color: var(--sp-ink); font-size: .9rem; }
.habit-card .form-control, .habit-card .form-select, .habit-card .input-group-text { border-radius: 8px; border-color: var(--sp-line); padding: .7rem .9rem; }
.habit-card .input-group > .form-control:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.habit-card .input-group > .form-control:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.habit-card .input-group > .input-group-text:first-child { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.habit-card .input-group > .input-group-text:last-child { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.habit-card .input-group-text { background: var(--sp-sand); color: var(--sp-olive-d); font-weight: 700; }
.habit-card .form-control:focus, .habit-card .form-select:focus { border-color: var(--sp-orange); box-shadow: 0 0 0 3px rgba(217,105,43,.18); }
.habit-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.8rem; }
.habit-out > div { border-radius: 16px; padding: 1.1rem; background: var(--sp-sand); }
.habit-out > div.hl { background: var(--sp-olive); }
.habit-out small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-olive-d); }
.habit-out .hl small { color: #e3e8c4; }
.habit-out b { font-family: var(--sp-head); font-size: 1.6rem; color: var(--sp-ink); line-height: 1.3; word-break: break-word; }
.habit-out .hl b { color: #fff; }
.habit-note { margin: 1rem 0 0; font-size: .95rem; }
@media (max-width: 575.98px) { .habit-card { padding: 1.6rem 1.2rem; } .habit-out { grid-template-columns: 1fr; } }

/* ---------- Trail markers (process) ---------- */
.tm { text-align: center; position: relative; }
.tm .sign { width: 84px; height: 84px; margin: 0 auto 1.2rem; display: grid; place-items: center; background: #fff; color: var(--sp-olive); font-size: 2rem; border-radius: 22px; border: 3px solid var(--sp-olive); transform: rotate(45deg); }
.tm .sign i { transform: rotate(-45deg); }
.tm .num { display: inline-block; font-weight: 700; color: var(--sp-orange-d); letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; margin-bottom: .3rem; }
.tm h3 { font-size: 1.25rem; }
.tm p { margin: 0; font-size: .96rem; }
@media (min-width: 992px) { .tm-row { position: relative; } .tm-row::before { content: ""; position: absolute; left: 13%; right: 13%; top: 42px; border-top: 3px dashed var(--sp-orange); opacity: .5; } }

/* ---------- Postcard testimonials ---------- */
.postcard { background: #fff; border-radius: 6px; padding: 2rem 1.8rem 1.6rem; height: 100%; position: relative; box-shadow: 0 18px 40px rgba(42,42,32,.12); border: 1px solid var(--sp-line); display: flex; flex-direction: column; }
.postcard::before { content: ""; position: absolute; inset: 8px; border: 2px dashed var(--sp-line); border-radius: 4px; pointer-events: none; }
.postcard .stamp { position: absolute; top: 1.2rem; right: 1.2rem; width: 54px; height: 62px; background: var(--sp-orange); color: #fff; display: grid; place-items: center; font-size: 1.4rem; border: 3px dotted #fff; outline: 2px solid var(--sp-orange); }
.postcard:nth-child(odd) .stamp { background: var(--sp-olive); outline-color: var(--sp-olive); }
.tilt-l { transform: rotate(-1.5deg); }
.tilt-r { transform: rotate(1.5deg); }
.postcard blockquote { font-family: var(--sp-head); font-size: 1.08rem; color: var(--sp-ink); margin: 1.6rem 0 1.3rem; padding-right: 2.4rem; flex: 1; line-height: 1.6; }
.postcard .who { font-weight: 700; color: var(--sp-olive-d); border-top: 2px dashed var(--sp-line); padding-top: .9rem; }
.postcard .who .bi { color: var(--sp-orange); margin-right: .35rem; }

/* ---------- Blog cards ---------- */
.trail-post { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--sp-line); color: var(--sp-text); transition: transform .3s, box-shadow .3s; }
.trail-post:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(42,42,32,.1); }
.trail-post .ph { aspect-ratio: 16 / 10; }
.trail-post .ph img { transition: transform .6s; }
.trail-post:hover .ph img { transform: scale(1.06); }
.trail-post .txt { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.trail-post .signpost { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; background: var(--sp-olive); color: #fff; font-weight: 600; font-size: .78rem; padding: .3rem .8rem .3rem .7rem; clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); margin-bottom: .9rem; }
.trail-post h3 { font-size: 1.3rem; }
.trail-post p { flex: 1; }
.go-on { font-weight: 700; color: var(--sp-orange-d); }
.go-on .bi { margin-left: .3rem; transition: margin .2s; }
a:hover .go-on .bi { margin-left: .6rem; }

/* ---------- FAQ ---------- */
.faq-sp .accordion-item { border: 1px solid var(--sp-line); border-radius: 14px !important; margin-bottom: .8rem; overflow: hidden; background: #fff; }
.faq-sp .accordion-button { font-family: var(--sp-head); font-weight: 600; font-size: 1.08rem; color: var(--sp-ink); padding: 1.15rem 1.3rem; background: #fff; box-shadow: none; gap: .7rem; }
.faq-sp .accordion-button::before { content: "\F3E8"; font-family: "bootstrap-icons"; color: var(--sp-orange); font-weight: 400; }
.faq-sp .accordion-button:not(.collapsed) { background: var(--sp-olive-l); color: var(--sp-olive-d); }
.faq-sp .accordion-button:focus { box-shadow: 0 0 0 3px rgba(91,106,44,.2); }
.faq-sp .accordion-body { padding: 1rem 1.3rem 1.3rem 3.1rem; }

/* ---------- Newsletter ---------- */
.news-orange { background-color: var(--sp-orange); background-image: repeating-radial-gradient(circle at 90% 20%, transparent 0 26px, rgba(255,255,255,.1) 26px 27px); color: #fff; border-radius: 26px; overflow: hidden; }
.news-orange .inner { padding: 3.2rem; }
.news-orange h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.news-orange .marker { color: #fff; }
.news-orange .marker .bi { background: #fff; color: var(--sp-orange); }
.news-orange .ph { height: 100%; min-height: 280px; }
.news-orange .form-control { border: 0; border-radius: 8px; padding: .85rem 1rem; }
.news-orange .form-control:focus { box-shadow: 0 0 0 3px var(--sp-olive-d); }
@media (max-width: 575.98px) { .news-orange .inner { padding: 2rem 1.3rem; } }

/* ---------- CTA ---------- */
.cta-olive { background-color: var(--sp-olive-d); background-image: repeating-radial-gradient(circle at 10% 90%, transparent 0 26px, rgba(255,255,255,.06) 26px 27px); color: #d8dcc3; border-radius: 26px; padding: 3.4rem 3rem; }
.cta-olive h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
@media (max-width: 575.98px) { .cta-olive { padding: 2.4rem 1.4rem; } }

/* ---------- Inner page banner ---------- */
.trail-banner { padding: 60px 0 70px; position: relative; overflow: hidden; }
.trail-banner h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.trail-banner.post h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.trail-banner .photo { border-radius: 50%; aspect-ratio: 1; max-width: 300px; margin-left: auto; border: 8px solid #fff; box-shadow: 0 20px 44px rgba(42,42,32,.18); }
.trail-banner .dash-line { margin-top: 2rem; max-width: 220px; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.crumbs .bi { color: var(--sp-orange); font-size: .75rem; }
.crumbs .cur { color: var(--sp-ink); }

/* ---------- Services page detail ---------- */
.svc-full { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--sp-line); height: 100%; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.svc-full .ph { aspect-ratio: 16 / 10; }
.svc-full .body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.svc-full .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sp-orange); color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.svc-full h2 { font-size: 1.45rem; }
.tick-list { list-style: none; padding: 0; margin: 1rem 0 1.6rem; flex: 1; }
.tick-list li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; color: var(--sp-ink); }
.tick-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--sp-olive); font-size: 1.15rem; line-height: 1.6; }
.svc-full .btn { align-self: flex-start; }

/* ---------- Values ---------- */
.val-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 2rem 1.6rem; height: 100%; }
.val-box .bi { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--sp-orange); color: #fff; font-size: 1.35rem; margin-bottom: 1rem; }
.val-box h3 { font-size: 1.22rem; }
.val-box p { margin: 0; font-size: .95rem; }
.mv-box { background: #fff; border-radius: 22px; padding: 2.4rem; height: 100%; border: 1px solid var(--sp-line); border-left: 6px solid var(--sp-olive); }
.mv-box h3 { font-size: 1.55rem; }

/* ---------- Article ---------- */
.post-photo { border-radius: 22px; aspect-ratio: 2 / 1; margin-bottom: 2.4rem; }
.post-text { font-size: 1.08rem; color: #48473b; }
.post-text p { margin-bottom: 1.35rem; }
.post-text h2 { font-size: 1.7rem; margin: 2.2rem 0 1rem; }
.post-text .trail-tip { background: var(--sp-sand); border-left: 6px solid var(--sp-orange); border-radius: 0 16px 16px 0; padding: 1.4rem 1.6rem; margin: 2rem 0; font-family: var(--sp-head); font-size: 1.15rem; color: var(--sp-ink); line-height: 1.55; background-image: var(--topo); }
.post-pager { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 3px dashed var(--sp-line); }
.aside-card { background: #fff; border-radius: 20px; padding: 1.6rem; margin-bottom: 1.5rem; border: 1px solid var(--sp-line); }
.aside-card h3 { font-size: 1.2rem; margin-bottom: 1rem; padding-bottom: .7rem; border-bottom: 2px dashed var(--sp-line); }
.aside-card .sp { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.aside-card .sp:last-child { margin-bottom: 0; }
.aside-card .sp .ph { flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%; }
.aside-card .sp a { font-family: var(--sp-head); font-weight: 600; color: var(--sp-ink); line-height: 1.35; font-size: .97rem; }
.aside-card .sp a:hover { color: var(--sp-orange-d); }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card ul a { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; color: var(--sp-text); font-weight: 600; }
.aside-card ul a:hover { color: var(--sp-orange-d); }
.aside-card.olive { background: var(--sp-olive-d); border-color: var(--sp-olive-d); color: #d8dcc3; }
.aside-card.olive h3 { color: #fff; border-color: rgba(255,255,255,.18); }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border-radius: 22px; padding: 2.6rem; border: 1px solid var(--sp-line); box-shadow: 0 24px 50px rgba(42,42,32,.06); }
.form-wrap .form-label { font-weight: 600; color: var(--sp-ink); font-size: .92rem; }
.form-wrap .form-control, .form-wrap .form-select { border-radius: 8px; border: 1px solid var(--sp-line); padding: .75rem 1rem; background-color: var(--sp-cream); }
.form-wrap .form-control:focus, .form-wrap .form-select:focus { border-color: var(--sp-orange); box-shadow: 0 0 0 3px rgba(217,105,43,.15); background-color: #fff; }
.form-check-input:checked { background-color: var(--sp-olive); border-color: var(--sp-olive); }
.form-check-input:focus { box-shadow: 0 0 0 3px rgba(91,106,44,.25); border-color: var(--sp-olive); }
@media (max-width: 575.98px) { .form-wrap { 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: 8px; font-weight: 600; font-size: .95rem; }
.form-status.show { display: block; }
.form-status.success { background: #e9f1dc; color: #3d5617; border: 1px solid #cddfb0; }
.form-status.error { background: #fbe5dc; color: #8f2e10; border: 1px solid #f2c1ab; }
.spinner-border { width: 1rem; height: 1rem; border-width: .15em; margin-right: .5rem; vertical-align: -2px; }

/* ---------- Contact ---------- */
.contact-card { background: var(--sp-olive-d); color: #d8dcc3; border-radius: 22px; padding: 2.4rem; height: 100%; background-image: repeating-radial-gradient(circle at 100% 0%, transparent 0 26px, rgba(255,255,255,.05) 26px 27px); }
.contact-card h2 { color: #fff; }
.c-line { display: flex; gap: 1rem; padding: 1.1rem 0; border-bottom: 2px dashed rgba(255,255,255,.14); }
.c-line:last-of-type { border-bottom: 0; }
.c-line .bi { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sp-orange); color: #fff; font-size: 1.15rem; }
.c-line h3 { color: #fff; font-size: 1.05rem; margin-bottom: .1rem; }
.c-line p, .c-line a { margin: 0; color: #e7ead7; overflow-wrap: anywhere; }
.c-line a:hover { color: #f2b48a; }
.map-wrap { border-radius: 22px; overflow: hidden; border: 1px solid var(--sp-line); background: var(--sp-sand); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Legal ---------- */
.legal-trail { position: sticky; top: 110px; background: #fff; border-radius: 20px; padding: 1.5rem; border: 1px solid var(--sp-line); }
.legal-trail h2 { font-size: 1.05rem; margin-bottom: .8rem; }
.legal-trail a { display: flex; gap: .6rem; align-items: center; padding: .35rem 0; color: var(--sp-text); font-weight: 500; font-size: .92rem; }
.legal-trail a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--sp-orange); flex: 0 0 9px; }
.legal-trail a:hover { color: var(--sp-orange-d); }
@media (max-width: 1199.98px) { .legal-trail { position: static; } }
.legal-page { background: #fff; border-radius: 22px; padding: 2.8rem; border: 1px solid var(--sp-line); }
.legal-page h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; padding-top: 1.4rem; border-top: 2px dashed var(--sp-line); scroll-margin-top: 110px; }
.legal-page h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal-page h2 .n { color: var(--sp-orange); margin-right: .5rem; }
@media (max-width: 575.98px) { .legal-page { padding: 1.8rem 1.2rem; } }

/* ---------- Footer ---------- */
.footer { background: var(--sp-ink); color: #b5b39f; padding: 80px 0 0; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; border-top: 4px dashed var(--sp-orange); opacity: .6; }
.footer .brand-logo { color: #fff; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6rem; }
.footer a { color: #b5b39f; }
.footer a:hover { color: #f2b48a; }
.footer .cl { display: flex; gap: .7rem; }
.footer .cl .bi { color: var(--sp-orange); }
.footer .cl a, .footer .cl span { overflow-wrap: anywhere; min-width: 0; }
.footer .form-control { background: #3a392d; border: 1px solid #4b4a3b; color: #fff; border-radius: 8px; padding: .7rem 1rem; }
.footer .form-control::placeholder { color: #8f8d79; }
.footer .form-control:focus { border-color: var(--sp-orange); box-shadow: none; }
.footer-bottom { border-top: 1px solid #3b3a2e; margin-top: 60px; padding: 1.4rem 0; font-size: .9rem; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--sp-orange); color: #fff; font-size: 1.3rem; z-index: 1040; box-shadow: 0 10px 24px rgba(217,105,43,.35); opacity: 0; visibility: hidden; transform: translateY(14px); transition: all .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--sp-olive); }

/* ---------- Reveal ---------- */
.step-in { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s ease; }
.step-in.in { opacity: 1; transform: none; }
.step-in.in.tilt-l { transform: rotate(-1.5deg); }
.step-in.in.tilt-r { transform: rotate(1.5deg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .step-in { opacity: 1; transform: none; transition: none; } }

@media (max-width: 767.98px) {
  .section { padding: 70px 0; }
  .g-5 { --bs-gutter-x: 1.5rem; }
  .tilt-l, .tilt-r, .step-in.in.tilt-l, .step-in.in.tilt-r { transform: none; }
}
@media (min-width: 992px) { .trail-row { margin-bottom: 0; } .trail-row + .trail-row { margin-top: -210px; } }
