/* ==========================================================
   Finance Plan Works - Stylesheet
   Palette: blueprint ink #0f2a4a, blueprint blue #1b4f8c,
   drafting blue #2f6fb8, terracotta #d9603b, sky #a9cbea,
   drafting paper #f3f6fa, linen #fbf5ee
   Fonts: Saira (headings), Libre Franklin (body)
   ========================================================== */

:root {
  --ink: #0f2a4a;
  --ink-2: #163a63;
  --blue: #1b4f8c;
  --blue-2: #2f6fb8;
  --terra: #d9603b;
  --terra-dark: #b84a28;
  --terra-soft: #fbe6dd;
  --sky: #a9cbea;
  --sky-soft: #e5f0fa;
  --paper: #f3f6fa;
  --linen: #fbf5ee;
  --text: #33475e;
  --muted: #6b7d92;
  --line: #d9e3ee;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 14px 40px rgba(15, 42, 74, 0.10);
  --shadow-lg: 0 24px 60px rgba(15, 42, 74, 0.16);
  --font-head: 'Saira', 'Segoe UI', sans-serif;
  --font-body: 'Libre Franklin', 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
a { color: var(--blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--terra); }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }
::selection { background: var(--terra); color: #fff; }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; position: relative; }
.bg-paper { background: var(--paper); }
.bg-linen { background: var(--linen); }
.bg-grid {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(27, 79, 140, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 79, 140, .06) 1px, transparent 1px);
  background-size: 28px 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--terra);
  display: inline-block;
}
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 18px; }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--terra);
  display: inline-block;
}
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn-fpw, .btn-fpw-outline, .btn-fpw-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .02em;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  line-height: 1.3;
  white-space: nowrap;
}
.btn-fpw { background: var(--terra); color: #fff; border-color: var(--terra); }
.btn-fpw:hover { background: var(--terra-dark); border-color: var(--terra-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(217, 96, 59, .32); }
.btn-fpw:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-fpw-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-fpw-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-fpw-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-fpw-light:hover { background: transparent; color: #fff; border-color: #fff; transform: translateY(-2px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #c9d8ea; font-size: .88rem; padding: 9px 0; }
.topbar .item { color: #c9d8ea; margin-right: 26px; display: inline-flex; align-items: center; gap: 8px; }
.topbar .item i { color: var(--sky); }
.topbar a.item:hover { color: #fff; }
.social { display: flex; gap: 8px; }
.social a {
  width: 32px; height: 32px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #c9d8ea; background: rgba(255, 255, 255, .08);
  transition: all .2s ease;
}
.social a:hover { background: var(--terra); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(15, 42, 74, .10); }
.site-header .navbar { padding: 14px 0; }
.navbar-brand img { height: 44px; width: auto; }
.navbar-toggler { border: 0; color: var(--ink); padding: 4px 8px; }
.navbar-toggler:focus { box-shadow: none; }
.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink) !important;
  padding: 8px 16px !important;
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--terra);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--blue) !important; }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 22px; }
.hero h1 .hl { color: var(--blue); position: relative; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .06em;
  height: .2em; background: var(--terra); opacity: .28; border-radius: 3px; z-index: -1;
}
.hero .lead { font-size: 1.12rem; color: var(--text); max-width: 560px; margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.hero-points i { color: var(--terra); font-size: 1.1rem; }

.blueprint-visual { position: relative; padding: 26px 26px 60px 0; }
.blueprint-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.2;
  background: var(--sky-soft);
}
.blueprint-frame img { width: 100%; height: 100%; object-fit: cover; }
.blueprint-visual .corner { position: absolute; width: 46px; height: 46px; border: 3px solid var(--blue); }
.blueprint-visual .corner.tl { top: 8px; left: -18px; border-right: 0; border-bottom: 0; }
.blueprint-visual .corner.br { bottom: 42px; right: 8px; border-left: 0; border-top: 0; }
.blueprint-visual .dim {
  position: absolute; top: 50%; right: -4px; transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  font-family: var(--font-head); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--blue); white-space: nowrap;
}
.plan-sheet {
  position: absolute; left: -40px; bottom: 0; width: 290px;
  background: #fff; border-radius: var(--radius); padding: 22px 22px 18px;
  box-shadow: var(--shadow-lg); border-top: 5px solid var(--terra);
}
.plan-sheet h6 { font-size: 1rem; margin-bottom: 4px; }
.plan-sheet .sub { font-size: .8rem; color: var(--muted); margin-bottom: 14px; display: block; }
.plan-sheet ul { list-style: none; padding: 0; margin: 0; }
.plan-sheet li {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-bottom: 1px dashed var(--line); font-size: .9rem; color: var(--ink); font-weight: 500;
}
.plan-sheet li:last-child { border-bottom: 0; }
.plan-sheet li i { font-size: 1.05rem; }
.plan-sheet li .done { color: var(--blue-2); }
.plan-sheet li .todo { color: var(--terra); }
.drafted-tag {
  position: absolute; top: 0; right: 40px;
  background: var(--ink); color: #fff; border-radius: 40px;
  padding: 10px 18px; font-family: var(--font-head); font-size: .88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow);
}
.drafted-tag i { color: var(--terra); }

