/* ==========================================================
   Future Money Care - Main Stylesheet
   Palette: deep ocean #0b2545, future cerulean #0a8fbf,
            care raspberry #c9184a, cloud #f3f8fb, rose milk #fff4f6
   Fonts: Quicksand (headings), Merriweather Sans (body)
   ========================================================== */

:root {
  --ocean: #0b2545;
  --ocean-2: #13315c;
  --cerulean: #0a8fbf;
  --cerulean-dark: #087aa3;
  --raspberry: #c9184a;
  --raspberry-dark: #a8123c;
  --cloud: #f3f8fb;
  --rose: #fff4f6;
  --sky: #d9eef7;
  --text: #33445a;
  --muted: #6a7a8f;
  --line: #dde7ef;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 45px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 28px 60px rgba(11, 37, 69, 0.16);
  --head: 'Quicksand', 'Trebuchet MS', sans-serif;
  --body: 'Merriweather Sans', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 300;
  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(--head);
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p { margin-bottom: 1rem; }
strong { font-weight: 600; }
a { color: var(--cerulean); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--raspberry); }
img { max-width: 100%; display: block; }
::selection { background: var(--cerulean); color: var(--white); }

/* ---------- Buttons ---------- */
.btn-fmc, .btn-fmc-accent, .btn-fmc-outline {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--head); font-weight: 700; font-size: 1rem;
  padding: .9rem 1.7rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: all .25s ease; line-height: 1.2;
}
.btn-fmc { background: var(--cerulean); color: var(--white); }
.btn-fmc:hover { background: var(--ocean); color: var(--white); transform: translateY(-2px); }
.btn-fmc-accent { background: var(--raspberry); color: var(--white); }
.btn-fmc-accent:hover { background: var(--white); color: var(--raspberry); transform: translateY(-2px); }
.btn-fmc-outline { border-color: var(--ocean); color: var(--ocean); background: transparent; }
.btn-fmc-outline:hover { background: var(--ocean); color: var(--white); }
.btn-fmc-outline.light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-fmc-outline.light:hover { background: var(--white); color: var(--ocean); }
.btn-sm-fmc { padding: .65rem 1.25rem; font-size: .92rem; }
.link-btn { font-family: var(--head); font-weight: 700; color: var(--raspberry); display: inline-flex; align-items: center; gap: .4rem; }
.link-btn i { transition: transform .2s ease; }
.link-btn:hover { color: var(--cerulean); }
.link-btn:hover i { transform: translateX(4px); }

