/* ==============================================================================
   PROFESSIONAL, ULTRA-CLEAN MOBILE-OPTIMIZED STYLESHEET
   Brand: AR Developer (ARaza)
   Target: Handheld & Mobile Screens (screen <= 768px)
   Guarantee: Desktops, Laptops & PCs (>= 769px) remain 100% UNTOUCHED and pristine.
   ============================================================================== */

@media screen and (max-width: 768px) {

  /* ============================================================================
     1. GLOBAL ROOT SCALING & ANTI-SCRAMBLE RESET
     ============================================================================ */
  :root {
    --header-height: 48px !important;
    --btn-height: 28px !important;
    --input-height: 32px !important;
    --radius-lg: 6px !important;
    --radius-md: 4px !important;
    --radius-sm: 3px !important;
  }

  /* 
     html font-size: 13px delivers a crisp, dense scaling without being tiny:
     Every rem-based measurement across all pages scales proportionately.
  */
  html {
    font-size: 13px !important;
    -webkit-text-size-adjust: 100% !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
  }

  body {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    letter-spacing: -0.01em !important;
    word-break: break-word !important;
  }

  /* Typography: Proportional scaling, anti-overflow, balanced wrapping */
  h1, .h1, .hero-title, .landing-headline, .pricing-hero-title, .services-hero-title, .cta-title, .landing-cta-title {
    font-size: 1.55rem !important; /* ~20px */
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 0.4rem !important;
    word-break: break-word !important;
  }

  h2, .h2, .section-title, .landing-section-title, .tier-title {
    font-size: 1.3rem !important; /* ~17px */
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.3rem !important;
    word-break: break-word !important;
  }

  h3, .h3, .service-title, .service-title-snow, .slide-title, .project-card-title, .kpi-title {
    font-size: 1.1rem !important; /* ~14px */
    line-height: 1.22 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 0.25rem !important;
  }

  h4, h5, h6 {
    font-size: 0.98rem !important; /* ~12.7px */
    line-height: 1.25 !important;
    margin-bottom: 0.15rem !important;
  }

  p, .hero-desc, .landing-subheadline, .section-subtitle, .landing-section-desc, .slide-desc, .service-desc {
    font-size: 11px !important;
    line-height: 1.42 !important;
    color: #4b5563 !important;
  }

  .kicker, .kicker-label, .hero-brand-label, .pricing-kicker-badge, .services-kicker-badge {
    font-size: 9px !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.25rem !important;
    padding: 2px 6px !important;
  }

  /* Strict Media Box-Sizing: Zero Horizontal Overflow */
  img, video, iframe, canvas, svg, object {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* ============================================================================
     2. UNIVERSAL SPACING & ZERO-WASTE CONTAINERS
     ============================================================================ */
  .container,
  .container-narrow,
  .landing-container,
  .pricing-container,
  .services-container,
  .nav-container,
  .landing-nav-container,
  .footer-bottom,
  .landing-footer-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }

  /* Section padding: clean vertical density (1.25rem ~ 16px) */
  section,
  .section,
  .landing-section,
  .services-section,
  .portfolio-section,
  .cta-section,
  .landing-cta-section,
  .pricing-section {
    padding-top: 1.25rem !important;
    padding-bottom: 1.25rem !important;
    box-sizing: border-box !important;
  }

  .section-head,
  .landing-section-head {
    margin-bottom: 0.75rem !important;
    text-align: left !important;
  }

  /* Compact button styling */
  .btn,
  .btn-landing-primary,
  .btn-landing-secondary,
  .btn-landing-cta {
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 10px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    gap: 4px !important;
    box-sizing: border-box !important;
  }

  .btn-sm {
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 6px !important;
    font-size: 10px !important;
  }

  /* ============================================================================
     3. SEARCH BAR FIX: TEXT NEVER HIDES BEHIND MAGNIFYING GLASS ICON
     ============================================================================ */
  /* Wrapper holds icon safely without pushing or covering input text */
  .search-input-wrap,
  .services-search-box,
  .toolbar-search,
  .notepad-search-wrap,
  .table-search-box {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* The magnifying glass icon is locked at left: 10px */
  .search-input-wrap svg,
  .search-input-wrap .search-icon,
  .services-search-box svg,
  .services-search-icon,
  .toolbar-search svg,
  .notepad-search-wrap svg {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 14px !important;
    height: 14px !important;
    color: #64748b !important;
    pointer-events: none !important;
    z-index: 5 !important;
    flex-shrink: 0 !important;
  }

  /* 
     CRITICAL: High specificity input override ensures ample padding-left (34px)
     so user-typed text & placeholders start clearly after the icon.
  */
  .search-input-wrap input,
  .search-input,
  .services-search-input,
  .toolbar-search input,
  .notepad-search-input,
  .table-search-input,
  input[type="search"],
  input#servicesSearchInput,
  input#globalSearchInput,
  input#notepadSearchInput {
    padding-left: 34px !important;
    padding-right: 10px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1 !important;
    font-size: 12px !important;
    height: 32px !important;
    line-height: 32px !important;
    border-radius: 5px !important;
  }

  /* ============================================================================
     4. NAVBAR OPTIMIZATION & CLARITY (DUAL COMPACT DISPLAY)
     ============================================================================ */
  .site-header,
  .landing-header {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  }

  .nav-container,
  .landing-nav-container {
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    padding: 0 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Brand Logo & Name */
  .brand-link {
    font-size: 12px !important;
    font-weight: 700 !important;
    gap: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .brand-logo-img {
    height: 20px !important;
    width: auto !important;
  }

  .brand-dot {
    width: 4px !important;
    height: 4px !important;
  }

  /* 
     Horizontal Nav Links Bar:
     Smooth horizontal scrollable pill bar so all links fit without wrapping or truncation.
  */
  .nav-links:not(.mobile-open) {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 4px !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    flex: 1 !important;
    max-width: calc(100% - 130px) !important;
  }

  .nav-links:not(.mobile-open)::-webkit-scrollbar {
    display: none !important;
  }

  .nav-links:not(.mobile-open) a {
    font-size: 11px !important;
    padding: 2px 6px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    color: #4b5563 !important;
    border-radius: 4px !important;
    text-decoration: none !important;
  }

  .nav-links:not(.mobile-open) a.active,
  .nav-links:not(.mobile-open) a:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
  }

  /* Nav Actions (CTA Button + Toggle) */
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .nav-actions .btn-accent,
  .nav-actions .btn-primary,
  .nav-actions .btn {
    font-size: 10px !important;
    padding: 0 8px !important;
    height: 26px !important;
    min-height: 26px !important;
    white-space: nowrap !important;
  }

  .mobile-nav-toggle {
    width: 28px !important;
    height: 28px !important;
    padding: 3px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
  }

  .mobile-nav-toggle svg {
    width: 16px !important;
    height: 16px !important;
  }

  /* Full Screen Dropdown when opened via toggle */
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 0.75rem 1rem 1.25rem !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
    max-height: calc(100vh - 48px) !important;
    overflow-y: auto !important;
    z-index: 1000 !important;
    gap: 2px !important;
  }

  .nav-links.mobile-open a {
    min-height: 38px !important;
    padding: 0.5rem 0.5rem !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    border-bottom: 1px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
  }

  /* ============================================================================
     5. HERO & BANNER SCALING (SLIM & PROPORTIONAL)
     ============================================================================ */
  .hero-section,
  .landing-hero,
  .pricing-hero,
  .services-hero {
    padding-top: 1.15rem !important;
    padding-bottom: 1rem !important;
    min-height: auto !important;
  }

  .hero-grid,
  .landing-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    text-align: left !important;
  }

  .hero-content {
    max-width: 100% !important;
  }

  .hero-desc,
  .landing-subheadline,
  .pricing-hero-subtitle,
  .services-hero-desc {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 0.65rem !important;
    max-width: 100% !important;
  }

  /* Horizontal Action Buttons */
  .hero-actions,
  .landing-cta-group,
  .pricing-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .landing-cta-group .btn-landing-primary,
  .landing-cta-group .btn-landing-secondary {
    flex: 1 !important;
    height: 30px !important;
    font-size: 11px !important;
    justify-content: center !important;
  }

  .hero-showcase-stage,
  .hero-img-wrap,
  .landing-gif-frame,
  .hero-slider-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    border-radius: 5px !important;
  }

  .slide-content {
    padding: 8px !important;
  }

  .slide-desc {
    font-size: 10px !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 4px !important;
  }

  /* ============================================================================
     6. CARDS & GRID LAYOUTS (STRICT 2-COLUMN & TIGHT GAPS)
     ============================================================================ */
  .services-grid,
  .landing-services-grid,
  .projects-grid,
  .landing-work-grid,
  .pricing-cards-grid,
  .reviews-grid,
  .landing-principles-grid,
  .landing-process-grid,
  .process-steps,
  .features-grid,
  .services-snow-grid,
  .pricing-tiers-grid,
  .pricing-comparison-grid,
  .addons-grid,
  .grid,
  .cards-container {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    box-sizing: border-box !important;
  }

  /* Micro metrics / KPI stats */
  .landing-tech-grid,
  .stats-grid,
  .overview-kpi-grid,
  .services-metric-banner,
  .features-micro-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
  }

  /* Card shell: 8px padding, tidy borders */
  .card,
  .service-card,
  .project-card,
  .pricing-card-snow,
  .review-card,
  .principle-card,
  .process-step-card,
  .service-card-snow,
  .contact-form-card,
  .contact-info-card,
  .kpi-card,
  .project-card-body,
  .pricing-tier-card {
    padding: 8px !important;
    border-radius: 5px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .service-icon-box {
    width: 26px !important;
    height: 26px !important;
    margin-bottom: 0.35rem !important;
    border-radius: 4px !important;
  }

  .service-icon-box svg {
    width: 14px !important;
    height: 14px !important;
  }

  .service-title,
  .service-title-snow {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
  }

  .service-desc {
    font-size: 10px !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .service-pricing-row {
    margin-top: 2px !important;
    margin-bottom: 2px !important;
  }

  .service-price-val {
    font-size: 12px !important;
    font-weight: 800 !important;
  }

  .service-timeline-meta {
    font-size: 9px !important;
  }

  .service-deliverable-list,
  .tier-features-list {
    margin: 4px 0 !important;
    gap: 2px !important;
    padding: 0 !important;
    list-style: none !important;
  }

  .service-deliverable-item,
  .tier-feature-item {
    font-size: 9.5px !important;
    gap: 4px !important;
    line-height: 1.2 !important;
  }

  .service-deliverable-item svg {
    width: 10px !important;
    height: 10px !important;
  }

  .service-tech-pills {
    gap: 3px !important;
    margin-top: 4px !important;
  }

  .service-tech-pill {
    font-size: 8.5px !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
  }

  /* Metric Card Box */
  .services-metric-item,
  .metric-box {
    padding: 4px 6px !important;
    border-radius: 4px !important;
  }

  .metric-val {
    font-size: 13px !important;
    font-weight: 800 !important;
  }

  .metric-label {
    font-size: 8px !important;
    line-height: 1.1 !important;
  }

  .metric-sub {
    display: none !important;
  }

  /* Filter bars */
  .portfolio-filter-bar,
  .services-tabs,
  .pricing-billing-toggle {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    gap: 4px !important;
    padding: 2px 0 4px !important;
    scrollbar-width: none !important;
    width: 100% !important;
  }

  .portfolio-filter-bar::-webkit-scrollbar,
  .services-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .filter-btn,
  .services-tab-btn {
    font-size: 10px !important;
    padding: 3px 8px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  /* ============================================================================
     7. COMPACT, GORGEOUS & PERFECTLY ALIGNED MOBILE FOOTER
     ============================================================================ */
  footer:nth-of-type(1),
  .site-footer,
  .landing-footer {
    padding: 16px 12px 14px !important;
    margin-top: 1.5rem !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    width: 100% !important;
    text-align: center !important;
  }

  /* Footer main grid: clean structured layout */
  footer:nth-of-type(1) .footer-main-grid,
  .site-footer .footer-main-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px 16px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }

  /* Brand Column: Centered at top across all columns */
  footer:nth-of-type(1) .footer-brand-col,
  .site-footer .footer-brand-col {
    grid-column: 1 / -1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 4px !important;
    width: 100% !important;
    padding-bottom: 4px !important;
  }

  footer:nth-of-type(1) .footer-brand-col .brand-link,
  .site-footer .footer-brand-col .brand-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-decoration: none !important;
  }

  footer:nth-of-type(1) .footer-brand-col .brand-logo-img,
  .site-footer .footer-brand-col .brand-logo-img {
    width: 26px !important;
    height: 17px !important;
  }

  footer:nth-of-type(1) .footer-tagline,
  .site-footer .footer-tagline {
    font-size: 8.5px !important;
    letter-spacing: 0.12em !important;
    color: #64748b !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
  }

  footer:nth-of-type(1) .footer-about-text,
  .site-footer .footer-about-text {
    display: none !important;
  }

  footer:nth-of-type(1) .footer-status-badge,
  .site-footer .footer-status-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #065f46 !important;
    background: #ecfdf5 !important;
    border: 1px solid #a7f3d0 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    margin-top: 2px !important;
  }

  footer:nth-of-type(1) .status-pulse-dot,
  .site-footer .status-pulse-dot {
    width: 5px !important;
    height: 5px !important;
  }

  /* Link Columns: Clean 2-column organized structure */
  footer:nth-of-type(1) .footer-col,
  .site-footer .footer-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  footer:nth-of-type(1) .footer-col-title,
  .site-footer .footer-col-title {
    display: block !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
    padding-bottom: 2px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    width: 100% !important;
  }

  footer:nth-of-type(1) .footer-nav-list,
  .site-footer .footer-nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  footer:nth-of-type(1) .footer-nav-list a,
  .site-footer .footer-nav-list a {
    font-size: 10.5px !important;
    line-height: 1.3 !important;
    color: #475569 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    display: inline-block !important;
    padding: 1px 0 !important;
    transition: color 0.15s ease !important;
  }

  footer:nth-of-type(1) .footer-nav-list a:hover,
  .site-footer .footer-nav-list a:hover {
    color: #2563eb !important;
  }

  /* Connect Column: Spans full width at bottom of grid, neatly centered */
  footer:nth-of-type(1) .footer-col:last-child,
  .site-footer .footer-col:last-child {
    grid-column: 1 / -1 !important;
    align-items: center !important;
    text-align: center !important;
    margin-top: 2px !important;
  }

  footer:nth-of-type(1) .footer-col:last-child .footer-col-title,
  .site-footer .footer-col:last-child .footer-col-title {
    text-align: center !important;
    border-bottom: none !important;
    margin-bottom: 4px !important;
  }

  footer:nth-of-type(1) .footer-contact-list,
  .site-footer .footer-contact-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px 12px !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
  }

  footer:nth-of-type(1) .footer-direct-contact,
  .site-footer .footer-direct-contact {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
    color: #334155 !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
  }

  footer:nth-of-type(1) .footer-direct-contact svg,
  .site-footer .footer-direct-contact svg {
    width: 11px !important;
    height: 11px !important;
    color: #64748b !important;
    flex-shrink: 0 !important;
  }

  footer:nth-of-type(1) .footer-admin-link,
  .site-footer .footer-admin-link {
    font-size: 9.5px !important;
    padding: 3px 8px !important;
    margin-top: 4px !important;
  }

  /* Bottom Bar: Clean centered alignment with copyright, legal links & top button */
  footer:nth-of-type(1) .footer-bottom,
  .site-footer .footer-bottom,
  .landing-footer-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
    font-size: 9.5px !important;
    line-height: 1.3 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  footer:nth-of-type(1) .footer-copyright,
  .site-footer .footer-copyright,
  .landing-footer-brand {
    font-size: 9.5px !important;
    color: #64748b !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    text-align: center !important;
  }

  footer:nth-of-type(1) .footer-legal-links,
  .site-footer .footer-legal-links,
  .landing-footer-links {
    font-size: 9.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  footer:nth-of-type(1) .footer-legal-links a,
  .site-footer .footer-legal-links a,
  .landing-footer-links a {
    font-size: 9.5px !important;
    color: #475569 !important;
    text-decoration: underline !important;
    text-decoration-color: #cbd5e1 !important;
    text-underline-offset: 2px !important;
  }

  footer:nth-of-type(1) .footer-sep,
  .site-footer .footer-sep,
  .landing-sep {
    color: #cbd5e1 !important;
    font-size: 8px !important;
  }

  footer:nth-of-type(1) .footer-back-to-top,
  .site-footer .footer-back-to-top {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    padding: 3px 8px !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    height: 22px !important;
    border-radius: 9999px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    cursor: pointer !important;
    margin-top: 2px !important;
  }

  /* Minimal Landing Footer Optimization */
  .landing-footer {
    padding: 14px 12px 14px !important;
    text-align: center !important;
  }

  .landing-footer-inner {
    border-top: none !important;
    padding-top: 0 !important;
  }

  /* ============================================================================
     8. FORMS, INPUTS & MODAL DIALOGS
     ============================================================================ */
  .contact-grid,
  .form-row,
  .project-content-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .form-group {
    margin-bottom: 6px !important;
  }

  .form-label {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }

  .form-input,
  .form-textarea,
  .form-select,
  input[type="text"]:not(.search-input):not(.services-search-input):not(.toolbar-search input):not(.notepad-search-input):not([type="search"]),
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  select,
  textarea {
    font-size: 13px !important;
    height: 30px !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  textarea.form-input {
    min-height: 65px !important;
    height: auto !important;
  }

  .modal-card {
    padding: 10px !important;
    max-width: calc(100vw - 16px) !important;
    margin: 8px !important;
    border-radius: 6px !important;
  }

  .modal-close {
    top: 6px !important;
    right: 6px !important;
    font-size: 1.1rem !important;
  }

  .toast-container {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
  }

  .toast {
    padding: 6px 8px !important;
    font-size: 10.5px !important;
  }
}
