/* ==========================================================
   Finance Budget Goal - Main Stylesheet
   Palette: aurora night, aurora green, goal gold, frost lilac
   Fonts: Readex Pro (headings), Noto Sans (body)
   ========================================================== */

:root {
  --night: #1c1438;
  --night-2: #2a2052;
  --night-3: #3b2f6b;
  --green: #17b890;
  --green-dark: #0f8f6f;
  --gold: #ffb627;
  --gold-dark: #e09a0c;
  --frost: #f5f3fb;
  --frost-2: #ebe7f7;
  --ink: #2b2740;
  --muted: #6b6684;
  --line: #e2ddf0;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(28, 20, 56, .35);
  --shadow-sm: 0 8px 22px -12px rgba(28, 20, 56, .30);
  --head: 'Readex Pro', system-ui, sans-serif;
  --body: 'Noto Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--head);
  color: var(--night);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.01em;
}
a { color: var(--green-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--night); }
img { max-width: 100%; display: block; }
p { color: var(--muted); }
::selection { background: var(--gold); color: var(--night); }

.section { padding: 100px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-frost { background: var(--frost); }
.bg-night { background: var(--night); }

/* ---------- Eyebrow + titles ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--gold) 0 60%, var(--green) 60% 100%);
}
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.section-title span { color: var(--green); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.on-dark .section-title, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }
.on-dark p { color: #c9c3e3; }
.on-dark .eyebrow { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn-goal, .btn-ghost, .btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, box-shadow .2s;
  line-height: 1.2;
}
.btn-goal { background: var(--green); color: var(--white); box-shadow: 0 10px 24px -10px rgba(23, 184, 144, .8); }
.btn-goal:hover { background: var(--green-dark); color: var(--white); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-dark); color: var(--night); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--night); }
.btn-ghost.dark { border-color: var(--night); color: var(--night); }
.btn-ghost.dark:hover { background: var(--night); color: var(--white); }
.link-arrow { font-family: var(--head); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: #cfc9e8; font-size: 13.5px; padding: 9px 0; }
.topbar a { color: #cfc9e8; }
.topbar a:hover { color: var(--gold); }
.topbar .info { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar i { color: var(--gold); margin-right: 6px; }

/* ---------- Floating pill navbar ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 1030; padding: 14px 0; transition: padding .25s; background: transparent; }
.nav-wrap.scrolled { padding: 8px 0; }
.nav-pill {
  background: var(--white);
  border-radius: 60px;
  box-shadow: var(--shadow);
  padding: 10px 12px 10px 24px;
  border: 1px solid var(--line);
}
.nav-pill .navbar-brand img { height: 42px; width: auto; }
.nav-pill .nav-link {
  font-family: var(--head);
  font-weight: 500;
  color: var(--night);
  padding: 8px 15px !important;
  border-radius: 40px;
  font-size: 15px;
}
.nav-pill .nav-link:hover { color: var(--green-dark); }
.nav-pill .nav-link.active { background: var(--frost-2); color: var(--night); }
.nav-pill .navbar-toggler { border: 0; box-shadow: none; font-size: 28px; color: var(--night); padding: 2px 10px; }
.nav-pill .btn-goal { padding: 11px 22px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--night);
  position: relative;
  overflow: hidden;
  margin-top: -100px;
  padding: 170px 0 120px;
  color: var(--white);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, var(--green) 0, transparent 70%); top: -120px; right: -80px; }
.hero::after { width: 460px; height: 460px; background: radial-gradient(circle, #7b5cff 0, transparent 70%); bottom: -200px; left: -120px; }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 60px); margin-bottom: 22px; }
.hero h1 .hl { color: var(--gold); position: relative; white-space: nowrap; }
.hero p.lead { color: #d3cdee; font-size: 18px; max-width: 540px; margin-bottom: 34px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero .chip { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 40px; padding: 7px 16px; font-size: 14px; color: #e6e1fa; }
.hero .chip i { color: var(--green); margin-right: 6px; }
.hero-visual { position: relative; padding: 0 0 40px 40px; }
.hero-visual .frame { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; border: 8px solid rgba(255, 255, 255, .08); aspect-ratio: 4 / 4.6; background: var(--night-2); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.goal-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 270px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.goal-card h6 { font-size: 15px; margin-bottom: 14px; display: flex; justify-content: space-between; }
.goal-card h6 span { color: var(--green-dark); }
.goal-row { margin-bottom: 12px; font-size: 13px; }
.goal-row:last-child { margin-bottom: 0; }
.goal-row .lbl { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 5px; }
.goal-row .lbl b { color: var(--night); font-weight: 600; }
.bar { height: 8px; border-radius: 8px; background: var(--frost-2); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 8px; background: var(--green); }
.bar span.gold { background: var(--gold); }
.bar span.violet { background: #7b5cff; }
.badge-float {
  position: absolute;
  top: 30px;
  right: -10px;
  background: var(--gold);
  color: var(--night);
  font-family: var(--head);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 14px;
  line-height: 1.3;
}
.badge-float strong { display: block; font-size: 24px; }

/* ---------- Stats ribbon ---------- */
.stats-ribbon { margin-top: -54px; position: relative; z-index: 5; }
.stats-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px 20px; border: 1px solid var(--line); }
.stat { text-align: center; padding: 6px 10px; }
.stat .num { font-family: var(--head); font-weight: 700; font-size: 38px; color: var(--night); line-height: 1; }
.stat .num em { font-style: normal; color: var(--green); }
.stat p { margin: 8px 0 0; font-size: 14.5px; }
.stats-box .col-6 + .col-6 .stat, .stats-box [class*="col-"]:not(:first-child) .stat { border-left: 1px dashed var(--line); }