/* ---------- Commitments bar ---------- */
.commit-bar { margin-top: -56px; position: relative; z-index: 3; }
.commit-wrap { background: var(--ink); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-lg); }
.commit { display: flex; gap: 14px; align-items: flex-start; color: #c9d8ea; }
.commit i {
  flex: 0 0 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(169, 203, 234, .14); color: var(--sky); font-size: 1.3rem;
}
.commit strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.02rem; }
.commit span { font-size: .88rem; }

/* ---------- Plan stage cards ---------- */
.stage-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px 30px; height: 100%; position: relative; transition: all .3s ease;
}
.stage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--sky); }
.stage-card .num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--sky-soft); line-height: 1;
}
.stage-card .label {
  display: inline-block; font-family: var(--font-head); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--terra); background: var(--terra-soft); padding: 4px 12px; border-radius: 40px; margin-bottom: 18px;
}
.stage-card .ico {
  width: 58px; height: 58px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-size: 1.5rem; margin-bottom: 20px;
}
.stage-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.stage-card p { color: var(--muted); }
.stage-card a { font-family: var(--font-head); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Image pair ---------- */
.img-pair { position: relative; padding: 0 60px 60px 0; }
.img-pair .main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3.3; background: var(--sky-soft); }
.img-pair .main img, .img-pair .small img { width: 100%; height: 100%; object-fit: cover; }
.img-pair .small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius);
  overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow); background: var(--sky-soft);
}
.img-pair .pin {
  position: absolute; left: 22px; top: 22px; background: var(--terra); color: #fff; font-family: var(--font-head);
  font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 40px; display: inline-flex; gap: 6px; align-items: center;
}
.img-single { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sky-soft); }
.img-single img { width: 100%; height: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 22px 0 30px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.check-list li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px; border-radius: 6px; background: var(--blue); color: #fff;
  font-size: .9rem; display: flex; align-items: center; justify-content: center; line-height: 1;
}

