/* ============================================================================
   PMDG Technologies — Production Planning & MRP Automation Styles
   ========================================================================= */

/* --- Extracted Internal CSS --- */
:root {
    --mrp-accent: #3f9cb9;
    --mrp-accent-hover: #32839c;
    --mrp-accent-glow: rgba(63, 156, 185, 0.25);
    --mrp-navy: #01022e;
    --mrp-navy-deep: #00011b;
    --mrp-bg-soft: #f4f8fb;
    --mrp-border: #dfe8f2;
    --mrp-card-bg: #ffffff;
  }

  .mrp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    background: rgba(63, 156, 185, 0.12);
    border: 1px solid rgba(63, 156, 185, 0.35);
    color: #0b6885;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.6rem;
  }
  .mrp-hero-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3f9cb9;
    box-shadow: 0 0 0 0 rgba(63, 156, 185, 0.7);
    animation: mrpPulse 2s infinite;
  }
  @keyframes mrpPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 156, 185, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(63, 156, 185, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 156, 185, 0); }
  }

  .mrp-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.85rem 0 1.25rem;
  }
  .mrp-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    border: 1px solid var(--mrp-border);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.825rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
  }
  .mrp-pill i {
    width: 15px;
    height: 15px;
    color: var(--mrp-accent);
  }

  .mrp-lead-card {
    background: #ffffff;
    border: 1px solid var(--mrp-border);
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(1, 2, 46, 0.07);
    padding: 1.25rem 1.35rem;
    position: relative;
    overflow: hidden;
  }
  .mrp-lead-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3f9cb9, #01022e);
  }
  .mrp-lead-card h3 {
    color: var(--mrp-navy);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
  }
  .mrp-lead-card p {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 1rem;
  }

  .mrp-input-group {
    margin-bottom: 0.75rem;
    text-align: left;
  }
  .mrp-input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.25rem;
  }
  .mrp-input-group input,
  .mrp-input-group select,
  .mrp-input-group textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border-radius: 7px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.875rem;
    color: #0f172a;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
    font-family: inherit;    resize: vertical;

  }
  .mrp-input-group input:focus,
  .mrp-input-group select:focus,
  .mrp-input-group textarea:focus {
    border-color: var(--mrp-accent);
    background: #ffffff;
    box-shadow: 0 0 0 3px var(--mrp-accent-glow);
  }

  .mrp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: 8px;
    background: var(--mrp-accent);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px var(--mrp-accent-glow);
    transition: all 0.25s ease;
  }
  .mrp-btn-primary:hover {
    background: var(--mrp-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(63, 156, 185, 0.35);
  }

  .mrp-dashboard-frame {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin-top: 1.25rem;
  }
  .mrp-dash-header {
    background: rgba(15, 23, 42, 0.85);
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  }
  .mrp-dash-dots {
    display: flex;
    gap: 6px;
  }
  .mrp-dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
  }
  .mrp-dash-body {
    padding: 0.9rem 1rem;
    color: #e2e8f0;
  }
  .mrp-alert-badge {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.825rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
  }

  .mrp-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  /* Section 2: Hide last 2 cards in desktop view and show top 4 cards in a balanced 4-column row */
  @media (min-width: 769px) {
    #pain-points-section .mrp-grid-3 > .mrp-card:nth-child(n+5) {
      display: none !important;
    }
  }
  @media (min-width: 901px) {
    #pain-points-section .mrp-grid-3 {
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 1.25rem !important;
    }
  }
  @media (max-width: 900px) and (min-width: 769px) {
    #pain-points-section .mrp-grid-3 {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 1.25rem !important;
    }
  }
  .mrp-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
    margin-top: 1.75rem;
  }
  /* Lock capabilities & benefits grids to 3 columns on desktop so the last 2 cards stay centered */
  @media (min-width: 901px) {
    #capabilities-section .mrp-grid-2,
    #benefits-section .mrp-grid-2 {
      grid-template-columns: repeat(3, 1fr);
    }
    /* Reduce card padding in capabilities section on desktop */
    #capabilities-section .mrp-card.mrp-s-57 {
      padding: 0.65rem 0.75rem;
    }
  }
  .mrp-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.75rem;
  }

  .mrp-card {
    background: #ffffff;
    border: 1px solid var(--mrp-border);
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  .mrp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(1, 2, 46, 0.08);
    border-color: #bad3e4;
  }
  .mrp-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(63, 156, 185, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.55rem;
    color: var(--mrp-accent);
  }

  .mrp-step-number {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--mrp-accent);
    line-height: 1;
    margin-bottom: 0.35rem;
    opacity: 0.9;
  }

  .mrp-animated-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
  }
  .mrp-section-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
  }
  .mrp-animated-section > .measure {
    position: relative;
    z-index: 1;
  }

  #faq-consultation-section,
  #faq-section {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    isolation: isolate;
  }
  #ripple-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    display: block;
  }
  #faq-consultation-section .measure,
  #faq-section .measure {
    position: relative;
    z-index: 1;
  }
  .mrp-faq-consult-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
  @media (max-width: 991px) {
    .mrp-faq-consult-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }
  }

