/* ==========================================================
   Finance Atlas Hub - Main Stylesheet
   Palette: atlas cobalt, deep harbor navy, fresh lime, warm sand
   Fonts: Sora (headings), Nunito Sans (body)
   ========================================================== */

:root {
  --fah-navy: #0a1f33;
  --fah-navy-2: #11304d;
  --fah-blue: #0b5fa5;
  --fah-blue-dark: #084a82;
  --fah-blue-light: #2f86d0;
  --fah-lime: #a3d139;
  --fah-lime-dark: #86b324;
  --fah-sky: #eaf3fb;
  --fah-sand: #f7f2e9;
  --fah-text: #1c2b3a;
  --fah-muted: #5d6b7a;
  --fah-border: #dfe7ef;
  --fah-white: #ffffff;
  --fah-radius: 6px;
  --fah-radius-lg: 14px;
  --fah-shadow: 0 10px 30px rgba(10, 31, 51, 0.09);
  --fah-shadow-hover: 0 20px 44px rgba(10, 31, 51, 0.17);
  --fah-heading: 'Sora', 'Segoe UI', Arial, sans-serif;
  --fah-body: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fah-body);
  color: var(--fah-text);
  background: var(--fah-white);
  font-size: 16.5px;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--fah-heading);
  color: var(--fah-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
p { color: var(--fah-muted); }
a { color: var(--fah-blue); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--fah-blue-dark); }
img { max-width: 100%; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-sky { background: var(--fah-sky); }
.bg-sand { background: var(--fah-sand); }
.bg-navy { background: var(--fah-navy); }

/* Photo fallback background when an image cannot load */
.img-fallback { background: linear-gradient(135deg, var(--fah-blue) 0%, var(--fah-navy) 100%); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fah-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fah-blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--fah-lime);
  border-radius: 2px;
}
.bg-navy .eyebrow, .on-dark .eyebrow { color: var(--fah-lime); }
.section-title { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.section-title span { color: var(--fah-blue); }
.bg-navy .section-title, .on-dark .section-title { color: #fff; }
.bg-navy .section-title span, .on-dark .section-title span { color: var(--fah-lime); }
.section-lead { font-size: 18px; max-width: 640px; }
.text-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-fah, .btn-fah-outline, .btn-fah-lime {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fah-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--fah-radius);
  border: 2px solid transparent;
  transition: all .3s ease;
  cursor: pointer;
}
.btn-fah { background: var(--fah-blue); color: #fff; border-color: var(--fah-blue); }
.btn-fah:hover { background: var(--fah-navy); border-color: var(--fah-navy); color: #fff; transform: translateY(-2px); }
.btn-fah-lime { background: var(--fah-lime); color: var(--fah-navy); border-color: var(--fah-lime); }
.btn-fah-lime:hover { background: #fff; border-color: #fff; color: var(--fah-navy); transform: translateY(-2px); }
.btn-fah-outline { background: transparent; color: var(--fah-navy); border-color: var(--fah-navy); }
.btn-fah-outline:hover { background: var(--fah-navy); color: #fff; }
.on-dark .btn-fah-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.on-dark .btn-fah-outline:hover { background: #fff; color: var(--fah-navy); border-color: #fff; }
.btn-fah .arrow, .btn-fah-lime .arrow, .btn-fah-outline .arrow { transition: transform .3s ease; }
.btn-fah:hover .arrow, .btn-fah-lime:hover .arrow, .btn-fah-outline:hover .arrow { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--fah-navy);
  color: rgba(255,255,255,.82);
  font-size: 14px;
  padding: 9px 0;
}
.topbar a { color: rgba(255,255,255,.82); }
.topbar a:hover { color: var(--fah-lime); }
.topbar .item { display: inline-flex; align-items: center; gap: 8px; margin-right: 24px; }
.topbar .item i { color: var(--fah-lime); }
.topbar .social a {
  display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.18); border-radius: 4px; margin-left: 6px; font-size: 13px;
}
.topbar .social a:hover { background: var(--fah-lime); color: var(--fah-navy); border-color: var(--fah-lime); }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--fah-border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 26px rgba(10,31,51,.08); }
.site-header .navbar { padding: 14px 0; }
.navbar-brand img { height: 46px; width: auto; }
.site-header .nav-link {
  font-family: var(--fah-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--fah-navy) !important;
  padding: 8px 15px !important;
  position: relative;
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 3px;
  background: var(--fah-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.site-header .nav-link:hover::after, .site-header .nav-link.active::after { transform: scaleX(1); }
.site-header .nav-link.active { color: var(--fah-blue) !important; }
.navbar-toggler { border: 2px solid var(--fah-navy); padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--fah-navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { padding: 110px 0 120px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); font-weight: 800; margin-bottom: 22px; }
.hero h1 span { color: var(--fah-lime); }
.hero p.lead { color: rgba(255,255,255,.8); font-size: 19px; margin-bottom: 34px; max-width: 560px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px; }
.hero-badges .b { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-weight: 600; font-size: 15px; }
.hero-badges .b i { color: var(--fah-lime); font-size: 20px; }
.hero-visual { position: relative; padding: 60px 0; }
.hero-visual .frame {
  position: relative;
  border-radius: var(--fah-radius-lg);
  overflow: hidden;
  border: 6px solid rgba(255,255,255,.08);
  min-height: 460px;
}
.hero-visual .frame img { width: 100%; height: 460px; object-fit: cover; display: block; }
.hero-card {
  position: absolute;
  background: #fff;
  color: var(--fah-navy);
  border-radius: var(--fah-radius-lg);
  padding: 18px 22px;
  box-shadow: var(--fah-shadow-hover);
  display: flex; align-items: center; gap: 14px;
}
.hero-card .ic {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--fah-lime); color: var(--fah-navy); font-size: 22px;
}
.hero-card strong { font-family: var(--fah-heading); font-size: 22px; display: block; line-height: 1.1; }
.hero-card small { color: var(--fah-muted); font-size: 13px; }
.hero-card.c1 { left: -28px; bottom: 90px; }
.hero-card.c2 { right: -18px; top: 30px; }

/* ---------- Page header ---------- */
.page-hero {
  position: relative;
  padding: 110px 0 100px;
  color: #fff;
  overflow: hidden;
  background: var(--fah-navy);
}
.page-hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,31,51,.96) 30%, rgba(11,95,165,.65) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 18px; max-width: 640px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: var(--fah-lime); }
.crumbs span { color: rgba(255,255,255,.7); }

/* ---------- Stats strip ---------- */
.stats-strip { background: var(--fah-blue); color: #fff; padding: 44px 0; }
.stat { text-align: center; padding: 10px; }
.stat .num { font-family: var(--fah-heading); font-size: 42px; font-weight: 800; color: #fff; line-height: 1; }
.stat .num .suf { color: var(--fah-lime); }
.stat .lbl { color: rgba(255,255,255,.8); font-size: 15px; margin-top: 8px; }
.stats-strip .col-6:not(:last-child) .stat { border-right: 1px solid rgba(255,255,255,.15); }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 0 40px 50px 0; }
.about-visual .main { border-radius: var(--fah-radius-lg); overflow: hidden; height: 470px; }
.about-visual .main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-visual .inset {
  position: absolute; right: 0; bottom: 0; width: 48%; height: 230px;
  border-radius: var(--fah-radius-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--fah-shadow);
}
.about-visual .inset img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-visual .years {
  position: absolute; left: -16px; top: 30px;
  background: var(--fah-lime); color: var(--fah-navy);
  padding: 20px 22px; border-radius: var(--fah-radius-lg); text-align: center;
  font-family: var(--fah-heading); box-shadow: var(--fah-shadow);
}
.about-visual .years strong { font-size: 38px; display: block; line-height: 1; font-weight: 800; }
.about-visual .years span { font-size: 13px; font-weight: 600; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; font-weight: 600; color: var(--fah-navy); }
.check-list li i {
  position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--fah-sky); color: var(--fah-blue); font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Service cards ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--fah-border);
  border-radius: var(--fah-radius-lg);
  overflow: hidden;
  height: 100%;
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--fah-shadow-hover); border-color: transparent; }
.service-card .img-wrap { position: relative; height: 220px; overflow: hidden; }
.service-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.service-card:hover .img-wrap img { transform: scale(1.07); }
.service-card .tag {
  position: absolute; left: 20px; bottom: -22px; z-index: 2;
  width: 54px; height: 54px; border-radius: 10px;
  background: var(--fah-blue); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid #fff;
}
.service-card:hover .tag { background: var(--fah-lime); color: var(--fah-navy); }
.service-card .body { padding: 38px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { font-size: 15.5px; flex: 1; }
.service-card .btn-fah { align-self: flex-start; padding: 11px 22px; font-size: 14px; }

/* ---------- Process ---------- */
.process-step {
  position: relative; background: #fff; border-radius: var(--fah-radius-lg);
  padding: 34px 26px; height: 100%; border-top: 4px solid var(--fah-blue);
  box-shadow: var(--fah-shadow); transition: transform .3s ease, border-color .3s ease;
}
.process-step:hover { transform: translateY(-6px); border-color: var(--fah-lime); }
.process-step .no { font-family: var(--fah-heading); font-size: 46px; font-weight: 800; color: var(--fah-sky); line-height: 1; position: absolute; right: 22px; top: 18px; }
.process-step .ic { width: 56px; height: 56px; border-radius: 12px; background: var(--fah-sky); color: var(--fah-blue); font-size: 24px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.process-step h4 { font-size: 19px; }
.process-step p { font-size: 15px; margin: 0; }

/* ---------- Why choose ---------- */
.why-img { border-radius: var(--fah-radius-lg); overflow: hidden; height: 100%; min-height: 420px; position: relative; }
.why-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.feature { display: flex; gap: 18px; margin-bottom: 26px; }
.feature .ic { flex: 0 0 54px; height: 54px; border-radius: 12px; background: rgba(163,209,57,.15); color: var(--fah-lime); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.feature h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.feature p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff; border-radius: var(--fah-radius-lg); padding: 32px 28px;
  height: 100%; border: 1px solid var(--fah-border); position: relative;
  transition: box-shadow .3s ease, transform .3s ease;
}
.testimonial:hover { box-shadow: var(--fah-shadow-hover); transform: translateY(-4px); }
.testimonial .quote { position: absolute; right: 24px; top: 18px; font-size: 44px; color: var(--fah-sky); }
.testimonial .stars { color: #f2b01e; margin-bottom: 14px; font-size: 15px; letter-spacing: 2px; }
.testimonial p { font-size: 15.5px; font-style: italic; }
.testimonial .who { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testimonial .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--fah-blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--fah-heading); font-weight: 700;
}
.testimonial .who h5 { margin: 0; font-size: 17px; }

/* ---------- Blog cards ---------- */
.blog-card { background: #fff; border-radius: var(--fah-radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; box-shadow: var(--fah-shadow); transition: transform .35s ease, box-shadow .35s ease; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--fah-shadow-hover); }
.blog-card .thumb { display: block; height: 230px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 20px; margin-bottom: 12px; }
.blog-card h3 a { color: var(--fah-navy); }
.blog-card h3 a:hover { color: var(--fah-blue); }
.blog-card p { font-size: 15px; flex: 1; }
.read-more { font-family: var(--fah-heading); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.read-more:hover { gap: 12px; }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  background: var(--fah-blue); border-radius: var(--fah-radius-lg); padding: 54px; color: #fff; position: relative; overflow: hidden;
}
.newsletter-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 40px solid rgba(163,209,57,.2);
}
.newsletter-band h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.newsletter-band p { color: rgba(255,255,255,.82); }
.newsletter-band .form-control { height: 56px; border: none; border-radius: var(--fah-radius); padding: 0 20px; }
.newsletter-band .btn-fah-lime { height: 56px; }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; padding: 100px 0; overflow: hidden; background: var(--fah-navy); }
.cta-banner .banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .25; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,31,51,.95), rgba(10,31,51,.6)); z-index: 1; }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 18px; }