/* ---------- Service cards ---------- */
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; border: 1px solid var(--line); transition: all .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--sky-soft); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .body { padding: 0 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card .icon {
  width: 60px; height: 60px; border-radius: 12px; margin-top: -30px; margin-bottom: 18px; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center; background: var(--terra); color: #fff; font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(217, 96, 59, .35);
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .btn-fpw { align-self: flex-start; padding: 11px 22px; }

/* ---------- Why choose ---------- */
.why-item { display: flex; gap: 16px; margin-bottom: 26px; }
.why-item .ico {
  flex: 0 0 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--sky-soft); color: var(--blue); font-size: 1.35rem; border: 1px dashed var(--blue-2);
}
.why-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.why-item p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Process (dark blueprint) ---------- */
.process {
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(169, 203, 234, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 203, 234, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #c9d8ea;
  padding: 100px 0;
}
.process .section-title { color: #fff; }
.process .section-head p { color: #a9bdd4; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%;
  border-top: 2px dashed rgba(169, 203, 234, .35);
}
.step { text-align: center; position: relative; }
.step .dot {
  width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--ink); border: 2px solid var(--sky); color: var(--sky); font-size: 1.6rem; position: relative; z-index: 1;
  transition: all .3s ease;
}
.step:hover .dot { background: var(--terra); border-color: var(--terra); color: #fff; }
.step .n { font-family: var(--font-head); font-size: .78rem; letter-spacing: .2em; color: var(--terra); display: block; margin-bottom: 6px; }
.step h3 { color: #fff; font-size: 1.22rem; margin-bottom: 10px; }
.step p { font-size: .94rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: 90px 0; color: #e3ecf6; overflow: hidden; background: var(--blue); }
.cta-band .bg { position: absolute; inset: 0; }
.cta-band .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15, 42, 74, .96) 0%, rgba(27, 79, 140, .86) 100%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; height: 100%; position: relative;
  border: 1px solid var(--line); border-left: 4px solid var(--blue); transition: all .3s ease;
}
.testi-card:hover { box-shadow: var(--shadow); border-left-color: var(--terra); }
.testi-card .quote { position: absolute; right: 22px; top: 12px; font-size: 3.4rem; color: var(--sky-soft); line-height: 1; }
.testi-card .stars { color: #f0a43a; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-style: italic; color: var(--text); }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-card .avatar {
  width: 46px; height: 46px; border-radius: 10px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700;
}
.testi-card .name { font-family: var(--font-head); font-weight: 700; color: var(--ink); }

/* ---------- Blog cards ---------- */
.blog-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  display: flex; flex-direction: column; border: 1px solid var(--line); transition: all .3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-soft); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag {
  align-self: flex-start; font-family: var(--font-head); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--sky-soft); padding: 4px 12px; border-radius: 40px; margin-bottom: 14px;
}
.blog-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--terra); }
.blog-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.blog-card .read-more { font-family: var(--font-head); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq .accordion-button { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.04rem; padding: 18px 22px; background: #fff; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--blue); background: var(--sky-soft); }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { color: var(--text); padding: 6px 22px 20px; }

/* ---------- Newsletter band ---------- */
.news-band {
  background: var(--terra); border-radius: var(--radius); padding: 50px 48px; color: #fff; position: relative; overflow: hidden;
}
.news-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.news-band > * { position: relative; z-index: 1; }
.news-band .eyebrow { color: #fff; }
.news-band .eyebrow::before { background: #fff; }
.news-band h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 10px; }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form .form-control { flex: 1 1 200px; min-width: 0; }
.inline-form .form-alert { flex-basis: 100%; }
.news-band .form-control { background: #fff; border: 0; padding: 14px 18px; }
.news-band .form-alert.success, .news-band .form-alert.info, .news-band .form-alert.error { background: rgba(255, 255, 255, .95); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .98rem; color: var(--ink);
}
.form-control:focus, .form-select:focus { border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(47, 111, 184, .14); }
.form-control.is-invalid, .form-select.is-invalid, .form-check-input.is-invalid { border-color: #c53030; }
.form-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.form-check-input:checked { background-color: var(--blue); border-color: var(--blue); }
.form-alert { display: none; margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: .94rem; }
.form-alert.show { display: block; }
.form-alert.success { background: #e5f5ec; color: #1d6b43; border: 1px solid #b7e2c8; }
.form-alert.error { background: #fdecea; color: #a52a2a; border: 1px solid #f5c2bd; }
.form-alert.info { background: var(--sky-soft); color: var(--blue); border: 1px solid var(--sky); }
.form-panel { background: #fff; border-radius: var(--radius); padding: 42px 40px; box-shadow: var(--shadow); border-top: 5px solid var(--blue); }

/* ---------- Page banner ---------- */
.page-banner { position: relative; padding: 110px 0 100px; color: #dbe6f2; overflow: hidden; background: var(--ink); }
.page-banner .bg { position: absolute; inset: 0; }
.page-banner .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(rgba(169, 203, 234, .08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(169, 203, 234, .08) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(180deg, rgba(15, 42, 74, .92), rgba(27, 79, 140, .88));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.page-banner p { max-width: 680px; margin: 0 auto; font-size: 1.06rem; }
.crumbs { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; margin-bottom: 16px; font-family: var(--font-head); letter-spacing: .04em; flex-wrap: wrap; justify-content: center; }
.crumbs a { color: var(--sky); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .7rem; color: var(--terra); }

/* ---------- About page ---------- */
.mv-card { background: #fff; border-radius: var(--radius); padding: 36px 32px; height: 100%; border: 1px solid var(--line); border-top: 4px solid var(--terra); }
.mv-card .ico, .value-card .ico {
  width: 56px; height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-size: 1.45rem;
}
.mv-card h3 { font-size: 1.4rem; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; height: 100%; text-align: center; transition: all .3s ease; }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.value-card .ico { margin-bottom: 18px; background: var(--terra-soft); color: var(--terra); }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Services page ---------- */
.svc-detail { scroll-margin-top: 110px; }
.feature-list { list-style: none; padding: 0; margin: 20px 0 0; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; color: var(--ink); font-weight: 500; }
.feature-list i { color: var(--terra); margin-top: 3px; }

/* ---------- Contact page ---------- */
.contact-info { background: var(--ink); color: #c9d8ea; border-radius: var(--radius); padding: 40px 34px; height: 100%; }
.contact-info h3 { color: #fff; font-size: 1.45rem; margin-bottom: 26px; }
.contact-info .ci { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info .ci i {
  flex: 0 0 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(169, 203, 234, .14); color: var(--sky); font-size: 1.2rem;
}
.contact-info .ci strong { display: block; color: #fff; font-family: var(--font-head); }
.contact-info .ci a { color: #c9d8ea; }
.contact-info .ci a:hover { color: var(--terra); }
.contact-photo { border-radius: var(--radius-sm); overflow: hidden; margin-top: 26px; aspect-ratio: 16 / 9; background: var(--ink-2); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; line-height: 0; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; }

/* ---------- Newsletter page ---------- */
.perk { display: flex; gap: 16px; margin-bottom: 22px; }
.perk i {
  flex: 0 0 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--terra-soft); color: var(--terra); font-size: 1.3rem;
}
.perk h4 { font-size: 1.08rem; margin-bottom: 4px; }
.perk p { color: var(--muted); margin: 0; font-size: .95rem; }
.news-photo { border-radius: var(--radius); overflow: hidden; margin-top: 26px; aspect-ratio: 16 / 10; box-shadow: var(--shadow); background: var(--sky-soft); }
.news-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Article ---------- */
.article-body { font-size: 1.06rem; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 34px; aspect-ratio: 16 / 9; background: var(--sky-soft); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { font-size: 1.6rem; margin: 36px 0 14px; }
.article-body p { margin-bottom: 1.25rem; }
.article-body blockquote {
  margin: 30px 0; padding: 24px 28px; background: var(--paper); border-left: 4px solid var(--terra);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-head); font-size: 1.18rem; color: var(--ink); font-weight: 600;
}
.sticky-side { position: sticky; top: 110px; }
.sidebar-box { background: var(--paper); border-radius: var(--radius); padding: 28px 26px; margin-bottom: 26px; border: 1px solid var(--line); }
.sidebar-box h4 { font-size: 1.15rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; }
.sidebar-box li { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.sidebar-box li:last-child { border-bottom: 0; }
.sidebar-box li a { color: var(--ink); font-weight: 500; }
.sidebar-box li a:hover { color: var(--terra); }
.sidebar-box.dark { background: var(--ink); border-color: var(--ink); color: #c9d8ea; }
.sidebar-box.dark h4 { color: #fff; border-color: rgba(255, 255, 255, .15); }

/* ---------- Legal ---------- */
.legal h2 { font-size: 1.4rem; margin: 34px 0 12px; }
.legal .updated { color: var(--muted); font-style: italic; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9bdd4; padding: 80px 0 0; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--blue) 0%, var(--blue-2) 60%, var(--terra) 100%); }
.site-footer .f-logo img { height: 42px; width: auto; margin-bottom: 20px; }
.site-footer h5 { color: #fff; font-size: 1.1rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #a9bdd4; }
.site-footer ul a:hover { color: var(--terra); }
.f-contact li { display: flex; gap: 12px; align-items: flex-start; }
.f-contact i { color: var(--terra); margin-top: 3px; }
.site-footer .form-control { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); color: #fff; }
.site-footer .form-control::placeholder { color: #8ea4bd; }
.site-footer .inline-form .form-control { flex: 1 1 120px; }
.site-footer .inline-form .btn-fpw { padding: 10px 16px; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 56px; padding: 22px 0; font-size: .9rem; }
.footer-bottom a { color: #a9bdd4; margin-left: 18px; }
.footer-bottom a:hover { color: var(--terra); }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 10px; border: 0;
  background: var(--terra); color: #fff; font-size: 1.2rem; z-index: 999; opacity: 0; visibility: hidden;
  transform: translateY(14px); transition: all .3s ease; box-shadow: 0 10px 24px rgba(217, 96, 59, .35);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--ink); }

.img-fallback { background: linear-gradient(135deg, var(--blue), var(--ink)) !important; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); 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: 1199.98px) {
  .plan-sheet { left: -10px; }
}
@media (max-width: 991.98px) {
  .section { padding: 76px 0; }
  .hero { padding: 60px 0 100px; }
  .blueprint-visual { max-width: 560px; margin: 0 auto; }
  .plan-sheet { left: 0; }
  .navbar-collapse { padding: 14px 0 6px; }
  .nav-link::after { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .steps::before { display: none; }
  .sticky-side { position: static; }
  .commit-wrap .row > div + div { margin-top: 6px; }
}
@media (max-width: 767.98px) {
  .news-band { padding: 38px 26px; }
  .form-panel { padding: 30px 22px; }
  .contact-info { padding: 32px 24px; }
  .page-banner { padding: 80px 0 72px; }
}
@media (max-width: 575.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section { padding: 64px 0; }
  .navbar-brand img { height: 36px; }
  .blueprint-visual { padding: 18px 0 0; }
  .blueprint-visual .corner, .blueprint-visual .dim { display: none; }
  .plan-sheet { position: relative; width: auto; left: auto; bottom: auto; margin: -50px 14px 0; }
  .drafted-tag { right: 14px; top: 0; }
  .steps { grid-template-columns: 1fr; }
  .img-pair { padding: 0 30px 40px 0; }
  .map-wrap iframe { height: 340px; }
  .footer-bottom a { margin: 0 18px 0 0; }
  .btn-fpw, .btn-fpw-outline, .btn-fpw-light { white-space: normal; }
}