/* ---------- Eyebrow & headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--head); font-weight: 700; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--raspberry);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow.light { color: #ffd2dd; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-head h2, h2.title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-head p { color: var(--muted); margin: 0; }

.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.bg-cloud { background: var(--cloud); }
.bg-rose { background: var(--rose); }
.bg-ocean { background: var(--ocean); color: #c9d6e6; }
.bg-ocean h2, .bg-ocean h3 { color: var(--white); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ocean); color: #b7c7da; font-size: .84rem; padding: .55rem 0; }
.topbar .item { margin-right: 1.6rem; color: #b7c7da; }
.topbar a.item:hover { color: var(--white); }
.topbar i { color: var(--cerulean); margin-right: .45rem; }
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.97); transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(11,37,69,.1); }
.site-header .navbar { padding: 1rem 0; }
.navbar-brand img { height: 46px; width: auto; }
.navbar-toggler { border: 0; font-size: 2rem; color: var(--ocean); padding: 0; box-shadow: none !important; }
.nav-link { font-family: var(--head); font-weight: 700; color: var(--ocean) !important; padding: .5rem 1rem !important; position: relative; }
.nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .15rem; height: 3px; border-radius: 3px; background: var(--raspberry); transform: scaleX(0); transition: transform .25s ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--raspberry) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 85% 15%, rgba(10,143,191,.45), transparent 45%), linear-gradient(135deg, var(--ocean) 0%, var(--ocean-2) 100%);
  color: #cfdcec; padding: 110px 0 130px;
}
.hero::after { content: ''; position: absolute; left: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; background: rgba(201,24,74,.18); }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 1.4rem; }
.hero h1 span { color: #7fd3f2; }
.hero .lead { font-size: 1.1rem; font-weight: 300; margin-bottom: 2rem; max-width: 560px; }
.hero .btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.2rem; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; font-size: .93rem; }
.hero-points i { color: #ff7a9b; margin-right: .4rem; }
.hero-visual { position: relative; padding: 0 0 30px 30px; }
.hero-visual .photo { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-lg); border: 8px solid rgba(255,255,255,.08); }
.hero-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card {
  position: absolute; left: 0; bottom: 0; background: var(--white); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; display: flex; align-items: center; gap: .9rem; box-shadow: var(--shadow-lg); max-width: 270px;
}
.hero-card .ic { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 50%; display: grid; place-items: center; background: var(--rose); color: var(--raspberry); font-size: 1.4rem; }
.hero-card strong { display: block; font-family: var(--head); color: var(--ocean); font-size: 1.05rem; }
.hero-card span { font-size: .82rem; color: var(--muted); line-height: 1.4; display: block; }
.hero-badge { position: absolute; right: -10px; top: 40px; background: var(--raspberry); color: var(--white); border-radius: var(--radius-sm); padding: .9rem 1.1rem; text-align: center; box-shadow: var(--shadow-lg); }
.hero-badge strong { display: block; font-family: var(--head); font-size: 1.8rem; line-height: 1; }
.hero-badge span { font-size: .75rem; }

/* ---------- Stats strip ---------- */
.stats-strip { margin-top: -70px; position: relative; z-index: 2; }
.stats-inner { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 2.2rem 1.5rem; }
.stat { text-align: center; padding: .5rem; }
.stat .num { font-family: var(--head); font-weight: 700; font-size: 2.4rem; color: var(--cerulean); line-height: 1.1; }
.stat .num small { font-size: 1.4rem; color: var(--raspberry); }
.stat p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
.stats-inner .col-6 + .col-6 .stat, .stats-inner [class*="col-"]:not(:first-child) .stat { border-left: 1px dashed var(--line); }

/* ---------- About visual ---------- */
.about-visual { position: relative; padding-right: 70px; padding-bottom: 70px; }
.about-visual .main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow); }
.about-visual .main img, .about-visual .inset img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .inset { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.about-visual .years { position: absolute; left: 22px; bottom: 30px; background: var(--cerulean); color: var(--white); border-radius: var(--radius-sm); padding: 1rem 1.3rem; }
.about-visual .years strong { font-family: var(--head); font-size: 2rem; display: block; line-height: 1; }
.about-visual .years span { font-size: .8rem; }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: .75rem; }
.check-list li::before { content: '\F26E'; font-family: 'bootstrap-icons'; position: absolute; left: 0; top: 0; color: var(--raspberry); font-size: 1.15rem; }

/* ---------- Service cards ---------- */
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .thumb img { transform: scale(1.05); }
.service-card .ic { position: absolute; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--raspberry); color: var(--white); font-size: 1.5rem; box-shadow: 0 10px 25px rgba(201,24,74,.35); }
.service-card .body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- Process ---------- */
.step { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 2.2rem 1.8rem; height: 100%; transition: background .3s ease; }
.step:hover { background: rgba(10,143,191,.15); }
.step .no { font-family: var(--head); font-weight: 700; font-size: 3rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #7fd3f2; display: block; margin-bottom: 1rem; }
.step h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.step p { margin: 0; font-size: .94rem; }

/* ---------- Why us ---------- */
.why-photo { border-radius: var(--radius); overflow: hidden; height: 100%; min-height: 380px; position: relative; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.why-photo .quote { position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(11,37,69,.9); color: var(--white); border-radius: var(--radius-sm); padding: 1.2rem 1.4rem; font-family: var(--head); font-weight: 600; font-size: 1.05rem; }
.feature { display: flex; gap: 1.1rem; margin-bottom: 1.6rem; }
.feature .ic { flex: 0 0 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--cerulean); font-size: 1.45rem; transition: all .3s ease; }
.feature:hover .ic { background: var(--cerulean); color: var(--white); }
.feature h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.feature p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius); padding: 2rem 1.9rem; height: 100%; box-shadow: var(--shadow); position: relative; border-top: 5px solid var(--cerulean); }
.testimonial.alt { border-top-color: var(--raspberry); }
.testimonial .stars { color: #f4b400; margin-bottom: .9rem; letter-spacing: .1em; }
.testimonial p { font-style: italic; margin-bottom: 1.3rem; }
.testimonial .who { display: flex; align-items: center; gap: .8rem; }
.testimonial .avatar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: var(--white); font-family: var(--head); font-weight: 700; }
.testimonial h3 { font-size: 1.05rem; margin: 0; }
.testimonial .qmark { position: absolute; right: 22px; top: 18px; font-size: 2.6rem; color: var(--sky); line-height: 1; }