/* ---------- About block ---------- */
.about-media { position: relative; padding-right: 60px; padding-bottom: 60px; }
.about-media .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--frost-2); }
.about-media .inset { position: absolute; right: 0; bottom: 0; width: 48%; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow); aspect-ratio: 1; background: var(--frost-2); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .years { position: absolute; top: 24px; left: -18px; background: var(--night); color: var(--white); border-radius: 18px; padding: 16px 20px; font-family: var(--head); text-align: center; box-shadow: var(--shadow-sm); }
.about-media .years strong { display: block; font-size: 34px; color: var(--gold); line-height: 1; }
.about-media .years span { font-size: 13px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.check-list li { position: relative; padding-left: 36px; margin-bottom: 12px; color: var(--ink); }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: var(--white); font-size: 14px; display: grid; place-items: center; line-height: 1; margin-top: 3px; }

/* ---------- Service cards ---------- */
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); background: var(--frost-2); }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .thumb img { transform: scale(1.06); }
.service-card .no { position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--night); font-family: var(--head); font-weight: 700; font-size: 14px; border-radius: 30px; padding: 4px 12px; }
.service-card .body { padding: 6px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.service-card .ic { width: 58px; height: 58px; border-radius: 18px; background: var(--night); color: var(--gold); display: grid; place-items: center; font-size: 26px; margin: -34px 0 16px; position: relative; z-index: 2; box-shadow: var(--shadow-sm); }
.service-card h3 { font-size: 21px; margin-bottom: 10px; }
.service-card p { font-size: 15px; flex: 1; }
.service-card .btn-goal { align-self: flex-start; padding: 11px 22px; font-size: 14px; margin-top: 8px; }

/* ---------- Method steps ---------- */
.steps { position: relative; }
.step-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 34px 26px; height: 100%; position: relative; transition: background .25s; }
.step-card:hover { background: rgba(255, 255, 255, .09); }
.step-card .n { font-family: var(--head); font-weight: 700; font-size: 15px; color: var(--night); background: var(--gold); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 20px; }
.step-card h4 { font-size: 20px; color: var(--white); margin-bottom: 10px; }
.step-card p { margin: 0; font-size: 15px; color: #c9c3e3; }
.step-card .bar { margin-top: 22px; background: rgba(255, 255, 255, .12); }

/* ---------- Calculator ---------- */
.calc-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 38px; border: 1px solid var(--line); }
.calc-result { background: var(--night); color: var(--white); border-radius: var(--radius); padding: 38px; height: 100%; position: relative; overflow: hidden; }
.calc-result::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 184, 144, .45), transparent 70%); right: -80px; bottom: -80px; }
.calc-result h3 { color: var(--white); font-size: 20px; }
.calc-result .big { font-family: var(--head); font-size: 50px; font-weight: 700; color: var(--gold); line-height: 1.1; margin: 10px 0; }
.calc-result p { color: #c9c3e3; position: relative; z-index: 2; }
.calc-result .bar { background: rgba(255, 255, 255, .14); height: 12px; margin: 22px 0 8px; position: relative; z-index: 2; }
.calc-result .bar span { transition: width .6s; }

/* ---------- Forms ---------- */
.form-label { font-family: var(--head); font-weight: 500; font-size: 14px; color: var(--night); margin-bottom: 6px; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 15px; background-color: var(--frost); color: var(--ink); }
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(23, 184, 144, .15); background-color: var(--white); }
.form-control.is-invalid, .form-select.is-invalid, .form-check-input.is-invalid { border-color: #d63a5a; }
.invalid-feedback { font-size: 13px; color: #d63a5a; }
.form-check-input:checked { background-color: var(--green); border-color: var(--green); }
.form-alert { display: none; border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-top: 16px; }
.form-alert.show { display: block; }
.form-alert.success { background: #e3f7f0; color: #0b6b52; border: 1px solid #b7e8d8; }
.form-alert.error { background: #fdebee; color: #a32640; border: 1px solid #f6c5cf; }
.form-alert.info { background: #fff6e2; color: #8a5a00; border: 1px solid #ffe2a6; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- Why us ---------- */
.why-img { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 420px; position: relative; background: var(--frost-2); }
.why-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.why-img .tag { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(28, 20, 56, .86); backdrop-filter: blur(6px); color: var(--white); border-radius: 16px; padding: 18px 22px; font-family: var(--head); }
.why-img .tag strong { color: var(--gold); }
.feature { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line); height: 100%; transition: border-color .2s; }
.feature:hover { border-color: var(--green); }
.feature .fi { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--frost-2); color: var(--green-dark); display: grid; place-items: center; font-size: 22px; }
.feature h4 { font-size: 17px; margin-bottom: 6px; }
.feature p { margin: 0; font-size: 14.5px; }

/* ---------- Testimonials ---------- */
.testi { background: var(--white); border-radius: var(--radius); padding: 34px 30px; height: 100%; position: relative; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.testi::before { content: "\201C"; font-family: Georgia, serif; position: absolute; right: 24px; top: 4px; font-size: 96px; line-height: 1; color: var(--frost-2); }
.testi .stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.testi p { color: var(--ink); font-size: 15.5px; position: relative; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi .av { width: 46px; height: 46px; border-radius: 50%; background: var(--night); color: var(--gold); font-family: var(--head); font-weight: 700; display: grid; place-items: center; }
.testi .who h5 { margin: 0; font-size: 16px; }

/* ---------- Blog cards ---------- */
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--frost-2); position: relative; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .cat { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--night); font-family: var(--head); font-size: 12.5px; font-weight: 600; border-radius: 30px; padding: 5px 14px; }
.blog-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 20px; margin-bottom: 10px; }
.blog-card h3 a { color: var(--night); }
.blog-card h3 a:hover { color: var(--green-dark); }
.blog-card p { font-size: 15px; flex: 1; }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 1px solid var(--line); border-radius: var(--radius-sm) !important; margin-bottom: 14px; overflow: hidden; }
.faq .accordion-button { font-family: var(--head); font-weight: 600; color: var(--night); padding: 20px 24px; font-size: 16.5px; background: var(--white); }
.faq .accordion-button:not(.collapsed) { background: var(--frost); color: var(--night); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 4px rgba(23, 184, 144, .15); }
.faq .accordion-body { padding: 4px 24px 22px; color: var(--muted); background: var(--frost); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 30px; overflow: hidden; padding: 70px 60px; background: var(--night); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 20, 56, .96) 30%, rgba(28, 20, 56, .45)); }
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(28px, 3.2vw, 40px); }
.cta-band p { color: #d3cdee; }
.sub-inline { display: flex; gap: 10px; background: var(--white); border-radius: 50px; padding: 6px; }
.sub-inline .form-control { border: 0; background: transparent; border-radius: 50px; }
.sub-inline .form-control:focus { box-shadow: none; }
.sub-inline .btn-goal { white-space: nowrap; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; margin-top: -100px; padding: 190px 0 100px; background: var(--night); overflow: hidden; text-align: center; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 20, 56, .55), rgba(28, 20, 56, .92)); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.page-banner .crumbs { display: inline-flex; gap: 10px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); padding: 7px 20px; border-radius: 40px; font-size: 14px; color: #d3cdee; }
.page-banner .crumbs a { color: var(--gold); }
.page-banner.post h1 { font-size: clamp(28px, 3.6vw, 44px); max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- Article ---------- */
.article-hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; margin-bottom: 40px; background: var(--frost-2); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article h2 { font-size: 26px; margin: 38px 0 14px; }
.article p { color: #4a4561; font-size: 17px; line-height: 1.85; }
.article ul { color: #4a4561; font-size: 16.5px; margin-bottom: 1.2rem; }
.article ul li { margin-bottom: 8px; }
.article .tip { background: var(--frost); border-left: 5px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 26px; margin: 30px 0; }
.article .tip p { margin: 0; color: var(--ink); }
.sidebar-box { background: var(--frost); border-radius: var(--radius); padding: 28px; margin-bottom: 26px; }
.sidebar-box h4 { font-size: 18px; margin-bottom: 18px; }
.side-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.side-post:last-child { margin-bottom: 0; }
.side-post .t { flex: 0 0 72px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--frost-2); }
.side-post .t img { width: 100%; height: 100%; object-fit: cover; }
.side-post a { color: var(--night); font-family: var(--head); font-weight: 500; font-size: 14.5px; line-height: 1.4; }
.side-post a:hover { color: var(--green-dark); }
.side-services a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px dashed var(--line); color: var(--ink); font-size: 15px; }
.side-services a:last-child { border-bottom: 0; }
.side-services a:hover { color: var(--green-dark); }
.sidebar-box.dark { background: var(--night); }
.sidebar-box.dark h4 { color: var(--white); }
.sidebar-box.dark p { color: #c9c3e3; font-size: 14.5px; }

/* ---------- Service detail (services page) ---------- */
.svc-row { padding: 60px 0; border-bottom: 1px dashed var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row .media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--frost-2); position: relative; }
.svc-row .media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row .media .no { position: absolute; top: 18px; left: 18px; background: var(--gold); color: var(--night); font-family: var(--head); font-weight: 700; border-radius: 30px; padding: 5px 14px; font-size: 14px; }
.svc-row h3 { font-size: 30px; margin-bottom: 14px; }
.svc-row .check-list { margin: 18px 0 26px; }

/* ---------- Values / team cards (about) ---------- */
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; height: 100%; transition: transform .25s; }
.value-card:hover { transform: translateY(-5px); }
.value-card .vi { width: 56px; height: 56px; border-radius: 16px; background: var(--gold); color: var(--night); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.value-card h4 { font-size: 19px; }
.value-card p { margin: 0; font-size: 15px; }
.mission { background: var(--night); border-radius: var(--radius); padding: 40px; height: 100%; }
.mission h3 { color: var(--white); }
.mission p { color: #c9c3e3; margin: 0; }
.mission.alt { background: var(--green); }
.mission.alt p { color: #eafaf5; }
.mission i { font-size: 34px; color: var(--gold); display: block; margin-bottom: 14px; }
.mission.alt i { color: var(--night); }

/* ---------- Contact ---------- */
.contact-info { background: var(--night); border-radius: var(--radius); padding: 40px 34px; height: 100%; color: var(--white); position: relative; overflow: hidden; }
.contact-info::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 182, 39, .35), transparent 70%); right: -90px; top: -90px; }
.contact-info h3 { color: var(--white); }
.contact-info p { color: #c9c3e3; }
.ci-item { display: flex; gap: 16px; margin-top: 24px; position: relative; z-index: 2; }
.ci-item .i { flex: 0 0 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--gold); display: grid; place-items: center; font-size: 20px; }
.ci-item h5 { color: var(--white); font-size: 15px; margin-bottom: 3px; }
.ci-item a, .ci-item span { color: #e6e1fa; font-size: 15px; }
.ci-item a:hover { color: var(--gold); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Newsletter pages ---------- */
.news-media { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 380px; position: relative; background: var(--frost-2); }
.news-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.perk { display: flex; gap: 14px; margin-bottom: 18px; }
.perk i { flex: 0 0 42px; height: 42px; border-radius: 12px; background: var(--frost-2); color: var(--green-dark); display: grid; place-items: center; font-size: 18px; }
.perk h5 { font-size: 16px; margin-bottom: 2px; }
.perk p { margin: 0; font-size: 14.5px; }

/* ---------- Legal ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 23px; margin: 36px 0 12px; padding-left: 16px; border-left: 5px solid var(--green); }
.legal p, .legal li { color: #4a4561; }
.legal .updated { display: inline-block; background: var(--frost-2); border-radius: 30px; padding: 5px 16px; font-size: 14px; color: var(--night); margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: #c9c3e3; padding-top: 0; position: relative; margin-top: 0; }
.footer .wave { display: block; width: 100%; height: 60px; background: var(--white); }
.footer .wave path { fill: var(--night); }
.footer.after-frost .wave { background: var(--frost); }
.footer-main { padding: 50px 0 40px; }
.footer img.flogo { height: 40px; width: auto; margin-bottom: 20px; }
.footer p { color: #b8b1d6; font-size: 15px; }
.footer h5 { color: var(--white); font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 4px; border-radius: 4px; background: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: #c9c3e3; font-size: 15px; }
.footer ul a:hover { color: var(--gold); }
.footer .fc li { display: flex; gap: 12px; font-size: 15px; }
.footer .fc i { color: var(--green); margin-top: 3px; }
.footer .fc a { color: #c9c3e3; }
.footer .social { display: flex; gap: 10px; margin-top: 20px; }
.footer .social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); display: grid; place-items: center; transition: background .2s; }
.footer .social a:hover { background: var(--green); }
.footer .fsub { display: flex; background: rgba(255, 255, 255, .08); border-radius: 40px; padding: 5px; margin-top: 8px; }
.footer .fsub .form-control { background: transparent; border: 0; color: var(--white); border-radius: 40px; padding: 10px 16px; font-size: 14px; }
.footer .fsub .form-control::placeholder { color: #9f98c2; }
.footer .fsub .form-control:focus { box-shadow: none; }
.footer .fsub button { border: 0; background: var(--gold); color: var(--night); width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; font-size: 18px; }
.footer .form-alert { font-size: 13.5px; padding: 10px 14px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: 14px; }
.footer-bottom a { color: #c9c3e3; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--night); border: 0; display: grid; place-items: center; font-size: 20px; box-shadow: var(--shadow-sm); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s; z-index: 999; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Image fallback ---------- */
.img-fallback { background: linear-gradient(135deg, var(--night-2), var(--green-dark)) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .nav-pill .nav-link { padding: 8px 10px !important; font-size: 14.5px; }
}
@media (max-width: 991.98px) {
  .section { padding: 76px 0; }
  .nav-pill { border-radius: 26px; }
  .nav-pill .navbar-collapse { padding: 12px 0 6px; }
  .nav-pill .nav-link { padding: 10px 14px !important; }
  .nav-pill .navbar-nav { margin-bottom: 10px; }
  .hero { padding: 150px 0 110px; }
  .hero-visual { margin-top: 50px; }
  .about-media { margin-bottom: 30px; }
  .stats-box [class*="col-"]:nth-child(3) .stat { border-left: 0; }
  .cta-band { padding: 50px 34px; }
  .svc-row .media { margin-bottom: 28px; }
}
@media (max-width: 575.98px) {
  .topbar .info span.hide-sm { display: none; }
  .nav-pill { padding: 8px 10px 8px 16px; }
  .nav-pill .navbar-brand img { height: 32px; }
  .hero-visual { padding-left: 0; }
  .goal-card { position: relative; width: 100%; margin-top: -60px; }
  .badge-float { right: 10px; }
  .stats-box [class*="col-"] .stat { border-left: 0 !important; }
  .about-media { padding-right: 0; }
  .about-media .inset { width: 46%; right: -6px; }
  .about-media .years { left: 10px; }
  .calc-card, .calc-result, .form-card { padding: 28px 22px; }
  .sub-inline { flex-direction: column; border-radius: 20px; }
  .sub-inline .btn-goal { justify-content: center; }
  .cta-band { padding: 40px 22px; border-radius: 22px; }
  .page-banner { padding: 160px 0 80px; }
}