/* --- Extracted Inline Utility Classes --- */
.mrp-s-1 { padding-top: 4.85rem; padding-bottom: 1.25rem; }
.mrp-s-2 { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: flex-start; position: relative; z-index: 1; }
.mrp-s-3 { margin-top: 0.35rem !important; margin-bottom: 0.75rem; font-size: clamp(1.85rem, 1.1rem + 2.8vw, 3.4rem); line-height: 1.15; color: var(--mrp-navy); font-weight: 800; }
.mrp-s-4 { background: linear-gradient(135deg, #01022e 20%, #3f9cb9 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.mrp-s-5 { margin-top: 0.5rem; font-size: 1.05rem; line-height: 1.6; color: #475569; max-width: 58ch; margin-bottom: 1rem; }
.mrp-s-6 { background: #ef4444; }
.mrp-s-7 { background: #f59e0b; }
.mrp-s-8 { background: #10b981; }
.mrp-s-9 { font-size: 0.75rem; color: #94a3b8; font-family: monospace; display: flex; align-items: center; gap: 0.4rem; }
.mrp-s-10 { width: 14px; height: 14px; color: #3f9cb9; }
.mrp-s-11 { font-size: 0.7rem; background: rgba(63, 156, 185, 0.2); color: #7dd3fc; padding: 2px 8px; border-radius: 4px; }
.mrp-s-12 { width: 18px; height: 18px; color: #f87171; flex-shrink: 0; }
.mrp-s-13 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; font-size: 0.8rem; }
.mrp-s-14 { background: rgba(30, 41, 59, 0.7); border: 1px solid rgba(148, 163, 184, 0.15); border-radius: 8px; padding: 0.85rem; }
.mrp-s-15 { color: #94a3b8; font-size: 0.7rem; text-transform: uppercase; margin-bottom: 0.35rem; }
.mrp-s-16 { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.mrp-s-17 { font-weight: 700; color: #fff; }
.mrp-s-18 { color: #4ade80; font-size: 0.75rem; }
.mrp-s-19 { width: 100%; height: 5px; background: #334155; border-radius: 3px; overflow: hidden; }
.mrp-s-20 { width: 78%; height: 100%; background: #3f9cb9; }
.mrp-s-21 { color: #7dd3fc; font-size: 0.75rem; }
.mrp-s-22 { width: 94%; height: 100%; background: #10b981; }
.mrp-s-23 { display:none !important; }
.mrp-s-24 { margin-top: 0.5rem; }
.mrp-s-25 { margin-top: 1rem; font-size: 0.8125rem; color: #64748b; text-align: center; }
.mrp-s-26 { display:none; margin-top: 1rem; padding: 0.75rem; border-radius: 6px; font-size: 0.875rem; text-align: center; }
.mrp-s-27 { padding: 1.5rem 0; background: var(--mrp-bg-soft); border-top: 1px solid var(--mrp-border); border-bottom: 1px solid var(--mrp-border); }
.mrp-s-28 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.mrp-s-29 { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }
.mrp-s-30 { background: rgba(63, 156, 185, 0.15); color: #0284c7; padding: 0.3rem 0.8rem; border-radius: 999px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.mrp-s-31 { font-size: 0.95rem; font-weight: 600; color: var(--mrp-navy); }
.mrp-s-32 { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.85rem 1.25rem; width: 100%; }
.mrp-s-33 { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; background: #ffffff; border: 1px solid var(--mrp-border); border-radius: 8px; font-weight: 600; font-size: 0.875rem; color: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,0.03); }
.mrp-s-34 { height: 18px; width: auto; }
.mrp-s-35 { height: 14px; width: auto; }
.mrp-s-36 { height: 16px; width: auto; }
.mrp-s-37 { width: 17px; height: 17px; color: #c8590a; }
.mrp-s-38 { width: 17px; height: 17px; color: #137333; }
.mrp-s-39 { width: 17px; height: 17px; color: #7c3aed; }
.mrp-s-40 { width: 17px; height: 17px; color: var(--mrp-accent); }
.mrp-s-41 { padding: 2.25rem 0; background: #ffffff; }
.mrp-s-42 { text-align: center; max-width: 750px; margin: 0 auto; }
.mrp-s-43 { background: rgba(239, 68, 68, 0.1); color: #dc2626; padding: 0.3rem 0.8rem; border-radius: 999px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.mrp-s-44 { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.75rem); color: var(--mrp-navy); margin-top: 0.8rem; font-weight: 800; line-height: 1.25; }
.mrp-s-45 { color: #64748b; font-size: 1.05rem; line-height: 1.6; margin-top: 1rem; }
.mrp-s-46 { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.mrp-s-47 { font-size: 1.02rem; font-weight: 700; color: var(--mrp-navy); margin-bottom: 0.35rem; }
.mrp-s-48 { color: #64748b; font-size: 0.85rem; line-height: 1.45; }
.mrp-s-49 { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.mrp-s-50 { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.mrp-s-51 { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.mrp-s-52 { background: rgba(63, 156, 185, 0.12); color: var(--mrp-accent); }
.mrp-s-53 { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.mrp-s-54 { padding: 2.25rem 0; background: var(--mrp-bg-soft); }
.mrp-s-55 { text-align: center; max-width: 780px; margin: 0 auto; }
.mrp-s-56 { background: rgba(63, 156, 185, 0.15); color: #0b6885; padding: 0.3rem 0.8rem; border-radius: 999px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.mrp-s-57 { padding: 0.85rem 0.95rem; }
.mrp-s-58 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.65rem; }
.mrp-s-59 { font-size: 0.75rem; font-weight: 700; color: var(--mrp-accent); background: rgba(63, 156, 185, 0.1); padding: 0.25rem 0.65rem; border-radius: 6px; }
.mrp-s-60 { font-size: 1.12rem; font-weight: 700; color: var(--mrp-navy); margin-bottom: 0.45rem; }
.mrp-s-61 { color: #475569; font-size: 0.86rem; line-height: 1.5; margin-bottom: 0.75rem; }
.mrp-s-62 { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.82rem; color: #334155; }
.mrp-s-63 { display: flex; align-items: center; gap: 0.45rem; }
.mrp-s-64 { width: 15px; height: 15px; color: var(--mrp-accent); flex-shrink: 0; }
.mrp-s-65 { border-top: 4px solid var(--mrp-accent); }
.mrp-s-66 { color: #64748b; font-size: 0.85rem; line-height: 1.45; }
.mrp-s-67 { border-top: 4px solid #0284c7; }
.mrp-s-68 { color: #0284c7; }
.mrp-s-69 { border-top: 4px solid #0f766e; }
.mrp-s-70 { color: #0f766e; }
.mrp-s-71 { border-top: 4px solid var(--mrp-navy); }
.mrp-s-72 { color: var(--mrp-navy); }
.mrp-s-73 { background: rgba(16, 185, 129, 0.12); color: #047857; padding: 0.3rem 0.8rem; border-radius: 999px; font-weight: 700; font-size: 0.75rem; text-transform: uppercase; }
.mrp-s-74 { margin-top: 1.75rem; }
.mrp-s-75 { padding: 0.75rem 0.85rem; }
.mrp-s-76 { display: flex; gap: 0.85rem; align-items: flex-start; }
.mrp-s-77 { flex-shrink: 0; background: rgba(63, 156, 185, 0.15); color: var(--mrp-accent); width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mrp-s-78 { font-size: 1.05rem; font-weight: 700; color: var(--mrp-navy); margin-bottom: 0.25rem; }
.mrp-s-79 { flex-shrink: 0; background: rgba(239, 68, 68, 0.12); color: #dc2626; width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mrp-s-80 { flex-shrink: 0; background: rgba(59, 130, 246, 0.12); color: #2563eb; width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mrp-s-81 { flex-shrink: 0; background: rgba(16, 185, 129, 0.12); color: #059669; width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mrp-s-82 { flex-shrink: 0; background: rgba(147, 51, 234, 0.12); color: #9333ea; width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mrp-s-83 { flex-shrink: 0; background: rgba(234, 88, 12, 0.12); color: #ea580c; width: 38px; height: 38px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.mrp-s-84 { border-top: 3px solid var(--mrp-accent); padding: 0.75rem 0.85rem; }
.mrp-s-85 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.45rem; }
.mrp-s-86 { width: 20px; height: 20px; color: var(--mrp-accent); }
.mrp-s-87 { font-size: 0.98rem; font-weight: 700; color: var(--mrp-navy); margin: 0; }
.mrp-s-88 { color: #64748b; font-size: 0.84rem; line-height: 1.45; }
.mrp-s-89 { border-top: 3px solid #0284c7; padding: 0.75rem 0.85rem; }
.mrp-s-90 { width: 20px; height: 20px; color: #0284c7; }
.mrp-s-91 { border-top: 3px solid var(--mrp-navy); padding: 0.75rem 0.85rem; }
.mrp-s-92 { width: 20px; height: 20px; color: var(--mrp-navy); }
.mrp-s-93 { margin-top: 2.5rem; background: linear-gradient(135deg, var(--mrp-navy) 0%, #0d2f47 100%); border-radius: 14px; padding: 1.75rem 2rem; color: #ffffff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.mrp-s-94 { font-size: 1.35rem; font-weight: 700; color: #ffffff; margin-bottom: 0.35rem; }
.mrp-s-95 { color: #cbd5e1; font-size: 0.9rem; margin: 0; max-width: 50ch; }
.mrp-s-96 { width: auto; padding: 0.75rem 1.75rem; background: var(--mrp-accent); color: #fff; text-decoration: none; border-radius: 8px; }
.mrp-s-97 { padding: 2.25rem 0; background: var(--mrp-bg-soft); }
.mrp-s-98 { margin-bottom: 1.5rem; }
.mrp-s-99 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); color: var(--mrp-navy); margin-top: 0.75rem; font-weight: 800; line-height: 1.25; }
.mrp-s-100 { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-top: 0.5rem; }
.mrp-s-101 { display: flex; flex-direction: column; gap: 0.85rem; }
.mrp-s-102 { cursor: pointer; padding: 0.9rem 1.15rem; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); }
.mrp-s-103 { font-size: 1rem; font-weight: 700; color: var(--mrp-navy); outline: none; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.mrp-s-104 { width: 18px; height: 18px; color: var(--mrp-accent); flex-shrink: 0; transition: transform 0.2s ease; }
.mrp-s-105 { margin-top: 0.85rem; color: #475569; font-size: 0.9rem; line-height: 1.6; border-top: 1px solid var(--mrp-border); padding-top: 0.85rem; }
.mrp-s-106 { box-shadow: 0 20px 50px rgba(1, 2, 46, 0.08); margin-top: 0; }
.mrp-s-107 { text-align: left; margin-bottom: 1.5rem; }
.mrp-s-108 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); color: var(--mrp-navy); margin-top: 0.6rem; font-weight: 800; line-height: 1.25; }
.mrp-s-109 { color: #64748b; font-size: 0.925rem; line-height: 1.55; margin-top: 0.4rem; }
.mrp-s-110 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.mrp-s-111 { margin-top: 0.6rem; font-size: 1rem; padding: 0.9rem; }

/* ==========================================================================
   ENTERPRISE TRUST & CLIENT LOGO WALL
   ========================================================================== */
.mrp-client-wall-section {
  padding: 4.5rem 0;
  position: relative;
  scroll-margin-top: 5rem;
  background: linear-gradient(180deg, var(--paper, #ffffff) 0%, var(--paper-sunken, #f8fafc) 100%);
}

.mrp-client-wall-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.mrp-badge-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.mrp-client-wall-title {
  font-size: clamp(1.65rem, 1.25rem + 1.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--mrp-navy, var(--fg));
  margin-bottom: 1rem;
}

.mrp-client-wall-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--fg-muted, #64748b);
  max-width: 720px;
  margin: 0 auto;
}

.mrp-client-wall-card {
  background: var(--paper, #ffffff);
  border: 1px solid var(--rule, #e2e8f0);
  border-radius: var(--radius-lg, 14px);
  box-shadow: 0 12px 36px -12px rgba(1, 2, 46, 0.08);
  overflow: hidden;
  position: relative;
}

:root[data-theme="dark"] .mrp-client-wall-card {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.45);
}

.mrp-client-wall-subhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.15rem 1.75rem;
  border-bottom: 1px solid var(--rule, #e2e8f0);
  background: var(--paper-sunken, #f8fafc);
}

:root[data-theme="dark"] .mrp-client-wall-subhead {
  background: rgba(255, 255, 255, 0.03);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mrp-client-wall-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mrp-accent, #3f9cb9);
}

.mrp-client-wall-badge i {
  width: 14px;
  height: 14px;
}

.mrp-client-wall-subtext {
  font-size: 0.85rem;
  color: var(--fg-muted, #64748b);
  font-weight: 500;
}

.mrp-client-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--rule, #e2e8f0);
  gap: 1px;
}

:root[data-theme="dark"] .mrp-client-logo-grid {
  background: rgba(255, 255, 255, 0.08);
}

.mrp-logo-tile {
  background: var(--paper, #ffffff);
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

:root[data-theme="dark"] .mrp-logo-tile {
  background: #f0f4f8; /* Crisp light tile so authentic logo colors pop in both themes */
}

.mrp-logo-tile:hover {
  background: #ffffff;
  z-index: 2;
  box-shadow: inset 0 0 0 1px var(--mrp-accent, #2563eb), 0 4px 16px rgba(1, 2, 46, 0.08);
}

:root[data-theme="dark"] .mrp-logo-tile:hover {
  background: #ffffff;
  z-index: 2;
  box-shadow: inset 0 0 0 1px var(--mrp-accent, #2563eb), 0 4px 16px rgba(0, 0, 0, 0.15);
}

.mrp-logo-tile img {
  height: 2.2rem;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

:root[data-theme="dark"] .mrp-logo-tile img {
  filter: none;
  opacity: 1;
}

.mrp-logo-tile:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

:root[data-theme="dark"] .mrp-logo-tile:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

.mrp-client-erp-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.15rem 1.75rem;
  background: var(--paper-sunken, #f8fafc);
  border-top: 1px solid var(--rule, #e2e8f0);
}

:root[data-theme="dark"] .mrp-client-erp-strip {
  background: rgba(255, 255, 255, 0.03);
  border-top-color: rgba(255, 255, 255, 0.08);
}

.mrp-client-erp-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--mrp-navy, var(--fg));
}

.mrp-client-erp-label i {
  width: 14px;
  height: 14px;
  color: var(--mrp-accent, #3f9cb9);
}

.mrp-client-erp-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.mrp-erp-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  border-radius: 9999px;
  background: var(--paper, #ffffff);
  border: 1px solid var(--rule, #e2e8f0);
  color: var(--fg-muted, #64748b);
  letter-spacing: 0.01em;
}

:root[data-theme="dark"] .mrp-erp-pill {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--fg-muted, #64748b);
}

/* ============================================================================
   PMDG Technologies — Production Planning & MRP Responsive Mobile Styles & Typography
   ========================================================================= */

/* Prevent horizontal overflow on document and containers */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
main, section, .measure {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  .mrp-s-2 {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
  }
  .mrp-grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
  .mrp-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .mrp-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem !important;
  }
  .mrp-client-logo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .mrp-logo-tile {
    padding: 1.25rem 0.9rem !important;
    min-height: 74px !important;
  }
  .mrp-logo-tile img {
    height: 1.85rem !important;
  }
  .mrp-client-wall-subhead {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  /* Hide hero contact form in mobile view */
  #hero-lead-form {
    display: none !important;
  }

  /* Hide business benefits section in mobile view */
  #benefits-section {
    display: none !important;
  }

  /* Hide FAQ accordion column in mobile view, keep consultation form visible */
  .mrp-faq-col,
  #faq-section {
    display: none !important;
  }
  .mrp-consult-col,
  #consultation-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }

  /* Hero Section Spacing */
  .hero-section,
  .mrp-s-1 {
    padding-top: 4.35rem !important;
    padding-bottom: 0.95rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  .mrp-s-2 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 1.15rem !important;
    box-sizing: border-box !important;
  }

  .mrp-s-2 > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Hero Typography & Pills */
  .hero-title,
  .mrp-s-3 {
    font-size: clamp(1.28rem, 1.05rem + 1.25vw, 1.65rem) !important;
    line-height: 1.22 !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.5rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  .hero-copy,
  .mrp-s-5 {
    font-size: 0.85rem !important;
    line-height: 1.48 !important;
    margin-bottom: 0.75rem !important;
    max-width: 100% !important;
  }
  .mrp-hero-badge {
    font-size: 0.68rem !important;
    padding: 0.25rem 0.6rem !important;
    margin-bottom: 0.45rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: left !important;
  }
  .mrp-pills {
    gap: 0.35rem !important;
    margin: 0.5rem 0 0.85rem !important;
  }
  .mrp-pill {
    font-size: 0.72rem !important;
    padding: 0.25rem 0.55rem !important;
  }
  .mrp-pill i {
    width: 13px !important;
    height: 13px !important;
  }

  /* Dashboard Console Mockup */
  .mrp-dashboard-frame {
    border-radius: 10px !important;
    margin-top: 0.75rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mrp-dash-header {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.7rem !important;
  }
  .mrp-s-9 {
    font-size: 0.68rem !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .mrp-s-10 {
    width: 12px !important;
    height: 12px !important;
  }
  .mrp-s-11 {
    font-size: 0.62rem !important;
    padding: 1px 6px !important;
  }
  .mrp-dash-body {
    padding: 0.75rem !important;
  }
  .mrp-alert-badge {
    font-size: 0.74rem !important;
    padding: 0.5rem 0.65rem !important;
    gap: 0.45rem !important;
    line-height: 1.35 !important;
  }
  .mrp-s-12 {
    width: 16px !important;
    height: 16px !important;
  }
  .mrp-s-13 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .mrp-s-14 {
    padding: 0.65rem !important;
  }

  /* Section Spacing & Reduced Padding */
  .section-divider,
  .mrp-s-41,
  .mrp-s-54,
  .mrp-s-97,
  #faq-consultation-section,
  .mrp-client-wall-section {
    padding: 1.25rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* Native ERP Strip — Simplified Horizontal Swipeable Track */
  .mrp-s-27 {
    padding: 0.85rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #erp-strip-section .measure {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .mrp-s-28 {
    gap: 0.5rem !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .mrp-s-29 {
    flex-direction: column !important;
    gap: 0.25rem !important;
    padding: 0 1rem !important;
  }
  .mrp-s-30 {
    font-size: 0.68rem !important;
    padding: 0.18rem 0.55rem !important;
    letter-spacing: 0.04em !important;
  }
  .mrp-s-31 {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
    color: #475569 !important;
  }
  .mrp-s-32 {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: max-content !important;
    box-sizing: border-box !important;
    gap: 0.5rem !important;
  }
  .mrp-s-33 {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    font-size: 0.72rem !important;
    padding: 0.32rem 0.65rem !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid var(--mrp-border) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
  }
  .mrp-s-34 {
    height: 13px !important;
    width: auto !important;
  }
  .mrp-s-35 {
    height: 11px !important;
    width: auto !important;
  }
  .mrp-s-36 {
    height: 12px !important;
    width: auto !important;
  }
  .mrp-s-37,
  .mrp-s-38,
  .mrp-s-39,
  .mrp-s-40 {
    width: 13px !important;
    height: 13px !important;
  }

  /* Section Headings Typography & Margin in Mobile View */
  .annot,
  .mrp-s-43,
  .mrp-s-56,
  .mrp-s-73 {
    font-size: 0.68rem !important;
    padding: 0.2rem 0.55rem !important;
  }
  .mrp-s-44,
  .mrp-s-99,
  .mrp-s-108,
  .mrp-client-wall-title {
    font-size: clamp(1.2rem, 0.98rem + 1.2vw, 1.55rem) !important;
    line-height: 1.22 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.35rem !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }
  .mrp-s-45,
  .mrp-s-100,
  .mrp-s-109,
  .mrp-client-wall-desc {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    margin-top: 0.35rem !important;
    max-width: 100% !important;
  }
  .mrp-s-42,
  .mrp-s-55,
  .mrp-s-98,
  .mrp-client-wall-head {
    margin: 0 auto 0.95rem auto !important;
  }

  /* Card Grids Gap & Stacking in Mobile View */
  .mrp-grid-2,
  .mrp-grid-3,
  .mrp-grid-4,
  .mrp-pain-grid,
  .mrp-cap-grid,
  .mrp-flow-grid,
  .mrp-benefits-grid,
  .mrp-trust-grid,
  .mrp-s-74,
  .mrp-faq-consult-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0.65rem !important;
    margin-top: 0.95rem !important;
    box-sizing: border-box !important;
  }

  /* General Cards Spacing & Reduced Padding */
  .mrp-card {
    padding: 0.55rem 0.7rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    border-radius: 10px !important;
  }
  .mrp-card-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    margin-bottom: 0.35rem !important;
  }
  .mrp-card-icon i,
  .mrp-card-icon svg {
    width: 16px !important;
    height: 16px !important;
  }
  .mrp-s-47,
  .mrp-s-60,
  .mrp-s-78,
  .mrp-s-87 {
    font-size: 0.95rem !important;
    line-height: 1.22 !important;
    margin-bottom: 0.18rem !important;
  }
  .mrp-s-48,
  .mrp-s-61,
  .mrp-s-66,
  .mrp-s-88 {
    font-size: 0.8rem !important;
    line-height: 1.42 !important;
    margin: 0 !important;
  }

  /* Capabilities Cards (Section 3) */
  .mrp-s-57 {
    padding: 0.65rem 0.7rem !important;
  }
  .mrp-s-58 {
    margin-bottom: 0.35rem !important;
  }
  .mrp-s-59 {
    font-size: 0.68rem !important;
    padding: 0.18rem 0.45rem !important;
  }
  .mrp-s-62 {
    gap: 0.3rem !important;
    margin-top: 0.45rem !important;
  }
  .mrp-s-63 {
    font-size: 0.76rem !important;
    gap: 0.3rem !important;
    line-height: 1.35 !important;
  }
  .mrp-s-64 {
    width: 13px !important;
    height: 13px !important;
  }

  /* How It Works / Operational Flow (Section 4) */
  .mrp-s-65,
  .mrp-s-67,
  .mrp-s-69,
  .mrp-s-71 {
    padding: 0.55rem 0.7rem !important;
  }
  .mrp-step-number {
    font-size: 1.35rem !important;
    margin-bottom: 0.2rem !important;
  }

  /* Benefits Cards (Section 5) */
  .mrp-s-75 {
    padding: 0.55rem 0.7rem !important;
  }
  .mrp-s-76 {
    gap: 0.55rem !important;
    align-items: flex-start !important;
  }
  .mrp-s-77,
  .mrp-s-79,
  .mrp-s-80,
  .mrp-s-81,
  .mrp-s-82,
  .mrp-s-83 {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .mrp-s-77 i,
  .mrp-s-79 i,
  .mrp-s-80 i,
  .mrp-s-81 i,
  .mrp-s-82 i,
  .mrp-s-83 i {
    width: 16px !important;
    height: 16px !important;
  }

  /* Trust Cards & CTA Strip (Section 6) */
  .mrp-s-84,
  .mrp-s-89,
  .mrp-s-91 {
    padding: 0.55rem 0.7rem !important;
  }
  .mrp-s-85 {
    gap: 0.4rem !important;
    margin-bottom: 0.25rem !important;
  }
  .mrp-s-86,
  .mrp-s-90,
  .mrp-s-92 {
    width: 17px !important;
    height: 17px !important;
  }
  /* Hide mid-page CTA strip on mobile */
  .mrp-s-93 {
    display: none !important;
  }
  .mrp-s-94 {
    font-size: 1.05rem !important;
    margin-bottom: 0.2rem !important;
  }
  .mrp-s-95 {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .mrp-s-96 {
    width: 100% !important;
    text-align: center !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
    box-sizing: border-box !important;
  }

  /* Bottom Consultation Form in Mobile View */
  .mrp-lead-card.mrp-s-106 {
    padding: 1.15rem 1rem !important;
    border-radius: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .mrp-s-107 {
    margin-bottom: 0.85rem !important;
  }
  .mrp-s-110 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.65rem !important;
  }
  .mrp-input-group {
    margin-bottom: 0.65rem !important;
  }
  .mrp-input-group label {
    font-size: 0.75rem !important;
    margin-bottom: 0.25rem !important;
  }
  .mrp-input-group input,
  .mrp-input-group select,
  .mrp-input-group textarea {
    font-size: 0.82rem !important;
    padding: 0.55rem 0.75rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .mrp-btn-primary.mrp-s-111 {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    box-sizing: border-box !important;
  }
  .mrp-s-25 {
    font-size: 0.7rem !important;
    margin-top: 0.5rem !important;
  }
}

@media (max-width: 600px) {
  .mrp-client-wall-section {
    padding: 2.25rem 0 !important;
  }
  .mrp-client-wall-head {
    margin-bottom: 1.4rem !important;
  }
  .mrp-client-wall-title {
    font-size: 1.22rem !important;
    line-height: 1.28 !important;
    margin-bottom: 0.5rem !important;
  }
  .mrp-client-wall-desc {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }
  .mrp-client-wall-subhead {
    padding: 0.85rem 1rem !important;
    flex-direction: column !important;
    gap: 0.35rem !important;
  }
  .mrp-client-wall-badge {
    font-size: 0.7rem !important;
  }
  .mrp-client-wall-subtext {
    font-size: 0.72rem !important;
  }
  .mrp-client-logo-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .mrp-logo-tile {
    padding: 0.85rem 0.45rem !important;
    min-height: 58px !important;
  }
  .mrp-logo-tile img {
    height: 1.45rem !important;
    max-width: 86% !important;
  }
  .mrp-client-erp-strip {
    padding: 0.75rem 0.85rem !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
  }
  .mrp-client-erp-label {
    font-size: 0.74rem !important;
  }
  .mrp-client-erp-tags {
    justify-content: center !important;
    gap: 0.35rem !important;
  }
  .mrp-erp-pill {
    font-size: 0.65rem !important;
    padding: 0.15rem 0.45rem !important;
  }
}

@media (max-width: 380px) {
  .mrp-hero-badge {
    font-size: 0.62rem !important;
    padding: 0.2rem 0.45rem !important;
    letter-spacing: 0.02em !important;
    max-width: 100% !important;
  }
  .hero-title,
  .mrp-s-3 {
    font-size: clamp(1.1rem, 0.92rem + 1vw, 1.35rem) !important;
    line-height: 1.2 !important;
  }
  .hero-copy,
  .mrp-s-5 {
    font-size: 0.8rem !important;
    line-height: 1.45 !important;
  }
  .mrp-pills {
    gap: 0.25rem !important;
  }
  .mrp-pill {
    padding: 0.2rem 0.45rem !important;
    font-size: 0.65rem !important;
    gap: 0.25rem !important;
  }
  .mrp-pill i {
    width: 11px !important;
    height: 11px !important;
  }
  .mrp-client-logo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .mrp-logo-tile {
    min-height: 52px !important;
  }
  .mrp-logo-tile img {
    height: 1.35rem !important;
  }
}