/* ---------- Values / team ---------- */
.value-card { background: #fff; padding: 32px 26px; border-radius: var(--fah-radius-lg); height: 100%; border: 1px solid var(--fah-border); transition: all .3s ease; }
.value-card:hover { border-color: var(--fah-blue); box-shadow: var(--fah-shadow); }
.value-card .ic { width: 58px; height: 58px; border-radius: 50%; background: var(--fah-navy); color: var(--fah-lime); font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card h4 { font-size: 19px; }
.value-card p { margin: 0; font-size: 15px; }
.mission-box { background: var(--fah-navy); border-radius: var(--fah-radius-lg); padding: 40px 34px; height: 100%; }
.mission-box h3 { color: #fff; }
.mission-box p { color: rgba(255,255,255,.78); margin: 0; }
.mission-box .ic { color: var(--fah-lime); font-size: 34px; margin-bottom: 14px; }
.mission-box.alt { background: var(--fah-blue); }

/* ---------- Service detail rows (services page) ---------- */
.service-row { padding: 30px 0; }
.service-row + .service-row { border-top: 1px solid var(--fah-border); }
.service-row .pic { border-radius: var(--fah-radius-lg); overflow: hidden; height: 340px; }
.service-row .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-row h3 { font-size: 28px; }
.service-row .num { font-family: var(--fah-heading); color: var(--fah-lime-dark); font-weight: 800; font-size: 15px; letter-spacing: .12em; }

/* ---------- Forms ---------- */
.form-panel { background: #fff; border-radius: var(--fah-radius-lg); padding: 40px; box-shadow: var(--fah-shadow); }
.form-label { font-family: var(--fah-heading); font-weight: 600; font-size: 14px; color: var(--fah-navy); }
.form-control, .form-select {
  border: 1.5px solid var(--fah-border); border-radius: var(--fah-radius); padding: 13px 16px; font-size: 15.5px;
  background-color: #fbfdff;
}
.form-control:focus, .form-select:focus { border-color: var(--fah-blue); box-shadow: 0 0 0 4px rgba(11,95,165,.12); background-color: #fff; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #d64545; }
.field-error { color: #d64545; font-size: 13px; margin-top: 6px; display: none; }
.is-invalid + .field-error, .form-check-input.is-invalid ~ .field-error { display: block; }
.form-alert { display: none; border-radius: var(--fah-radius); padding: 14px 18px; font-weight: 600; font-size: 15px; margin-top: 16px; }
.form-alert.show { display: block; }
.form-alert.success { background: #ecf7dc; color: #3d5c0b; border: 1px solid #c5e28a; }
.form-alert.error { background: #fdecec; color: #9b2c2c; border: 1px solid #f3c1c1; }
.form-alert.info { background: var(--fah-sky); color: var(--fah-blue-dark); border: 1px solid #c4dcf2; }
.form-check-input:checked { background-color: var(--fah-blue); border-color: var(--fah-blue); }

/* ---------- Contact ---------- */
.contact-info-card { background: var(--fah-navy); border-radius: var(--fah-radius-lg); padding: 40px 34px; height: 100%; color: #fff; }
.contact-info-card h3 { color: #fff; }
.contact-info-card p { color: rgba(255,255,255,.75); }
.info-item { display: flex; gap: 16px; margin-top: 26px; }
.info-item .ic { flex: 0 0 50px; height: 50px; border-radius: 10px; background: var(--fah-lime); color: var(--fah-navy); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.info-item h5 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.info-item a, .info-item span { color: rgba(255,255,255,.82); }
.info-item a:hover { color: var(--fah-lime); }
.contact-photo { border-radius: var(--fah-radius-lg); overflow: hidden; height: 200px; margin-top: 30px; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-wrap { border-radius: var(--fah-radius-lg); overflow: hidden; line-height: 0; box-shadow: var(--fah-shadow); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* ---------- Newsletter pages ---------- */
.news-visual { border-radius: var(--fah-radius-lg); overflow: hidden; height: 100%; min-height: 380px; position: relative; }
.news-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.perk { display: flex; gap: 14px; margin-bottom: 18px; }
.perk i { color: var(--fah-blue); font-size: 20px; margin-top: 4px; }
.perk h5 { font-size: 16px; margin-bottom: 2px; }
.perk p { font-size: 14.5px; margin: 0; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; margin-top: 40px; margin-bottom: 14px; padding-left: 16px; border-left: 4px solid var(--fah-lime); }
.legal-content ul { color: var(--fah-muted); }
.legal-content li { margin-bottom: 8px; }
.legal-updated { display: inline-block; background: var(--fah-sky); color: var(--fah-blue-dark); padding: 8px 16px; border-radius: var(--fah-radius); font-weight: 700; font-size: 14px; }

/* ---------- Blog post ---------- */
.post-cover { border-radius: var(--fah-radius-lg); overflow: hidden; height: 440px; margin-bottom: 40px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-content { font-size: 17.5px; }
.post-content p { color: #3f4e5d; margin-bottom: 22px; }
.post-content h2 { font-size: 26px; margin: 38px 0 16px; }
.post-content blockquote {
  background: var(--fah-sky); border-left: 5px solid var(--fah-blue); padding: 22px 26px; border-radius: var(--fah-radius);
  font-family: var(--fah-heading); font-size: 19px; color: var(--fah-navy); margin: 30px 0;
}
.sidebar-box { background: var(--fah-sand); border-radius: var(--fah-radius-lg); padding: 28px; margin-bottom: 26px; }
.sidebar-box h4 { font-size: 19px; margin-bottom: 18px; }
.side-post { display: flex; gap: 14px; margin-bottom: 16px; align-items: center; }
.side-post .t { flex: 0 0 76px; height: 64px; border-radius: 8px; overflow: hidden; }
.side-post .t img { width: 100%; height: 100%; object-fit: cover; display: block; }
.side-post a.title { font-family: var(--fah-heading); font-weight: 600; font-size: 14.5px; color: var(--fah-navy); line-height: 1.4; }
.side-post a.title:hover { color: var(--fah-blue); }
.side-services a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed #d8cfbf; color: var(--fah-navy); font-weight: 600; }
.side-services a:hover { color: var(--fah-blue); }
.sidebar-cta { background: var(--fah-navy); color: #fff; }
.sidebar-cta h4 { color: #fff; }
.sidebar-cta p { color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.site-footer { background: var(--fah-navy); color: rgba(255,255,255,.72); padding-top: 80px; font-size: 15px; }
.site-footer h5 { color: #fff; font-size: 18px; margin-bottom: 22px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--fah-lime); }
.footer-logo img { height: 44px; width: auto; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a::before { content: "\203A"; margin-right: 8px; color: var(--fah-lime); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact i { color: var(--fah-lime); margin-top: 5px; }
.footer-social a {
  display: inline-flex; width: 38px; height: 38px; border-radius: 6px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); margin-right: 8px; color: #fff;
}
.footer-social a:hover { background: var(--fah-lime); color: var(--fah-navy); }
.footer-news .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; }
.footer-news .form-control::placeholder { color: rgba(255,255,255,.5); }
.footer-news .btn-fah-lime { width: 100%; justify-content: center; margin-top: 10px; padding: 12px; }
.footer-news .form-alert { font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 24px 0; font-size: 14px; }
.footer-bottom a { margin-left: 18px; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 8px;
  background: var(--fah-lime); color: var(--fah-navy); border: none; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease; z-index: 999;
  box-shadow: var(--fah-shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--fah-blue); color: #fff; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .hero-card.c1 { left: 10px; }
  .hero-card.c2 { right: 10px; }
}
@media (max-width: 991.98px) {
  .section { padding: 72px 0; }
  .hero-content { padding: 80px 0 20px; }
  .hero-visual { padding: 20px 0 70px; }
  .site-header .navbar-collapse { padding: 14px 0; }
  .site-header .nav-link::after { display: none; }
  .about-visual { padding-right: 20px; margin-bottom: 30px; }
  .stats-strip .col-6:nth-child(2) .stat { border-right: none; }
  .why-img { min-height: 320px; margin-bottom: 40px; }
  .service-row .pic { height: 280px; margin-bottom: 24px; }
  .newsletter-band { padding: 40px 28px; }
  .news-visual { min-height: 300px; margin-bottom: 30px; }
}
@media (max-width: 575.98px) {
  .g-5, .gx-5 { --bs-gutter-x: 1.5rem; }
  body { font-size: 16px; }
  .navbar-brand img { height: 36px; }
  .hero-visual .frame img { height: 340px; }
  .hero-visual .frame { min-height: 340px; }
  .hero-card { padding: 12px 14px; }
  .hero-card strong { font-size: 18px; }
  .hero-card.c1 { bottom: 40px; }
  .about-visual .main { height: 340px; }
  .about-visual .inset { height: 160px; }
  .form-panel { padding: 26px 20px; }
  .post-cover { height: 260px; }
  .stat .num { font-size: 34px; }
  .footer-bottom a { margin: 0 8px; }
}
