.section:has(.why-us-grid) { padding: 20px 0; background: #f9f0f5; margin: 30px 0; } .why-us-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 16px; } .why-us-card { background: var(--card-bg); padding: 20px 16px; border-radius: 12px; border: 1px solid var(--border-soft); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02); text-align: center; display: flex; flex-direction: column; transition: box-shadow 0.15s ease, border-color 0.15s ease; } .why-us-icon { font-size: 38px; margin-bottom: 10px; display: block; line-height: 1; } .why-us-card h3 { font-size: 16px; font-weight: 500; color: var(--text-main); margin: 10px 0 8px 0; } .why-us-card p { font-size: 13px; color: var(--text-soft); line-height: 1.5; margin: 0; } @media (max-width: 900px) { .section:has(.why-us-grid) { padding: 16px 0; } .why-us-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .why-us-card { padding: 16px 12px; } .why-us-icon { font-size: 32px; margin-bottom: 8px; } .why-us-card h3 { font-size: 15px; margin: 8px 0 6px 0; } .why-us-card p { font-size: 12px; } } @media (max-width: 480px) { .section:has(.why-us-grid) { margin: 20px 0; } .why-us-grid { grid-template-columns: 1fr; gap: 12px; } .why-us-card { padding: 14px 10px; } .why-us-icon { font-size: 28px; margin-bottom: 6px; } .why-us-card h3 { font-size: 14px; margin: 6px 0 4px 0; } .why-us-card p { font-size: 11px; line-height: 1.4; } }