/* ---------- Blog cards ---------- */
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s ease; }
.blog-card:hover { transform: translateY(-6px); }
.blog-card .pic { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.blog-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .pic img { transform: scale(1.06); }
.blog-card .body { padding: 1.6rem 1.7rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.blog-card h3 a { color: var(--ocean); }
.blog-card h3 a:hover { color: var(--cerulean); }
.blog-card p { color: var(--muted); font-size: .94rem; flex: 1; }

/* ---------- Newsletter band ---------- */
.news-band { padding: 0 0 100px; }
.news-inner { background: linear-gradient(120deg, var(--cerulean) 0%, var(--ocean) 100%); border-radius: var(--radius); padding: 3rem 3rem; color: #e1eef7; position: relative; overflow: hidden; }
.news-inner::after { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(255,255,255,.07); }
.news-inner h2 { color: var(--white); font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.input-wrap { display: flex; gap: .6rem; background: var(--white); border-radius: 50px; padding: .4rem; }
.input-wrap .form-control { border: 0; background: transparent; border-radius: 50px; padding: .7rem 1.1rem; box-shadow: none; }
.input-wrap .btn-fmc-accent { padding: .75rem 1.5rem; }
.input-wrap .btn-fmc-accent:hover { background: var(--ocean); color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background-size: cover; background-position: center; padding: 95px 0; color: #dbe6f2; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,37,69,.95) 0%, rgba(11,37,69,.78) 60%, rgba(201,24,74,.55) 100%); }
.cta-band .container { position: relative; }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.5rem); }
.cta-phone { display: block; margin-top: 1rem; color: var(--white); font-family: var(--head); font-weight: 700; }
.cta-phone:hover { color: #7fd3f2; }

/* ---------- Page banner ---------- */
.page-banner { position: relative; background-size: cover; background-position: center; padding: 110px 0 100px; color: #d5e2ef; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(11,37,69,.95) 30%, rgba(10,143,191,.7) 100%); }
.page-banner .container { position: relative; }
.page-banner h1 { color: var(--white); font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: .8rem; }
.page-banner p { max-width: 640px; margin: 0; }
.crumbs { list-style: none; padding: .35rem 1rem; margin: 0 0 1.2rem; display: inline-flex; gap: .5rem; background: rgba(255,255,255,.12); border-radius: 50px; font-size: .85rem; }
.crumbs li + li::before { content: '\F285'; font-family: 'bootstrap-icons'; font-size: .7rem; margin-right: .5rem; color: #ff9db5; }
.crumbs a { color: var(--white); }

/* ---------- Values / mission ---------- */
.value-card { background: var(--white); border-radius: var(--radius); padding: 2rem 1.8rem; height: 100%; box-shadow: var(--shadow); border-bottom: 4px solid transparent; transition: border-color .3s ease, transform .3s ease; }
.value-card:hover { border-color: var(--raspberry); transform: translateY(-5px); }
.value-card .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--rose); color: var(--raspberry); font-size: 1.6rem; margin-bottom: 1.2rem; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.mission-box { background: var(--white); border-radius: var(--radius); padding: 2.4rem; height: 100%; box-shadow: var(--shadow); }
.mission-box.dark { background: var(--ocean); color: #c9d6e6; }
.mission-box.dark h3 { color: var(--white); }
.mission-box .ic { font-size: 2.2rem; color: var(--cerulean); margin-bottom: .8rem; display: block; }
.mission-box.dark .ic { color: #ff7a9b; }

/* ---------- Services detail ---------- */
.service-detail { padding: 80px 0; scroll-margin-top: 90px; }
.service-detail:nth-of-type(even) { background: var(--cloud); }
.service-detail .pic { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); position: relative; }
.service-detail .pic img { width: 100%; height: 100%; object-fit: cover; }
.service-detail .pic .ic { position: absolute; left: 20px; top: 20px; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--raspberry); color: var(--white); font-size: 1.6rem; }
.service-detail h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.mini-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.2rem; }
.mini-list li { position: relative; padding-left: 1.7rem; font-size: .95rem; }
.mini-list li::before { content: '\F633'; font-family: 'bootstrap-icons'; position: absolute; left: 0; color: var(--cerulean); }

/* ---------- FAQ ---------- */
.faq .accordion-item { border: 0; border-radius: var(--radius-sm) !important; margin-bottom: 1rem; overflow: hidden; box-shadow: var(--shadow); }
.faq .accordion-button { font-family: var(--head); font-weight: 700; color: var(--ocean); padding: 1.2rem 1.4rem; font-size: 1.05rem; }
.faq .accordion-button:not(.collapsed) { background: var(--ocean); color: var(--white); box-shadow: none; }
.faq .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.faq .accordion-button:focus { box-shadow: none; }
.faq .accordion-body { padding: 1.2rem 1.4rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow-lg); }
.form-label { font-family: var(--head); font-weight: 700; color: var(--ocean); font-size: .95rem; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .95rem; color: var(--text); background-color: var(--cloud); }
.form-control:focus, .form-select:focus { border-color: var(--cerulean); box-shadow: 0 0 0 .2rem rgba(10,143,191,.15); background-color: var(--white); }
.form-control.is-invalid, .form-select.is-invalid { border-color: var(--raspberry); }
.form-check-input:checked { background-color: var(--cerulean); border-color: var(--cerulean); }
.form-check-input.is-invalid { border-color: var(--raspberry); }
.form-check-input.is-invalid ~ .form-check-label { color: var(--raspberry); }
.invalid-feedback { font-size: .82rem; color: var(--raspberry); }
.form-alert { display: none; margin-top: 1rem; padding: .85rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 400; }
.form-alert.show { display: block; }
.form-alert.success { background: #e3f6ee; color: #146c43; border: 1px solid #b6e4cf; }
.form-alert.error { background: #fde7ec; color: var(--raspberry-dark); border: 1px solid #f6bccb; }
.form-alert.info { background: var(--sky); color: var(--ocean); border: 1px solid #b5dcec; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--cloud); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; margin-bottom: 1rem; }
.info-card .ic { flex: 0 0 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--cerulean); color: var(--white); font-size: 1.2rem; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.info-card p { margin: 0; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }
.news-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow); }
.news-photo img { width: 100%; height: 100%; object-fit: cover; }
.perk { display: flex; gap: .9rem; margin-bottom: 1.1rem; }
.perk i { color: var(--raspberry); font-size: 1.3rem; }
.perk p { margin: 0; }

/* ---------- Article ---------- */
.article-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: 2.2rem; box-shadow: var(--shadow); }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { font-size: 1.6rem; margin: 2.2rem 0 1rem; }
.article-body p, .article-body li { font-size: 1.02rem; }
.article-body ul, .article-body ol { margin-bottom: 1.3rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-body li::marker { color: var(--raspberry); }
.article-body blockquote { margin: 2rem 0; padding: 1.5rem 1.8rem; background: var(--rose); border-left: 5px solid var(--raspberry); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--head); font-weight: 600; font-size: 1.15rem; color: var(--ocean); }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.share-row span { font-family: var(--head); font-weight: 700; color: var(--ocean); margin-right: .4rem; }
.share-row a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cloud); color: var(--ocean); }
.share-row a:hover { background: var(--raspberry); color: var(--white); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.post-nav a { flex: 1; background: var(--cloud); border-radius: var(--radius-sm); padding: 1.1rem 1.3rem; font-family: var(--head); font-weight: 700; color: var(--ocean); }
.post-nav a:hover { background: var(--ocean); color: var(--white); }
.post-nav a.next { text-align: right; }
.post-nav small { display: block; font-family: var(--body); font-weight: 300; font-size: .8rem; color: var(--muted); }
.post-nav a:hover small { color: #b7c7da; }
.sidebar-box { background: var(--cloud); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.6rem; }
.sidebar-box h3 { font-size: 1.2rem; margin-bottom: 1.2rem; padding-bottom: .7rem; border-bottom: 2px solid var(--line); }
.sidebar-box.dark { background: var(--ocean); color: #c9d6e6; }
.sidebar-box.dark h3 { color: var(--white); border-color: rgba(255,255,255,.15); }
.side-post { display: flex; gap: .9rem; align-items: center; margin-bottom: 1rem; }
.side-post .pic { flex: 0 0 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; }
.side-post .pic img { width: 100%; height: 100%; object-fit: cover; }
.side-post a { font-family: var(--head); font-weight: 700; color: var(--ocean); font-size: .95rem; line-height: 1.35; }
.side-post a:hover { color: var(--cerulean); }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li a { display: flex; justify-content: space-between; align-items: center; padding: .6rem 0; color: var(--text); border-bottom: 1px dashed var(--line); }
.side-links li a:hover { color: var(--raspberry); }

/* ---------- Legal ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .8rem; }
.legal ul { padding-left: 1.3rem; }
.legal li::marker { color: var(--raspberry); }
.legal .updated { display: inline-block; background: var(--sky); color: var(--ocean); border-radius: 50px; padding: .3rem 1rem; font-size: .85rem; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #071a31; color: #9fb2c8; padding: 85px 0 0; font-size: .94rem; }
.footer-logo img { height: 44px; width: auto; margin-bottom: 1.4rem; }
.site-footer h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 1.3rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer a { color: #9fb2c8; }
.site-footer a:hover { color: var(--white); }
.site-footer .contact li { display: flex; gap: .7rem; }
.site-footer .contact i { color: var(--cerulean); margin-top: .2rem; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: var(--white); }
.social a:hover { background: var(--raspberry); color: var(--white); }
.footer-form { margin-top: 1.3rem; }
.footer-form .input-wrap { background: rgba(255,255,255,.08); }
.footer-form .form-control { color: var(--white); font-size: .9rem; }
.footer-form .form-control::placeholder { color: #8ba0b8; }
.footer-form button { border: 0; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--raspberry); color: var(--white); }
.footer-form button:hover { background: var(--cerulean); }
.footer-bottom { margin-top: 60px; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom ul li { margin: 0; }

/* ---------- Back to top ---------- */
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--raspberry); color: var(--white); font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(15px); transition: all .3s ease; z-index: 999; }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--cerulean); }

/* ---------- Image fallback & reveal ---------- */
.img-fallback { background: linear-gradient(135deg, var(--sky), var(--rose)); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 75px 0; }
  .hero { padding: 80px 0 120px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .navbar-collapse { padding: 1rem 0; }
  .nav-link::after { display: none; }
  .header-cta { margin-top: .6rem; }
  .stats-inner [class*="col-"]:not(:first-child) .stat { border-left: 0; }
  .about-visual { padding-right: 40px; padding-bottom: 50px; }
  .news-inner { padding: 2.4rem 1.8rem; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 575.98px) {
  .navbar-brand img { height: 36px; }
  .hero-badge { right: 0; }
  .form-card { padding: 1.6rem; }
  .mini-list { grid-template-columns: 1fr; }
  .post-nav { flex-direction: column; }
  .input-wrap { flex-direction: column; border-radius: var(--radius-sm); }
  .input-wrap .btn-fmc-accent { justify-content: center; }
  .footer-form .input-wrap { flex-direction: row; border-radius: 50px; }
}
