#nb-loader .ldr-center {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
  overflow: hidden;
}

.ldr-logo {
  font-size: clamp(36px, 13vw, 60px) !important;
  letter-spacing: -2px !important;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

.ldr-tagline {
  font-size: 9px !important;
  letter-spacing: 0.15em !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ldr-progress-bar {
  width: calc(100vw - 100px) !important;
  max-width: 260px;
}

.ldr-circle-y {
  width: 140px;
  height: 140px;
  top: -50px;
  left: -50px;
}

.ldr-circle-o {
  width: 90px;
  height: 90px;
  bottom: 30px;
  right: 30px;
}

.ldr-rect-r {
  width: 30px;
  height: 100px;
  top: 50px;
  right: 50px;
}

.ldr-rect-b {
  width: 44px;
  height: 44px;
  bottom: 70px;
  left: 80px;
}

.ldr-tri {
  border-left-width: 24px;
  border-right-width: 24px;
  border-bottom-width: 42px;
  bottom: 60px;
  left: 40px;
}


@media (max-width: 1024px) and (min-width: 768px) {
  .nb-nav {
    padding: 0 3%;
  }

  .nb-links {
    gap: 16px;
  }

  .nb-link {
    font-size: 12px;
  }

  .nb-phone {
    display: none;
  }

  .nb-search-btn span {
    display: none;
  }
}

@media (max-width: 767px) {
  .nb-nav {
    padding: 0 16px;
    height: revert-rule;
  }

  .nb-links {
    display: none !important;
  }

  .nb-logo-badge {
    display: none;
  }

  .nb-logo img {
    height: 32px;
  }

  .nb-logo-text {
    font-size: 18px;
  }

  .nb-phone {
    display: none;
  }

  .nb-cta {
    display: none;
  }

  .nb-search-btn {
    padding: 6px 8px;
    border: none;
    background: rgba(255, 107, 26, 0.1);
  }

  .nb-search-btn kbd {
    display: none;
  }
}

@media (max-width: 767px) {

  .hero-desktop {
    display: none !important;
  }

  .hero-ticker {
    display: none !important;
  }

  .hero-mobile {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;
    background: var(--black);
    display: flex;
    flex-direction: column;
  }

  .mobile-carousel {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-height: none;
    min-height: 0;
    overflow: hidden;
    z-index: 1;
  }

  .mobile-carousel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--black));
    pointer-events: none;
    z-index: 2;
  }

  .mobile-slide-overlay {
    display: none !important;
  }

  .mobile-slide-title {
    display: none !important;
  }

  .mobile-dots {
    position: relative !important;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 5;
    margin: 16px 0 8px !important;
    padding: 0 !important;
  }

  .mobile-dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50%;
    transition: background var(--transition), width var(--transition);
  }

  .mobile-dot.active {
    background: var(--yellow) !important;
    border-color: var(--yellow) !important;
    width: 20px;
    border-radius: 3px;
  }

  .mobile-hero-cta {
    position: relative !important;
    display: flex;
    gap: 12px;
    padding: 8px 20px !important;
    margin: 0 !important;
    z-index: 5;
  }

  .mobile-hero-cta a {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    border: 2px solid var(--yellow);
    color: var(--white);
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.15s, color 0.15s;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.85);
  }

  .mobile-hero-cta a.primary {
    background: var(--yellow);
    color: var(--black);
    box-shadow: 4px 4px 0 var(--black);
    border-color: var(--black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-hero-cta a:hover,
  .mobile-hero-cta a:active {
    opacity: 0.9;
  }

  .mobile-chips {
    position: relative !important;
    display: flex;
    gap: 8px;
    padding: 8px 20px 20px !important;
    margin: 0 !important;
    overflow-x: auto;
    scrollbar-width: none;
    z-index: 5;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-chip {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--yellow) !important;
    background: rgba(26, 26, 26, 0.8) !important;
    border: 2px solid var(--yellow) !important;
    padding: 7px 12px;
    white-space: nowrap;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background var(--transition), color var(--transition);
  }

  .mobile-chip:active {
    background: var(--yellow) !important;
    color: var(--black) !important;
  }

  .mobile-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    background: var(--black);
    filter: none;
  }

  .mobile-client-strip {
    position: relative !important;
    z-index: 10 !important;
    background: #f5f0e8 !important;
    border-top: 3px solid var(--yellow) !important;
    border-bottom: 3px solid var(--yellow) !important;
    margin: 0 !important;
    flex: 0 0 120px !important;
    height: 120px !important;
    max-height: none !important;
    min-height: 0 !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
  }

  .mobile-client-track img {
    height: 90px !important;
    opacity: 0.85 !important;
  }

  .mobile-client-track img.active-color {
    filter: none !important;
    opacity: 1 !important;
  }

  .hero-inline-clients {
    display: none !important;
  }
}

