@media (max-width: 1199.98px) {
  .page-shell { width: min(calc(100% - 108px), 980px); }
  .site-header .page-shell { width: min(calc(100% - 42px), 1120px); }
  .navbar-nav { gap: 18px !important; }
  .brand-emblem { width: 62px; height: 62px; font-size: 27px; }
  .brand-text span { font-size: 16px; }
  .brand-text strong { font-size: 26px; }
  .leader-img { right: 58px; width: 460px; }
  .feature-item { padding-left: 30px; padding-right: 30px; }
  .focus-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; padding: 20px 0; }
}

@media (max-width: 991.98px) {
  html { scroll-padding-top: 82px; }
  .navbar { min-height: 78px; padding: 10px 0; }
  .navbar-collapse {
    margin-top: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    background: rgba(255,248,241,.96);
    box-shadow: 0 18px 35px rgba(10, 22, 48, .12);
  }
  .nav-link::after { left: 0; transform: none; }
  .hero-section { padding-top: 112px; padding-bottom: 90px; }
  .hero-row { min-height: auto; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-visual { min-height: 430px; margin-top: 20px; }
  .leader-img { left: 50%; right: auto; transform: translateX(-50%); width: min(430px, 88%); }
  .leader-img:hover { transform: translateX(-50%) scale(1.02); }
  .hero-monument { width: 270px; top: 465px; }
  .hero-brush { top: 495px; right: -80px; width: 560px; }
  .social-rail { top: 390px; right: 22px; }
  .feature-strip-wrap { margin-top: -38px; }
  .feature-item { border-right: 0; border-bottom: 1px solid rgba(214,107,24,.55); }
  .feature-item:nth-last-child(-n+2) { border-bottom: 0; }
  .about-photo { max-width: 440px; margin: 0 auto; }
  .stats-list { max-width: 520px; margin: 0 auto; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767.98px) {
  body { padding-bottom: 78px; }
  .page-shell { padding-left: 16px; padding-right: 16px; }
  .brand-emblem { width: 52px; height: 52px; font-size: 23px; border-width: 2px; }
  .brand-text span { font-size: 13px; }
  .brand-text strong { font-size: 21px; }
  .bg{    background-size: contain; padding: 0px 0 35px;  }
  .theme-toggle { width: 38px; height: 38px; }
  .hero-section { min-height: 0; padding-top: 98px; padding-bottom: 82px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-subtitle { font-size: 16px; }
  .hero-copy h2 { font-size: 25px; }
  .hero-buttons { gap: 10px; }
  .hero-action { width: 100%; min-height: 44px; }
  .hero-visual { min-height: 360px; }
  .leader-img { height: 380px; width: min(360px, 94%); }
  .hero-crowd { bottom: 70px; height: 130px; }
  .hero-monument { top: 505px; width: 230px; opacity: .5; }
  .hero-brush { top: 495px; width: 450px; height: 195px; }
  .hero-lotus { font-size: 120px; left: 54%; top: 185px; }
  .social-rail { display: none; }
  .feature-strip { border-radius: 10px; }
  .feature-item,
  .feature-item:nth-last-child(-n+2) { border-bottom: 1px solid rgba(214,107,24,.55); }
  .feature-item:last-child { border-bottom: 0; }
  .section-pad { padding: 42px 0 28px; }
  .section-title { font-size: 28px; }
  .focus-grid { grid-template-columns: 1fr; gap: 18px; }
  .focus-item { grid-template-columns: 66px 1fr; }
  .focus-item span { width: 60px; height: 60px; font-size: 25px; }
  .news-item { grid-template-columns: 110px 1fr; gap: 12px; }
  .gallery-grid img { height: 110px; }
  .cta-card p { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-social div { justify-content: center; }
  .floating-whatsapp { bottom: 96px; right: 16px; }
  .back-to-top { bottom: 152px; right: 18px; }
  .mobile-bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 8px;
    z-index: 80;
    min-height: 70px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 8px 6px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 20px 20px 16px 16px;
    background: rgba(255, 248, 241, .82);
    box-shadow: 0 -12px 30px rgba(10,22,48,.16);
    backdrop-filter: blur(16px);
  }
  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-width: 0;
    display: grid;
    gap: 3px;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--secondary);
    font: 700 10px/1.2 var(--sans);
    transition: transform .2s ease, color .2s ease;
  }
  .mobile-bottom-nav i { font-size: 20px; }
  .mobile-bottom-nav .active,
  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav button:hover {
    color: var(--primary);
    transform: translateY(-2px);
  }
  img.custom-logo.headerLogo {
    height: 70px;
}
}

@media (max-width: 480px) {
  .hero-copy h1 { font-size: 34px; }
  .profile-points { font-size: 12px; }
  .hero-visual { min-height: 40px; }
  .leader-img { height: 340px; }
  .feature-item { min-height: auto; padding: 24px 26px; }
  .stat-card { grid-template-columns: 86px 1fr; }
  .stat-card i { font-size: 36px; }
  .stat-card strong { font-size: 26px; }
  .panel-card { padding: 15px 12px; }
  .news-item { grid-template-columns: 96px 1fr; }
  .news-item img { height: 84px; }
  .gallery-grid { gap: 7px; }
  .gallery-grid img { height: 96px; }
  img.custom-logo.headerLogo {
    height: 60px;
}
}

@media (max-width: 390px) {
  .page-shell { padding-left: 13px; padding-right: 13px; }
  .brand { gap: 8px; }
  .brand-emblem { width: 46px; height: 46px; font-size: 20px; }
  .brand-text span { font-size: 11px; }
  .brand-text strong { font-size: 18px; }
  .hero-copy h1 { font-size: 31px; }
  .hero-copy h2 { font-size: 22px; }
  .section-title { font-size: 25px; }
  .news-item { grid-template-columns: 1fr; }
  .news-item img { height: 150px; }
  .mobile-bottom-nav span { font-size: 9px; }
  img.custom-logo.headerLogo {
    height: 40px;
}
}
