/* ==========================================================================
   Finance Advisor Option  |  Responsive styles  -  css/responsive.css
   ========================================================================== */

/* ---------- Large desktops ---------- */
@media (min-width: 1400px) {
  .container { max-width: 1280px; }
}

/* ---------- Laptops ---------- */
@media (max-width: 1199.98px) {
  body { font-size: 16px; }
  section { padding: 78px 0; }
  .navbar-fao .nav-link { font-size: 14px; padding: 9px 11px !important; }
  .navbar-fao .nav-link::after { left: 11px; right: 11px; }
  .nav-cta .btn { padding: 11px 20px; font-size: 13.6px; }
  .hero { min-height: 84vh; }
  .stat-num { font-size: 2.05rem; }
  .service-body h3 { font-size: 1.1rem; }
  .blog-hero-img { height: 360px; }
  .cta-banner { padding: 46px 34px; }
}

/* ---------- Tablets ---------- */
@media (max-width: 991.98px) {
  section { padding: 66px 0; }
  .topbar { font-size: 12.8px; padding: 8px 0; }
  .topbar-item { margin-right: 14px; }
  .topbar .hide-md { display: none !important; }

  .site-header { position: sticky; }
  .navbar-collapse-fao {
    background: #fff; border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md); padding: 14px 18px 22px; margin-top: 10px;
    border: 1px solid var(--line); max-height: 74vh; overflow-y: auto;
  }
  .navbar-fao .nav-link { padding: 11px 4px !important; font-size: 15.4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .navbar-fao .nav-link::after { display: none; }
  .navbar-fao .nav-link.active { color: var(--teal-600) !important; }
  .dropdown-menu-fao { box-shadow: none; border: 0; background: var(--bg-soft); min-width: 100%; padding: 8px; margin-top: 4px !important; }
  .nav-cta { margin: 16px 0 4px; width: 100%; }
  .nav-cta .btn { width: 100%; }

  .hero { min-height: auto; padding: 74px 0 96px; }
  .hero-media img { opacity: .35; }
  .hero p.lead-hero { font-size: 1rem; }
  .hero-float-card { margin-top: 38px; }
  .scroll-hint { display: none; }

  .stats-strip { margin-top: -40px; }
  .stats-card { padding: 26px 16px; }
  .stat-item { padding: 16px 10px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-item { border-bottom: 1px solid var(--line); }
  .stat-item:last-child { border-bottom: 0; }

  .img-frame { margin-bottom: 46px; }
  .img-frame::before { inset: -12px 12px 12px -12px; }
  .experience-badge { right: 12px; bottom: -20px; padding: 15px 20px; }
  .mini-float-card.mfc-top { left: 8px; top: 14px; }

  .process-badge { right: calc(50% - 50px); }
  .cta-banner { padding: 38px 26px; text-align: center; }
  .cta-banner .text-lg-start { text-align: center !important; }
  .cta-banner .d-flex { justify-content: center; }
  .cta-banner .btn { width: auto; }
  .blog-hero-img { height: 300px; }
  .page-banner { padding: 66px 0 58px; }
  .banner-icon { width: 64px; height: 64px; font-size: 28px; border-radius: 18px; margin-bottom: 16px; }
  .site-footer { padding-top: 62px; }
  .footer-bottom { margin-top: 42px; text-align: center; }
  .footer-bottom .text-md-end { text-align: center !important; margin-top: 8px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  body { font-size: 15.6px; }
  section { padding: 54px 0; }
  .section-sm { padding: 44px 0; }
  .eyebrow { font-size: 11.4px; padding: 6px 13px; letter-spacing: .12em; }
  .section-lead { font-size: .97rem; }
  .title-bar { margin: 14px 0 18px; }

  .topbar { display: none; }
  .brand-mark { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; }
  .brand-mark svg { width: 23px; height: 23px; }
  .brand-text .b-name { font-size: 16.4px; }
  .brand-text .b-tag { font-size: 9.4px; letter-spacing: .14em; }

  .hero { padding: 56px 0 78px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero p.lead-hero { font-size: .96rem; }
  .hero .btn { width: 100%; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 12px; padding: 7px 12px; }
  .hero-float-card { padding: 20px 18px; }
  .hero-shape { display: none; }

  .stats-strip { margin-top: -34px; }
  .stats-card { padding: 10px 8px; border-radius: var(--radius); }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 12.4px; }
  .stat-ico { width: 46px; height: 46px; font-size: 21px; border-radius: 14px; }

  .service-thumb, .blog-thumb { height: 190px; }
  .service-body, .blog-body { padding: 32px 20px 22px; }
  .service-foot { flex-direction: column; align-items: stretch; }
  .service-foot .btn { width: 100%; }
  .service-link-more { text-align: center; }

  .process-num { width: 66px; height: 66px; font-size: 1.3rem; }
  .process-num i { font-size: 26px; }

  .form-card { padding: 26px 20px; border-radius: var(--radius); }
  .btn { padding: 12px 24px; font-size: 14.4px; }
  .btn-lg-fao { padding: 14px 26px; font-size: 15px; }

  .cta-banner { padding: 32px 20px; border-radius: var(--radius); }
  .cta-phone { width: 100%; justify-content: center; margin-top: 14px; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form .btn { width: 100%; }

  .blog-hero-img { height: 220px; border-radius: var(--radius); }
  .blog-single blockquote { padding: 18px 20px; font-size: .99rem; }
  .post-meta-bar { gap: 12px; padding: 14px 16px; }

  .page-banner { padding: 50px 0 44px; }
  .page-banner h1 { font-size: 1.72rem; }
  .page-banner p { font-size: .95rem; }
  .breadcrumb-fao { font-size: 13px; }

  .map-wrap { height: 300px; }
  .experience-badge { position: relative; bottom: auto; right: auto; margin-top: 18px; display: inline-block; }
  .mini-float-card.mfc-top { position: relative; top: auto; left: auto; margin-bottom: 16px; }
  .img-frame::before { display: none; }

  .team-avatar { height: 140px; font-size: 2.4rem; }
  .widget { padding: 22px 18px; }

  .legal-content h2 { font-size: 1.16rem; margin-top: 26px; }
  .legal-content table { font-size: 13.6px; }
  .legal-content th, .legal-content td { padding: 9px 10px; }

  #backToTop { right: 16px; bottom: 18px; width: 44px; height: 44px; border-radius: 12px; }
  .float-call { left: 16px; bottom: 18px; width: 44px; height: 44px; border-radius: 12px; }
  .footer-bottom { font-size: 12.8px; }
  .highlight-strip { padding: 16px 18px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 400px) {
  .hero h1 { font-size: 1.72rem; }
  .brand-text .b-tag { display: none; }
  .stat-num { font-size: 1.42rem; }
  .service-thumb, .blog-thumb { height: 170px; }
}

/* ---------- Landscape phones / short screens ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 50px 0; }
  .navbar-collapse-fao { max-height: 60vh; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .site-footer, #backToTop, .float-call, .cta-banner, #preloader { display: none !important; }
  body { color: #000; font-size: 12pt; }
  section { padding: 20px 0; }
  a::after { content: ''; }
}