@media (max-width: 767px) {

  .services-section {
    padding: 40px 0 20px;
  }

  .section-head {
    padding: 0 16px;
    margin-bottom: 24px;
  }

  .section-h2 {
    font-size: clamp(28px, 7vw, 40px) !important;
  }

  .services-accordion {
    display: none !important;
  }

  .services-mobile-grid {
    padding: 0 16px;
    gap: 16px;
  }

  .service-card-nb {
    border: 2px solid var(--black) !important;
    box-shadow: 4px 4px 0 var(--black) !important;
  }

  .service-card-img {
    height: 180px !important;
  }

  .stats-section {
    padding: 48px 16px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2px;
  }

  .stat-box {
    padding: 24px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .stat-box-num {
    font-size: clamp(32px, 8vw, 48px) !important;
  }

  .about-section {
    padding: 40px 16px;
  }

  .about-grid {
    grid-template-columns: 1fr !important;
  }

  .about-bauhaus {
    display: none;
  }

  .testimonials-section {
    padding: 40px 0;
  }

  .clients-section {
    padding: 32px 0;
  }


  .clients-ticker-row2 {
    display: none !important;
  }

  .clients-section .client-logo-box {
    width: 180px !important;
    height: 180px !important;
  }

  .clients-section .clients-track {
    gap: 10px !important;
  }

  .contact-section {
    padding: 40px 16px;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr !important;
  }

  .svc-hero {
    padding: 32px 16px !important;
    min-height: 0 !important;
  }

  .svc-hero-h1 {
    font-size: clamp(40px, 10vw, 64px) !important;
  }

  .svc-hero-sub {
    font-size: 14px !important;
  }

  .svc-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .svc-stats-grid>div {
    padding: 18px 12px !important;
  }

  .svc-stats-grid>div span {
    font-size: 28px !important;
  }

  .svc-full-grid {
    grid-template-columns: 1fr !important;
    padding: 0 16px !important;
  }

  .why-section {
    padding: 40px 16px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .why-item {
    padding: 20px 16px !important;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .gallery-section {
    padding: 24px 12px;
  }

  .filter-bar {
    gap: 8px;
    flex-wrap: wrap;
    padding: 0 12px;
  }

  .filter-chip {
    font-size: 10px;
    padding: 7px 12px;
  }

  .bz-hero {
    padding: 32px 16px 24px;
  }

  .bz-grid {
    grid-template-columns: 1fr !important;
  }

  .bz-pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .bz-feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .cta-section {
    padding: 48px 16px;
  }

  .cta-section h2 {
    font-size: clamp(32px, 8vw, 48px) !important;
  }

  .cta-btns {
    flex-direction: column;
    gap: 12px;
  }

  .cta-btns a {
    width: 100%;
    text-align: center;
  }

  .nb-footer {
    padding: 40px 16px 24px;
  }

  .nb-footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
  }

  .nb-footer-brand {
    grid-column: span 2;
  }

  .nb-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .mobile-tab-bar {
    height: 64px !important;
    box-shadow: 0 -3px 0 var(--yellow);
    border-top: none !important;
  }

  .mobile-tab {
    font-size: 8px !important;
    gap: 2px;
    position: relative;
    overflow: hidden;
  }

  .mobile-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--black);
  }

  .mobile-tab i {
    font-size: 18px !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

  .hero-desktop {
    grid-template-columns: 1fr 1fr !important;
    padding: 40px 4% 32px !important;
    gap: 32px !important;
    min-height: 60vh !important;
  }

  .hero-h1 {
    font-size: clamp(40px, 5.5vw, 72px) !important;
  }

  .hero-right {
    min-height: 300px;
  }

  .services-accordion {
    flex-direction: column !important;
  }

  .accordion-list {
    width: 100% !important;
    border-right: none !important;
    border-bottom: var(--border);
  }

  .accordion-content {
    width: 100% !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .nb-footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .nb-footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 375px) {
  .nb-logo-text {
    font-size: 16px !important;
  }

  .nb-logo img {
    height: 28px !important;
  }

  .ldr-logo {
    font-size: 32px !important;
    letter-spacing: -1px !important;
  }

  .hero-mobile {
    min-height: 420px;
  }

  .mobile-chip {
    font-size: 9px;
    padding: 6px 10px;
  }

  .why-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .nb-search-overlay {
    padding-top: 0 !important;
    align-items: flex-start !important;
  }

  .nb-search-box {
    width: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .nb-search-overlay.open .nb-search-box {
    transform: translateY(0) !important;
  }

  .nb-search-top {
    padding: 12px 16px !important;
    gap: 10px !important;
  }

  .nb-search-input {
    font-size: 16px !important;
  }

  .nb-search-shortcut-hint {
    display: none !important;
  }

  .nb-search-close {
    border: none !important;
    padding: 8px !important;
    font-size: 20px !important;
    color: #8A8480 !important;
    background: transparent !important;
  }

  .nb-search-close:hover {
    color: #FF6B1A !important;
    background: transparent !important;
  }

  .nb-search-results {
    flex: 1;
    max-height: none !important;
    overflow-y: auto;
  }

  .nb-search-result {
    padding: 12px 16px !important;
    gap: 12px !important;
  }

  .nb-search-footer {
    display: none !important;
  }
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 767px) {

  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }


  [style*="grid-template-columns:repeat(5,1fr)"],
  [style*="grid-template-columns: repeat(5, 1fr)"] {
    grid-template-columns: 1fr !important;
  }


  [style*="grid-template-columns:repeat(5,1fr)"]>div,
  [style*="grid-template-columns: repeat(5, 1fr)"]>div {
    border-right: none !important;
    border-bottom: var(--border) !important;
    padding: 28px 20px !important;
  }


  [style*="grid-template-columns:repeat(5,1fr)"]>div:last-child,
  [style*="grid-template-columns: repeat(5, 1fr)"]>div:last-child {
    border-bottom: none !important;
  }
}